LLVM 22.0.0git
llvm::BPFSubtarget Class Reference

#include "Target/BPF/BPFSubtarget.h"

Inheritance diagram for llvm::BPFSubtarget:
[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 TuneCPU, StringRef FS)
bool getHasJmpExt () const
bool getHasJmp32 () const
bool getHasAlu32 () const
bool getUseDwarfRIS () const
bool hasLdsx () const
bool hasMovsx () const
bool hasBswap () const
bool hasSdivSmod () const
bool hasGotol () const
bool hasStoreImm () const
bool hasLoadAcqStoreRel () const
bool hasGotox () const
bool isLittleEndian () const
const BPFInstrInfogetInstrInfo () const override
const BPFFrameLoweringgetFrameLowering () const override
const BPFTargetLoweringgetTargetLowering () const override
const BPFSelectionDAGInfogetSelectionDAGInfo () const override
const BPFRegisterInfogetRegisterInfo () const override
const CallLoweringgetCallLowering () const override
InstructionSelectorgetInstructionSelector () const override
const LegalizerInfogetLegalizerInfo () const override
const RegisterBankInfogetRegBankInfo () const override

Protected Attributes

bool isDummyMode
bool IsLittleEndian
bool HasJmpExt
bool HasJmp32
bool HasAlu32
bool UseDwarfRIS
bool HasLdsx
bool HasMovsx
bool HasBswap
bool HasSdivSmod
bool HasGotol
bool HasStoreImm
bool HasLoadAcqStoreRel
bool HasGotox
std::unique_ptr< CallLoweringCallLoweringInfo
std::unique_ptr< InstructionSelectorInstSelector
std::unique_ptr< LegalizerInfoLegalizer
std::unique_ptr< RegisterBankInfoRegBankInfo

Detailed Description

Definition at line 36 of file BPFSubtarget.h.

Constructor & Destructor Documentation

◆ BPFSubtarget()

Member Function Documentation

◆ getCallLowering()

const CallLowering * BPFSubtarget::getCallLowering ( ) const
override

Definition at line 123 of file BPFSubtarget.cpp.

References CallLoweringInfo.

◆ getFrameLowering()

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

Definition at line 102 of file BPFSubtarget.h.

◆ getHasAlu32()

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

Definition at line 88 of file BPFSubtarget.h.

References HasAlu32.

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

◆ getHasJmp32()

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

Definition at line 87 of file BPFSubtarget.h.

References HasJmp32.

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

◆ getHasJmpExt()

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

Definition at line 86 of file BPFSubtarget.h.

References HasJmpExt.

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

◆ getInstrInfo()

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

Definition at line 101 of file BPFSubtarget.h.

◆ getInstructionSelector()

InstructionSelector * BPFSubtarget::getInstructionSelector ( ) const
override

Definition at line 127 of file BPFSubtarget.cpp.

References InstSelector.

◆ getLegalizerInfo()

const LegalizerInfo * BPFSubtarget::getLegalizerInfo ( ) const
override

Definition at line 131 of file BPFSubtarget.cpp.

References Legalizer.

◆ getRegBankInfo()

const RegisterBankInfo * BPFSubtarget::getRegBankInfo ( ) const
override

Definition at line 135 of file BPFSubtarget.cpp.

References RegBankInfo.

◆ getRegisterInfo()

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

Definition at line 111 of file BPFSubtarget.h.

Referenced by BPFSubtarget(), and llvm::BPFTargetLowering::BPFTargetLowering().

◆ getSelectionDAGInfo()

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

Definition at line 108 of file BPFSubtarget.h.

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

◆ getTargetLowering()

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

Definition at line 105 of file BPFSubtarget.h.

Referenced by BPFSubtarget().

◆ getUseDwarfRIS()

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

Definition at line 89 of file BPFSubtarget.h.

References UseDwarfRIS.

◆ hasBswap()

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

Definition at line 92 of file BPFSubtarget.h.

References HasBswap.

◆ hasGotol()

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

Definition at line 94 of file BPFSubtarget.h.

References HasGotol.

◆ hasGotox()

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

◆ hasLdsx()

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

Definition at line 90 of file BPFSubtarget.h.

References HasLdsx.

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

◆ hasLoadAcqStoreRel()

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

Definition at line 96 of file BPFSubtarget.h.

References HasLoadAcqStoreRel.

◆ hasMovsx()

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

Definition at line 91 of file BPFSubtarget.h.

References HasMovsx.

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

◆ hasSdivSmod()

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

Definition at line 93 of file BPFSubtarget.h.

References HasSdivSmod.

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

◆ hasStoreImm()

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

Definition at line 95 of file BPFSubtarget.h.

References HasStoreImm.

◆ initializeSubtargetDependencies()

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

Definition at line 51 of file BPFSubtarget.cpp.

References BPFSubtarget(), and ParseSubtargetFeatures().

Referenced by BPFSubtarget().

◆ isLittleEndian()

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

Definition at line 99 of file BPFSubtarget.h.

References IsLittleEndian.

◆ ParseSubtargetFeatures()

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

Member Data Documentation

◆ CallLoweringInfo

std::unique_ptr<CallLowering> llvm::BPFSubtarget::CallLoweringInfo
protected

Definition at line 70 of file BPFSubtarget.h.

Referenced by BPFSubtarget(), and getCallLowering().

◆ HasAlu32

bool llvm::BPFSubtarget::HasAlu32
protected

Definition at line 61 of file BPFSubtarget.h.

Referenced by getHasAlu32().

◆ HasBswap

bool llvm::BPFSubtarget::HasBswap
protected

Definition at line 67 of file BPFSubtarget.h.

Referenced by hasBswap().

◆ HasGotol

bool llvm::BPFSubtarget::HasGotol
protected

Definition at line 67 of file BPFSubtarget.h.

Referenced by hasGotol().

◆ HasGotox

bool llvm::BPFSubtarget::HasGotox
protected

Definition at line 68 of file BPFSubtarget.h.

Referenced by hasGotox().

◆ HasJmp32

bool llvm::BPFSubtarget::HasJmp32
protected

Definition at line 58 of file BPFSubtarget.h.

Referenced by getHasJmp32().

◆ HasJmpExt

bool llvm::BPFSubtarget::HasJmpExt
protected

Definition at line 54 of file BPFSubtarget.h.

Referenced by getHasJmpExt().

◆ HasLdsx

bool llvm::BPFSubtarget::HasLdsx
protected

Definition at line 67 of file BPFSubtarget.h.

Referenced by hasLdsx().

◆ HasLoadAcqStoreRel

bool llvm::BPFSubtarget::HasLoadAcqStoreRel
protected

Definition at line 68 of file BPFSubtarget.h.

Referenced by hasLoadAcqStoreRel().

◆ HasMovsx

bool llvm::BPFSubtarget::HasMovsx
protected

Definition at line 67 of file BPFSubtarget.h.

Referenced by hasMovsx().

◆ HasSdivSmod

bool llvm::BPFSubtarget::HasSdivSmod
protected

Definition at line 67 of file BPFSubtarget.h.

Referenced by hasSdivSmod().

◆ HasStoreImm

bool llvm::BPFSubtarget::HasStoreImm
protected

Definition at line 67 of file BPFSubtarget.h.

Referenced by hasStoreImm().

◆ InstSelector

std::unique_ptr<InstructionSelector> llvm::BPFSubtarget::InstSelector
protected

Definition at line 71 of file BPFSubtarget.h.

Referenced by BPFSubtarget(), and getInstructionSelector().

◆ isDummyMode

bool llvm::BPFSubtarget::isDummyMode
protected

Definition at line 49 of file BPFSubtarget.h.

◆ IsLittleEndian

bool llvm::BPFSubtarget::IsLittleEndian
protected

Definition at line 51 of file BPFSubtarget.h.

Referenced by BPFSubtarget(), and isLittleEndian().

◆ Legalizer

std::unique_ptr<LegalizerInfo> llvm::BPFSubtarget::Legalizer
protected

Definition at line 72 of file BPFSubtarget.h.

Referenced by BPFSubtarget(), and getLegalizerInfo().

◆ RegBankInfo

std::unique_ptr<RegisterBankInfo> llvm::BPFSubtarget::RegBankInfo
protected

Definition at line 73 of file BPFSubtarget.h.

Referenced by BPFSubtarget(), and getRegBankInfo().

◆ UseDwarfRIS

bool llvm::BPFSubtarget::UseDwarfRIS
protected

Definition at line 64 of file BPFSubtarget.h.

Referenced by getUseDwarfRIS().


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