LLVM 17.0.0git
|
#include "Target/LoongArch/LoongArchSubtarget.h"
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 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 |
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 |
MVT | getGRLenVT () const |
unsigned | getGRLen () const |
LoongArchABI::ABI | getTargetABI () const |
Definition at line 32 of file LoongArchSubtarget.h.
LoongArchSubtarget::LoongArchSubtarget | ( | const Triple & | TT, |
StringRef | CPU, | ||
StringRef | TuneCPU, | ||
StringRef | FS, | ||
StringRef | ABIName, | ||
const TargetMachine & | TM | ||
) |
Definition at line 57 of file LoongArchSubtarget.cpp.
References InstrInfo.
|
inlineoverride |
Definition at line 71 of file LoongArchSubtarget.h.
|
inline |
Definition at line 95 of file LoongArchSubtarget.h.
Referenced by llvm::LoongArchTargetLowering::decomposeMulByConstant(), llvm::LoongArchTargetLowering::emitMaskedAtomicCmpXchgIntrinsic(), llvm::LoongArchTargetLowering::emitMaskedAtomicRMWIntrinsic(), llvm::LoongArchTargetLowering::LoongArchTargetLowering(), llvm::LoongArchTargetLowering::LowerFormalArguments(), and llvm::LoongArchDAGToDAGISel::selectShiftMaskGRLen().
|
inline |
Definition at line 94 of file LoongArchSubtarget.h.
Referenced by llvm::LoongArchTargetLowering::LoongArchTargetLowering(), llvm::LoongArchTargetLowering::LowerCall(), llvm::LoongArchTargetLowering::LowerFormalArguments(), performANDCombine(), performORCombine(), performSRLCombine(), llvm::LoongArchTargetLowering::ReplaceNodeResults(), llvm::LoongArchDAGToDAGISel::SelectBaseAddr(), and llvm::LoongArchDAGToDAGISel::SelectInlineAsmMemoryOperand().
|
inlineoverride |
Definition at line 74 of file LoongArchSubtarget.h.
References InstrInfo.
Referenced by llvm::LoongArchRegisterInfo::eliminateFrameIndex(), llvm::LoongArchFrameLowering::emitPrologue(), and llvm::LoongArchFrameLowering::processFunctionBeforeFrameFinalized().
|
inlineoverride |
Definition at line 75 of file LoongArchSubtarget.h.
Referenced by llvm::LoongArchFrameLowering::emitEpilogue(), llvm::LoongArchFrameLowering::emitPrologue(), llvm::LoongArchTargetLowering::getRegisterByName(), llvm::LoongArchFrameLowering::hasBP(), llvm::LoongArchTargetLowering::LoongArchTargetLowering(), llvm::LoongArchTargetLowering::LowerCall(), and llvm::LoongArchFrameLowering::processFunctionBeforeFrameFinalized().
|
inlineoverride |
Definition at line 81 of file LoongArchSubtarget.h.
|
inline |
Definition at line 96 of file LoongArchSubtarget.h.
|
inlineoverride |
Definition at line 78 of file LoongArchSubtarget.h.
|
inline |
Definition at line 86 of file LoongArchSubtarget.h.
Referenced by llvm::LoongArchTargetLowering::LoongArchTargetLowering().
|
inline |
Definition at line 85 of file LoongArchSubtarget.h.
Referenced by llvm::LoongArchRegisterInfo::getReservedRegs(), llvm::LoongArchTargetLowering::LoongArchTargetLowering(), needScavSlotForCFR(), and llvm::LoongArchTargetLowering::ReplaceNodeResults().
|
inline |
Definition at line 88 of file LoongArchSubtarget.h.
|
inline |
Definition at line 90 of file LoongArchSubtarget.h.
|
inline |
Definition at line 87 of file LoongArchSubtarget.h.
|
inline |
Definition at line 89 of file LoongArchSubtarget.h.
|
inline |
Definition at line 92 of file LoongArchSubtarget.h.
|
inline |
Definition at line 91 of file LoongArchSubtarget.h.
|
inline |
Definition at line 93 of file LoongArchSubtarget.h.
|
inline |
Definition at line 84 of file LoongArchSubtarget.h.
Referenced by llvm::LoongArchRegisterInfo::eliminateFrameIndex(), llvm::LoongArchFrameLowering::emitPrologue(), llvm::LoongArchInstrInfo::insertIndirectBranch(), llvm::LoongArchTargetLowering::LoongArchTargetLowering(), llvm::LoongArchInstrInfo::movImm(), and llvm::LoongArchTargetLowering::ReplaceNodeResults().
void llvm::LoongArchSubtarget::ParseSubtargetFeatures | ( | StringRef | CPU, |
StringRef | TuneCPU, | ||
StringRef | FS | ||
) |