LLVM  8.0.1
Functions | Variables
BPFTargetMachine.cpp File Reference
#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"
Include dependency graph for BPFTargetMachine.cpp:

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< boolDisableMIPeephole ("disable-bpf-peephole", cl::Hidden, cl::desc("Disable machine peepholes for BPF"))
 

Function Documentation

◆ computeDataLayout()

static std::string computeDataLayout ( const Triple TT)
static

Definition at line 41 of file BPFTargetMachine.cpp.

References llvm::Triple::bpfeb, and llvm::Triple::getArch().

◆ getEffectiveRelocModel()

static Reloc::Model getEffectiveRelocModel ( Optional< Reloc::Model RM)
static

◆ LLVMInitializeBPFTarget()

void LLVMInitializeBPFTarget ( )

Variable Documentation

◆ DisableMIPeephole

cl:: opt<bool> DisableMIPeephole("disable-bpf-peephole", cl::Hidden, cl::desc("Disable machine peepholes for BPF"))
static