LLVM 20.0.0git
|
#include "BPFTargetMachine.h"
#include "BPF.h"
#include "BPFTargetTransformInfo.h"
#include "MCTargetDesc/BPFMCAsmInfo.h"
#include "TargetInfo/BPFTargetInfo.h"
#include "llvm/CodeGen/GlobalISel/IRTranslator.h"
#include "llvm/CodeGen/GlobalISel/InstructionSelect.h"
#include "llvm/CodeGen/GlobalISel/Legalizer.h"
#include "llvm/CodeGen/GlobalISel/RegBankSelect.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
#include "llvm/CodeGen/TargetPassConfig.h"
#include "llvm/IR/PassManager.h"
#include "llvm/InitializePasses.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Passes/PassBuilder.h"
#include "llvm/Support/FormattedStream.h"
#include "llvm/Target/TargetOptions.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/Scalar/SimplifyCFG.h"
#include "llvm/Transforms/Utils/SimplifyCFGOptions.h"
#include <optional>
#include "llvm/Passes/TargetPassRegistry.inc"
Go to the source code of this file.
Macros | |
#define | GET_PASS_REGISTRY "BPFPassRegistry.def" |
Functions | |
LLVM_EXTERNAL_VISIBILITY void | LLVMInitializeBPFTarget () |
static std::string | computeDataLayout (const Triple &TT) |
static Reloc::Model | getEffectiveRelocModel (std::optional< Reloc::Model > RM) |
static Expected< bool > | parseBPFPreserveStaticOffsetOptions (StringRef Params) |
Variables | |
static cl::opt< bool > | DisableMIPeephole ("disable-bpf-peephole", cl::Hidden, cl::desc("Disable machine peepholes for BPF")) |
#define GET_PASS_REGISTRY "BPFPassRegistry.def" |
Definition at line 55 of file BPFTargetMachine.cpp.
References llvm::Triple::bpfeb.
|
static |
Definition at line 62 of file BPFTargetMachine.cpp.
References llvm::Reloc::PIC_.
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeBPFTarget | ( | ) |
Definition at line 41 of file BPFTargetMachine.cpp.
References llvm::PassRegistry::getPassRegistry(), llvm::getTheBPFbeTarget(), llvm::getTheBPFleTarget(), llvm::getTheBPFTarget(), llvm::initializeBPFCheckAndAdjustIRPass(), llvm::initializeBPFDAGToDAGISelLegacyPass(), llvm::initializeBPFMIPeepholePass(), llvm::initializeGlobalISel(), X, and Y.
Definition at line 111 of file BPFTargetMachine.cpp.
References llvm::PassBuilder::parseSinglePassOption().