LLVM
8.0.1
|
#include "BPFTargetMachine.h"
#include "BPF.h"
#include "MCTargetDesc/BPFMCAsmInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
#include "llvm/CodeGen/TargetPassConfig.h"
#include "llvm/IR/LegacyPassManager.h"
#include "llvm/Support/FormattedStream.h"
#include "llvm/Support/TargetRegistry.h"
#include "llvm/Target/TargetOptions.h"
Go to the source code of this file.
Functions | |
void | LLVMInitializeBPFTarget () |
static std::string | computeDataLayout (const Triple &TT) |
static Reloc::Model | getEffectiveRelocModel (Optional< Reloc::Model > RM) |
Variables | |
static cl::opt< bool > | DisableMIPeephole ("disable-bpf-peephole", cl::Hidden, cl::desc("Disable machine peepholes for BPF")) |
Definition at line 41 of file BPFTargetMachine.cpp.
References llvm::Triple::bpfeb, and llvm::Triple::getArch().
|
static |
Definition at line 48 of file BPFTargetMachine.cpp.
References llvm::Optional< T >::hasValue(), llvm::Reloc::PIC_, and llvm::NVPTX::PTXCvtMode::RM.
void LLVMInitializeBPFTarget | ( | ) |
Definition at line 30 of file BPFTargetMachine.cpp.
References llvm::PassRegistry::getPassRegistry(), llvm::getTheBPFbeTarget(), llvm::getTheBPFleTarget(), llvm::getTheBPFTarget(), llvm::initializeBPFMIPeepholePass(), X, and Y.
|
static |
Referenced by llvm::BPFTargetMachine::createPassConfig().