LLVM  6.0.0svn
Public Member Functions | Protected Attributes | List of all members
llvm::BPFSubtarget Class Reference

#include "Target/BPF/BPFSubtarget.h"

Inheritance diagram for llvm::BPFSubtarget:
Inheritance graph
[legend]
Collaboration diagram for llvm::BPFSubtarget:
Collaboration graph
[legend]

Public Member Functions

 BPFSubtarget (const Triple &TT, const std::string &CPU, const std::string &FS, const TargetMachine &TM)
 
BPFSubtargetinitializeSubtargetDependencies (StringRef CPU, StringRef FS)
 
void ParseSubtargetFeatures (StringRef CPU, StringRef FS)
 
bool getHasJmpExt () const
 
const BPFInstrInfogetInstrInfo () const override
 
const BPFFrameLoweringgetFrameLowering () const override
 
const BPFTargetLoweringgetTargetLowering () const override
 
const SelectionDAGTargetInfogetSelectionDAGInfo () const override
 
const TargetRegisterInfogetRegisterInfo () const override
 

Protected Attributes

bool isDummyMode
 
bool HasJmpExt
 

Detailed Description

Definition at line 31 of file BPFSubtarget.h.

Constructor & Destructor Documentation

◆ BPFSubtarget()

BPFSubtarget::BPFSubtarget ( const Triple TT,
const std::string &  CPU,
const std::string &  FS,
const TargetMachine TM 
)

Definition at line 51 of file BPFSubtarget.cpp.

Member Function Documentation

◆ getFrameLowering()

const BPFFrameLowering* llvm::BPFSubtarget::getFrameLowering ( ) const
inlineoverride

Definition at line 64 of file BPFSubtarget.h.

◆ getHasJmpExt()

bool llvm::BPFSubtarget::getHasJmpExt ( ) const
inline

Definition at line 61 of file BPFSubtarget.h.

References HasJmpExt.

Referenced by llvm::BPFTargetLowering::BPFTargetLowering().

◆ getInstrInfo()

const BPFInstrInfo* llvm::BPFSubtarget::getInstrInfo ( ) const
inlineoverride

Definition at line 63 of file BPFSubtarget.h.

◆ getRegisterInfo()

const TargetRegisterInfo* llvm::BPFSubtarget::getRegisterInfo ( ) const
inlineoverride

◆ getSelectionDAGInfo()

const SelectionDAGTargetInfo* llvm::BPFSubtarget::getSelectionDAGInfo ( ) const
inlineoverride

Definition at line 70 of file BPFSubtarget.h.

◆ getTargetLowering()

const BPFTargetLowering* llvm::BPFSubtarget::getTargetLowering ( ) const
inlineoverride

Definition at line 67 of file BPFSubtarget.h.

◆ initializeSubtargetDependencies()

BPFSubtarget & BPFSubtarget::initializeSubtargetDependencies ( StringRef  CPU,
StringRef  FS 
)

Definition at line 29 of file BPFSubtarget.cpp.

References llvm::sys::detail::getHostCPUNameForBPF(), and HasJmpExt.

◆ ParseSubtargetFeatures()

void llvm::BPFSubtarget::ParseSubtargetFeatures ( StringRef  CPU,
StringRef  FS 
)

Member Data Documentation

◆ HasJmpExt

bool llvm::BPFSubtarget::HasJmpExt
protected

Definition at line 48 of file BPFSubtarget.h.

Referenced by getHasJmpExt(), and initializeSubtargetDependencies().

◆ isDummyMode

bool llvm::BPFSubtarget::isDummyMode
protected

Definition at line 45 of file BPFSubtarget.h.


The documentation for this class was generated from the following files: