LLVM 19.0.0git
Public Member Functions | List of all members
llvm::LoongArchSubtarget Class Reference

#include "Target/LoongArch/LoongArchSubtarget.h"

Inheritance diagram for llvm::LoongArchSubtarget:
Inheritance graph
[legend]

Public Member Functions

 LoongArchSubtarget (const Triple &TT, StringRef CPU, StringRef TuneCPU, StringRef FS, StringRef ABIName, const TargetMachine &TM)
 
void ParseSubtargetFeatures (StringRef CPU, StringRef TuneCPU, StringRef FS)
 
const LoongArchFrameLoweringgetFrameLowering () const override
 
const LoongArchInstrInfogetInstrInfo () const override
 
const LoongArchRegisterInfogetRegisterInfo () const override
 
const LoongArchTargetLoweringgetTargetLowering () const override
 
const SelectionDAGTargetInfogetSelectionDAGInfo () const override
 
bool is64Bit () const
 
bool hasBasicF () const
 
bool hasBasicD () const
 
bool hasExtLSX () const
 
bool hasExtLASX () const
 
bool hasExtLVZ () const
 
bool hasExtLBT () const
 
bool hasLaGlobalWithPcrel () const
 
bool hasLaGlobalWithAbs () const
 
bool hasLaLocalWithAbs () const
 
bool hasUAL () const
 
bool hasLinkerRelax () const
 
bool hasExpAutoVec () const
 
bool hasFrecipe () const
 
MVT getGRLenVT () const
 
unsigned getGRLen () const
 
LoongArchABI::ABI getTargetABI () const
 
bool isXRaySupported () const override
 
Align getPrefFunctionAlignment () const
 
Align getPrefLoopAlignment () const
 
unsigned getMaxBytesForAlignment () const
 
bool enableMachineScheduler () const override
 

Detailed Description

Definition at line 32 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 84 of file LoongArchSubtarget.cpp.

Member Function Documentation

◆ enableMachineScheduler()

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

Definition at line 116 of file LoongArchSubtarget.h.

◆ getFrameLowering()

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

Definition at line 82 of file LoongArchSubtarget.h.

◆ getGRLen()

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

◆ getGRLenVT()

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

◆ getInstrInfo()

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

◆ getMaxBytesForAlignment()

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

◆ getPrefFunctionAlignment()

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

◆ getPrefLoopAlignment()

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

◆ getRegisterInfo()

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

◆ getSelectionDAGInfo()

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

Definition at line 92 of file LoongArchSubtarget.h.

◆ getTargetABI()

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

Definition at line 111 of file LoongArchSubtarget.h.

◆ getTargetLowering()

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

Definition at line 89 of file LoongArchSubtarget.h.

◆ hasBasicD()

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

◆ hasBasicF()

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

◆ hasExpAutoVec()

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

Definition at line 107 of file LoongArchSubtarget.h.

Referenced by llvm::LoongArchTTIImpl::getRegisterBitWidth().

◆ hasExtLASX()

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

◆ hasExtLBT()

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

Definition at line 101 of file LoongArchSubtarget.h.

◆ hasExtLSX()

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

◆ hasExtLVZ()

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

Definition at line 100 of file LoongArchSubtarget.h.

◆ hasFrecipe()

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

Definition at line 108 of file LoongArchSubtarget.h.

◆ hasLaGlobalWithAbs()

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

Definition at line 103 of file LoongArchSubtarget.h.

◆ hasLaGlobalWithPcrel()

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

Definition at line 102 of file LoongArchSubtarget.h.

◆ hasLaLocalWithAbs()

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

Definition at line 104 of file LoongArchSubtarget.h.

◆ hasLinkerRelax()

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

Definition at line 106 of file LoongArchSubtarget.h.

◆ hasUAL()

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

◆ is64Bit()

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

◆ isXRaySupported()

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

Definition at line 112 of file LoongArchSubtarget.h.

References is64Bit().

◆ ParseSubtargetFeatures()

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

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