LLVM  15.0.0git
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
Collaboration diagram for llvm::BPFSubtarget:
Collaboration graph

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 TuneCPU, StringRef FS)
bool getHasJmpExt () const
bool getHasJmp32 () const
bool getHasAlu32 () const
bool getUseDwarfRIS () const
const BPFInstrInfogetInstrInfo () const override
const BPFFrameLoweringgetFrameLowering () const override
const BPFTargetLoweringgetTargetLowering () const override
const BPFSelectionDAGInfogetSelectionDAGInfo () const override
const TargetRegisterInfogetRegisterInfo () const override

Protected Attributes

bool isDummyMode
bool HasJmpExt
bool HasJmp32
bool HasAlu32
bool UseDwarfRIS

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 60 of file BPFSubtarget.cpp.

Member Function Documentation

◆ getFrameLowering()

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

Definition at line 77 of file BPFSubtarget.h.

◆ getHasAlu32()

bool llvm::BPFSubtarget::getHasAlu32 ( ) const

Definition at line 73 of file BPFSubtarget.h.

References HasAlu32.

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

◆ getHasJmp32()

bool llvm::BPFSubtarget::getHasJmp32 ( ) const

Definition at line 72 of file BPFSubtarget.h.

References HasJmp32.

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

◆ getHasJmpExt()

bool llvm::BPFSubtarget::getHasJmpExt ( ) const

Definition at line 71 of file BPFSubtarget.h.

References HasJmpExt.

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

◆ getInstrInfo()

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

Definition at line 76 of file BPFSubtarget.h.

◆ getRegisterInfo()

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

◆ getSelectionDAGInfo()

const BPFSelectionDAGInfo* llvm::BPFSubtarget::getSelectionDAGInfo ( ) const

Definition at line 83 of file BPFSubtarget.h.

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

◆ getTargetLowering()

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

Definition at line 80 of file BPFSubtarget.h.

◆ getUseDwarfRIS()

bool llvm::BPFSubtarget::getUseDwarfRIS ( ) const

Definition at line 74 of file BPFSubtarget.h.

References UseDwarfRIS.

Referenced by llvm::BPFTargetMachine::BPFTargetMachine().

◆ initializeSubtargetDependencies()

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

Definition at line 28 of file BPFSubtarget.cpp.

References llvm::X86AS::FS, and ParseSubtargetFeatures().

◆ ParseSubtargetFeatures()

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

Member Data Documentation

◆ HasAlu32

bool llvm::BPFSubtarget::HasAlu32

Definition at line 55 of file BPFSubtarget.h.

Referenced by getHasAlu32().

◆ HasJmp32

bool llvm::BPFSubtarget::HasJmp32

Definition at line 52 of file BPFSubtarget.h.

Referenced by getHasJmp32().

◆ HasJmpExt

bool llvm::BPFSubtarget::HasJmpExt

Definition at line 48 of file BPFSubtarget.h.

Referenced by getHasJmpExt().

◆ isDummyMode

bool llvm::BPFSubtarget::isDummyMode

Definition at line 45 of file BPFSubtarget.h.

◆ UseDwarfRIS

bool llvm::BPFSubtarget::UseDwarfRIS

Definition at line 58 of file BPFSubtarget.h.

Referenced by getUseDwarfRIS().

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