LLVM 24.0.0git
llvm::LoongArchSubtarget Class Reference

#include "Target/LoongArch/LoongArchSubtarget.h"

Inheritance diagram for llvm::LoongArchSubtarget:
[legend]

Public Member Functions

 LoongArchSubtarget (const Triple &TT, StringRef CPU, StringRef TuneCPU, StringRef FS, StringRef ABIName, const TargetMachine &TM)
 ~LoongArchSubtarget () override
void ParseSubtargetFeatures (StringRef CPU, StringRef TuneCPU, StringRef FS)
const LoongArchFrameLowering * getFrameLowering () const override
const LoongArchInstrInfo * getInstrInfo () const override
const LoongArchRegisterInfo * getRegisterInfo () const override
const LoongArchTargetLowering * getTargetLowering () const override
const SelectionDAGTargetInfo * getSelectionDAGInfo () const override
bool is64Bit () const
MVT getGRLenVT () const
unsigned getGRLen () const
LoongArchABI::ABI getTargetABI () const
bool isSoftFPABI () const
bool isXRaySupported () const override
Align getPrefFunctionAlignment () const
Align getPrefLoopAlignment () const
unsigned getMaxBytesForAlignment () const
unsigned getMaxInterleaveFactor () const
unsigned getPrefetchDistance () const override
unsigned getMinPrefetchStride (unsigned NumMemAccesses, unsigned NumStridedMemAccesses, unsigned NumPrefetches, bool HasCall) const override
unsigned getMaxPrefetchIterationsAhead () const override
bool enableWritePrefetching () const override
bool enableMachineScheduler () const override
bool useAA () const override

Detailed Description

Definition at line 31 of file LoongArchSubtarget.h.

Constructor & Destructor Documentation

◆ LoongArchSubtarget()

LoongArchSubtarget::LoongArchSubtarget ( const Triple & TT,
StringRef CPU,
StringRef TuneCPU,
StringRef FS,
StringRef ABIName,
const TargetMachine & TM )

Definition at line 105 of file LoongArchSubtarget.cpp.

◆ ~LoongArchSubtarget()

LoongArchSubtarget::~LoongArchSubtarget ( )
overridedefault

Member Function Documentation

◆ enableMachineScheduler()

bool llvm::LoongArchSubtarget::enableMachineScheduler ( ) const
inlineoverride

Definition at line 123 of file LoongArchSubtarget.h.

◆ enableWritePrefetching()

bool llvm::LoongArchSubtarget::enableWritePrefetching ( ) const
inlineoverride

Definition at line 122 of file LoongArchSubtarget.h.

◆ getFrameLowering()

const LoongArchFrameLowering * llvm::LoongArchSubtarget::getFrameLowering ( ) const
inlineoverride

Definition at line 82 of file LoongArchSubtarget.h.

Referenced by emitStackProbeInline().

◆ getGRLen()

unsigned llvm::LoongArchSubtarget::getGRLen ( ) const
inline

Definition at line 101 of file LoongArchSubtarget.h.

◆ getGRLenVT()

MVT llvm::LoongArchSubtarget::getGRLenVT ( ) const
inline

Definition at line 100 of file LoongArchSubtarget.h.

◆ getInstrInfo()

const LoongArchInstrInfo * llvm::LoongArchSubtarget::getInstrInfo ( ) const
inlineoverride

◆ getMaxBytesForAlignment()

unsigned llvm::LoongArchSubtarget::getMaxBytesForAlignment ( ) const
inline

Definition at line 110 of file LoongArchSubtarget.h.

◆ getMaxInterleaveFactor()

unsigned llvm::LoongArchSubtarget::getMaxInterleaveFactor ( ) const
inline

Definition at line 111 of file LoongArchSubtarget.h.

◆ getMaxPrefetchIterationsAhead()

unsigned llvm::LoongArchSubtarget::getMaxPrefetchIterationsAhead ( ) const
inlineoverride

Definition at line 119 of file LoongArchSubtarget.h.

◆ getMinPrefetchStride()

unsigned llvm::LoongArchSubtarget::getMinPrefetchStride ( unsigned NumMemAccesses,
unsigned NumStridedMemAccesses,
unsigned NumPrefetches,
bool HasCall ) const
inlineoverride

Definition at line 113 of file LoongArchSubtarget.h.

◆ getPrefetchDistance()

unsigned llvm::LoongArchSubtarget::getPrefetchDistance ( ) const
inlineoverride

Definition at line 112 of file LoongArchSubtarget.h.

◆ getPrefFunctionAlignment()

Align llvm::LoongArchSubtarget::getPrefFunctionAlignment ( ) const
inline

Definition at line 108 of file LoongArchSubtarget.h.

◆ getPrefLoopAlignment()

Align llvm::LoongArchSubtarget::getPrefLoopAlignment ( ) const
inline

Definition at line 109 of file LoongArchSubtarget.h.

◆ getRegisterInfo()

const LoongArchRegisterInfo * llvm::LoongArchSubtarget::getRegisterInfo ( ) const
inlineoverride

Definition at line 86 of file LoongArchSubtarget.h.

◆ getSelectionDAGInfo()

const SelectionDAGTargetInfo * LoongArchSubtarget::getSelectionDAGInfo ( ) const
override

Definition at line 118 of file LoongArchSubtarget.cpp.

◆ getTargetABI()

LoongArchABI::ABI llvm::LoongArchSubtarget::getTargetABI ( ) const
inline

Definition at line 102 of file LoongArchSubtarget.h.

◆ getTargetLowering()

const LoongArchTargetLowering * llvm::LoongArchSubtarget::getTargetLowering ( ) const
inlineoverride

Definition at line 89 of file LoongArchSubtarget.h.

Referenced by emitStackProbeInline().

◆ is64Bit()

bool llvm::LoongArchSubtarget::is64Bit ( ) const
inline

◆ isSoftFPABI()

bool llvm::LoongArchSubtarget::isSoftFPABI ( ) const
inline

◆ isXRaySupported()

bool llvm::LoongArchSubtarget::isXRaySupported ( ) const
inlineoverride

Definition at line 107 of file LoongArchSubtarget.h.

References is64Bit().

◆ ParseSubtargetFeatures()

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

◆ useAA()

bool LoongArchSubtarget::useAA ( ) const
override

Definition at line 33 of file LoongArchSubtarget.cpp.

References UseAA.


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