Go to the documentation of this file.
9 #ifndef LLVM_LIB_TARGET_BPF_BPF_H
10 #define LLVM_LIB_TARGET_BPF_BPF_H
18 class BPFTargetMachine;
A set of analyses that are preserved following a run of a transformation pass.
void initializeBPFIRPeepholePass(PassRegistry &)
This is an optimization pass for GlobalISel generic memory operations.
We currently emits eax Perhaps this is what we really should generate is Is imull three or four cycles eax eax The current instruction priority is based on pattern complexity The former is more complex because it folds a load so the latter will not be emitted Perhaps we should use AddedComplexity to give LEA32r a higher priority We should always try to match LEA first since the LEA matching code does some estimate to determine whether the match is profitable if we care more about code then imull is better It s two bytes shorter than movl leal On a Pentium M
ModulePass * createBPFCheckAndAdjustIR()
PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM)
A CRTP mix-in to automatically provide informational APIs needed for passes.
void initializeBPFAbstractMemberAccessLegacyPassPass(PassRegistry &)
FunctionPass * createBPFMIPeepholeTruncElimPass()
FunctionPass * createBPFPreserveDIType()
FunctionPass * createBPFMIPreEmitPeepholePass()
ModulePass * createBPFAdjustOpt()
void initializeBPFAdjustOptPass(PassRegistry &)
FunctionPass * createBPFMIPreEmitCheckingPass()
void initializeBPFDAGToDAGISelPass(PassRegistry &)
void initializeBPFMIPeepholePass(PassRegistry &)
PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM)
void initializeBPFPreserveDITypePass(PassRegistry &)
void initializeBPFMISimplifyPatchablePass(PassRegistry &)
void initializeBPFMIPreEmitCheckingPass(PassRegistry &)
void initializeBPFCheckAndAdjustIRPass(PassRegistry &)
A Module instance is used to store all the information related to an LLVM module.
FunctionPass * createBPFISelDag(BPFTargetMachine &TM)
FunctionPass * createBPFMISimplifyPatchablePass()
FunctionPass * createBPFAbstractMemberAccess(BPFTargetMachine *TM)
FunctionPass * createBPFMIPeepholePass()
void initializeBPFMIPeepholeTruncElimPass(PassRegistry &)
PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM)
FunctionPass * createBPFIRPeephole()
PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM)
A container for analyses that lazily runs them and caches their results.
const char LLVMTargetMachineRef TM
void initializeBPFMIPreEmitPeepholePass(PassRegistry &)
BPFAbstractMemberAccessPass(BPFTargetMachine *TM)