Go to the documentation of this file.
13 #ifndef LLVM_LIB_TARGET_BPF_BPFTARGETMACHINE_H
14 #define LLVM_LIB_TARGET_BPF_BPFTARGETMACHINE_H
21 std::unique_ptr<TargetLoweringObjectFile> TLOF;
This is an optimization pass for GlobalISel generic memory operations.
Target - Wrapper for Target specific information.
TargetPassConfig * createPassConfig(PassManagerBase &PM) override
Create a pass configuration object to be used by addPassToEmitX methods for generating a pipeline of ...
Triple - Helper class for working with autoconf configuration names.
const BPFSubtarget * getSubtargetImpl(const Function &) const override
Virtual method implemented by subclasses that returns a reference to that target's TargetSubtargetInf...
void registerPassBuilderCallbacks(PassBuilder &PB) override
Allow the target to modify the pass pipeline with New Pass Manager (similar to adjustPassManager for ...
const BPFSubtarget * getSubtargetImpl() const
This class provides access to building LLVM's passes.
PassManagerBuilder - This class is used to set up a standard optimization sequence for languages like...
PassBuilder PB(Machine, PassOpts->PTO, None, &PIC)
Target-Independent Code Generator Pass Configuration Options.
TargetLoweringObjectFile * getObjFileLowering() const override
StringRef - Represent a constant reference to a string, i.e.
void adjustPassManager(PassManagerBuilder &) override
Allow the target to modify the pass manager, e.g.
This class describes a target machine that is implemented with the LLVM target-independent code gener...
BPFTargetMachine(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Optional< Reloc::Model > RM, Optional< CodeModel::Model > CM, CodeGenOpt::Level OL, bool JIT)
PassManagerBase - An abstract interface to allow code to add passes to a pass manager without having ...
TargetTransformInfo getTargetTransformInfo(const Function &F) const override
Get a TargetTransformInfo implementation for the target.