LLVM
8.0.1
|
#include "Target/BPF/BPFSubtarget.h"
Public Member Functions | |
BPFSubtarget (const Triple &TT, const std::string &CPU, const std::string &FS, const TargetMachine &TM) | |
BPFSubtarget & | initializeSubtargetDependencies (StringRef CPU, StringRef FS) |
void | ParseSubtargetFeatures (StringRef CPU, StringRef FS) |
bool | getHasJmpExt () const |
bool | getHasAlu32 () const |
bool | getUseDwarfRIS () const |
const BPFInstrInfo * | getInstrInfo () const override |
const BPFFrameLowering * | getFrameLowering () const override |
const BPFTargetLowering * | getTargetLowering () const override |
const BPFSelectionDAGInfo * | getSelectionDAGInfo () const override |
const TargetRegisterInfo * | getRegisterInfo () const override |
Protected Attributes | |
bool | isDummyMode |
bool | HasJmpExt |
bool | HasAlu32 |
bool | UseDwarfRIS |
Definition at line 32 of file BPFSubtarget.h.
BPFSubtarget::BPFSubtarget | ( | const Triple & | TT, |
const std::string & | CPU, | ||
const std::string & | FS, | ||
const TargetMachine & | TM | ||
) |
Definition at line 54 of file BPFSubtarget.cpp.
|
inlineoverride |
Definition at line 73 of file BPFSubtarget.h.
|
inline |
Definition at line 69 of file BPFSubtarget.h.
References HasAlu32.
Referenced by llvm::BPFTargetLowering::BPFTargetLowering(), and llvm::BPFTargetMachine::createPassConfig().
|
inline |
Definition at line 68 of file BPFSubtarget.h.
References HasJmpExt.
Referenced by llvm::BPFTargetLowering::BPFTargetLowering().
|
inlineoverride |
Definition at line 72 of file BPFSubtarget.h.
|
inlineoverride |
Definition at line 82 of file BPFSubtarget.h.
References llvm::BPFInstrInfo::getRegisterInfo().
Referenced by llvm::BPFTargetLowering::BPFTargetLowering().
|
inlineoverride |
Definition at line 79 of file BPFSubtarget.h.
Referenced by llvm::BPFTargetLowering::BPFTargetLowering().
|
inlineoverride |
Definition at line 76 of file BPFSubtarget.h.
|
inline |
Definition at line 70 of file BPFSubtarget.h.
References UseDwarfRIS.
Referenced by llvm::BPFTargetMachine::BPFTargetMachine().
BPFSubtarget & BPFSubtarget::initializeSubtargetDependencies | ( | StringRef | CPU, |
StringRef | FS | ||
) |
Definition at line 29 of file BPFSubtarget.cpp.
References llvm::sys::detail::getHostCPUNameForBPF(), HasAlu32, HasJmpExt, ParseSubtargetFeatures(), and UseDwarfRIS.
Referenced by initializeSubtargetDependencies().
|
protected |
Definition at line 52 of file BPFSubtarget.h.
Referenced by getHasAlu32(), and initializeSubtargetDependencies().
|
protected |
Definition at line 49 of file BPFSubtarget.h.
Referenced by getHasJmpExt(), and initializeSubtargetDependencies().
|
protected |
Definition at line 46 of file BPFSubtarget.h.
|
protected |
Definition at line 55 of file BPFSubtarget.h.
Referenced by getUseDwarfRIS(), and initializeSubtargetDependencies().