LLVM  13.0.0git
Macros | Functions | Variables
BPFAdjustOpt.cpp File Reference
#include "BPF.h"
#include "BPFCORE.h"
#include "BPFTargetMachine.h"
#include "llvm/IR/Instruction.h"
#include "llvm/IR/Instructions.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"
Include dependency graph for BPFAdjustOpt.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "bpf-adjust-opt"
 

Functions

 INITIALIZE_PASS (BPFAdjustOpt, "bpf-adjust-opt", "BPF Adjust Optimization", false, false) ModulePass *llvm
 

Variables

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

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( BPFAdjustOpt  ,
"bpf-adjust-opt ,
"BPF Adjust Optimization ,
false  ,
false   
)

Definition at line 80 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))
static

◆ DisableBPFserializeICMP

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