LLVM 22.0.0git
BPFAdjustOpt.cpp File Reference
#include "BPF.h"
#include "BPFCORE.h"
#include "llvm/IR/Instruction.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/IntrinsicsBPF.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/PatternMatch.h"
#include "llvm/IR/Type.h"
#include "llvm/IR/User.h"
#include "llvm/IR/Value.h"
#include "llvm/Pass.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "bpf-adjust-opt"

Variables

static cl::opt< boolDisableBPFserializeICMP ("bpf-disable-serialize-icmp", cl::Hidden, cl::desc("BPF: Disable Serializing ICMP insns."), cl::init(false))
static cl::opt< boolDisableBPFavoidSpeculation ("bpf-disable-avoid-speculation", cl::Hidden, cl::desc("BPF: Disable Avoiding Speculative Code Motion."), cl::init(false))

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "bpf-adjust-opt"

Definition at line 26 of file BPFAdjustOpt.cpp.

Variable Documentation

◆ DisableBPFavoidSpeculation

cl::opt< bool > DisableBPFavoidSpeculation("bpf-disable-avoid-speculation", cl::Hidden, cl::desc("BPF: Disable Avoiding Speculative Code Motion."), cl::init(false)) ( "bpf-disable-avoid-speculation" ,
cl::Hidden ,
cl::desc("BPF: Disable Avoiding Speculative Code Motion.") ,
cl::init(false)  )
static

◆ DisableBPFserializeICMP

cl::opt< bool > DisableBPFserializeICMP("bpf-disable-serialize-icmp", cl::Hidden, cl::desc("BPF: Disable Serializing ICMP insns."), cl::init(false)) ( "bpf-disable-serialize-icmp" ,
cl::Hidden ,
cl::desc("BPF: Disable Serializing ICMP insns.") ,
cl::init(false)  )
static