LLVM 19.0.0git
|
#include "Target/RISCV/RISCVSubtarget.h"
Public Types | |
enum | RISCVProcFamilyEnum : uint8_t { Others , SiFive7 , VentanaVeyron } |
Protected Member Functions | |
unsigned | getMaxRVVVectorSizeInBits () const |
unsigned | getMinRVVVectorSizeInBits () const |
Protected Attributes | |
std::unique_ptr< CallLowering > | CallLoweringInfo |
std::unique_ptr< InstructionSelector > | InstSelector |
std::unique_ptr< LegalizerInfo > | Legalizer |
std::unique_ptr< RegisterBankInfo > | RegBankInfo |
Definition at line 59 of file RISCVSubtarget.h.
enum llvm::RISCVSubtarget::RISCVProcFamilyEnum : uint8_t |
Enumerator | |
---|---|
Others | |
SiFive7 | |
VentanaVeyron |
Definition at line 62 of file RISCVSubtarget.h.
RISCVSubtarget::RISCVSubtarget | ( | const Triple & | TT, |
StringRef | CPU, | ||
StringRef | TuneCPU, | ||
StringRef | FS, | ||
StringRef | ABIName, | ||
unsigned | RVVVectorBitsMin, | ||
unsigned | RVVVectorLMULMax, | ||
const TargetMachine & | TM | ||
) |
Definition at line 94 of file RISCVSubtarget.cpp.
References CallLoweringInfo, llvm::createRISCVInstructionSelector(), getTargetLowering(), InstSelector, RegBankInfo, and TM.
|
inlineoverride |
Definition at line 122 of file RISCVSubtarget.h.
|
inlineoverride |
Definition at line 124 of file RISCVSubtarget.h.
|
override |
Definition at line 186 of file RISCVSubtarget.cpp.
References EnableSubRegLiveness.
|
inlineoverride |
Definition at line 275 of file RISCVSubtarget.h.
References llvm::RISCVTuneInfoTable::RISCVTuneInfo::CacheLineSize.
|
override |
Definition at line 113 of file RISCVSubtarget.cpp.
References CallLoweringInfo.
|
inline |
Definition at line 231 of file RISCVSubtarget.h.
Referenced by llvm::RISCVTargetLowering::getLMULCost().
|
inline |
Definition at line 183 of file RISCVSubtarget.h.
References assert(), hasVInstructions(), and hasVInstructionsI64().
Referenced by combineBinOpOfExtractToReduceTree(), llvm::RISCVTTIImpl::getArithmeticInstrCost(), llvm::RISCVTTIImpl::getArithmeticReductionCost(), llvm::RISCVTTIImpl::getCastInstrCost(), llvm::RISCVTTIImpl::getCmpSelInstrCost(), getContainerForFixedLengthVector(), llvm::RISCVTTIImpl::getExtendedReductionCost(), llvm::RISCVTTIImpl::getMinMaxReductionCost(), llvm::RISCVTargetLowering::getOptimalMemOpType(), llvm::RISCVTTIImpl::getShuffleCost(), getWideningInterleave(), isDeinterleaveShuffle(), isInterleaveShuffle(), lowerBuildVectorOfConstants(), lowerGetVectorLength(), llvm::RISCVTargetLowering::RISCVTargetLowering(), and useRVVForFixedLengthVectorVT().
|
inline |
Definition at line 174 of file RISCVSubtarget.h.
Referenced by lowerBUILD_VECTOR().
|
inlineoverride |
Definition at line 109 of file RISCVSubtarget.h.
|
inlineoverride |
Definition at line 112 of file RISCVSubtarget.h.
Referenced by emitFROUND(), EmitLoweredCascadedSelect(), llvm::RISCVFrameLowering::emitPrologue(), emitSelectPseudo(), llvm::RISCVCallLowering::lowerCall(), lowerRISCVVMachineInstrToMCInst(), llvm::RISCVRegisterInfo::lowerVRELOAD(), and llvm::RISCVRegisterInfo::lowerVSPILL().
|
override |
Definition at line 117 of file RISCVSubtarget.cpp.
References InstSelector.
|
override |
Definition at line 121 of file RISCVSubtarget.cpp.
unsigned RISCVSubtarget::getMaxBuildIntsCost | ( | ) | const |
Definition at line 133 of file RISCVSubtarget.cpp.
References RISCVMaxBuildIntsCost.
Referenced by lowerConstant(), and llvm::RISCVTargetLowering::shouldConvertConstantLoadToIntImm().
|
inline |
Definition at line 225 of file RISCVSubtarget.h.
References hasVInstructions().
unsigned RISCVSubtarget::getMaxLMULForFixedLengthVectors | ( | ) | const |
Definition at line 173 of file RISCVSubtarget.cpp.
References assert(), llvm::bit_floor(), hasVInstructions(), and RVVVectorLMULMax.
Referenced by useRVVForFixedLengthVectorVT().
|
inlineoverride |
Definition at line 287 of file RISCVSubtarget.h.
References llvm::RISCVTuneInfoTable::RISCVTuneInfo::MaxPrefetchIterationsAhead.
|
protected |
Definition at line 144 of file RISCVSubtarget.cpp.
References assert(), hasVInstructions(), and llvm::report_fatal_error().
Referenced by getRealMaxVLen().
unsigned RISCVSubtarget::getMinimumJumpTableEntries | ( | ) | const |
Definition at line 201 of file RISCVSubtarget.cpp.
References llvm::RISCVTuneInfoTable::RISCVTuneInfo::MinimumJumpTableEntries, and RISCVMinimumJumpTableEntries.
|
inlineoverride |
Definition at line 281 of file RISCVSubtarget.h.
References llvm::RISCVTuneInfoTable::RISCVTuneInfo::MinPrefetchStride.
|
protected |
Definition at line 157 of file RISCVSubtarget.cpp.
References assert(), hasVInstructions(), and llvm::report_fatal_error().
Referenced by getRealMinVLen(), and useRVVForFixedLengthVectors().
|
override |
Definition at line 192 of file RISCVSubtarget.cpp.
References llvm::createMacroFusionDAGMutation().
|
inlineoverride |
Definition at line 278 of file RISCVSubtarget.h.
References llvm::RISCVTuneInfoTable::RISCVTuneInfo::PrefetchDistance.
|
inline |
Definition at line 128 of file RISCVSubtarget.h.
References llvm::RISCVTuneInfoTable::RISCVTuneInfo::PrefFunctionAlignment.
Referenced by llvm::RISCVTargetLowering::RISCVTargetLowering().
|
inline |
Definition at line 131 of file RISCVSubtarget.h.
References llvm::RISCVTuneInfoTable::RISCVTuneInfo::PrefLoopAlignment.
Referenced by llvm::RISCVTargetLowering::RISCVTargetLowering().
|
inline |
Returns RISC-V processor family.
Avoid this function! CPU specifics should be kept local to this class and preferably modeled with SubtargetFeatures or properties in initializeProperties().
Definition at line 139 of file RISCVSubtarget.h.
|
inline |
Definition at line 191 of file RISCVSubtarget.h.
References getMaxRVVVectorSizeInBits().
Referenced by llvm::RISCVTargetLowering::computeKnownBitsForTargetNode(), llvm::RISCVTargetLowering::computeVLMAXBounds(), llvm::RISCVTTIImpl::getMaxVScale(), getRealVLen(), and llvm::RISCVTTIImpl::getShuffleCost().
|
inline |
Definition at line 187 of file RISCVSubtarget.h.
References getMinRVVVectorSizeInBits().
Referenced by llvm::RISCVTargetLowering::computeKnownBitsForTargetNode(), llvm::RISCVTargetLowering::computeVLMAXBounds(), getContainerForFixedLengthVector(), llvm::RISCVTargetLowering::getLMULCost(), llvm::RISCVTargetLowering::getOptimalMemOpType(), getRealVLen(), llvm::RISCVTTIImpl::getRegisterBitWidth(), llvm::RISCVTTIImpl::getRegUsageForType(), llvm::RISCVTTIImpl::getShuffleCost(), getSmallestVTForIndex(), llvm::RISCVTTIImpl::getVScaleForTuning(), llvm::RISCVTargetLowering::isExtractSubvectorCheap(), isValidEGW(), llvm::RISCVTargetLowering::isVScaleKnownToBeAPowerOfTwo(), lowerBuildVectorOfConstants(), llvm::RISCVTargetLowering::LowerOperation(), lowerVECTOR_SHUFFLE(), and useRVVForFixedLengthVectorVT().
|
inline |
Definition at line 196 of file RISCVSubtarget.h.
References getRealMaxVLen(), and getRealMinVLen().
Referenced by lowerBUILD_VECTOR(), lowerShuffleViaVRegSplitting(), llvm::RISCVRegisterInfo::lowerVRELOAD(), llvm::RISCVRegisterInfo::lowerVSPILL(), and llvm::RISCVDAGToDAGISel::selectVSETVLI().
|
override |
Definition at line 125 of file RISCVSubtarget.cpp.
References RegBankInfo.
Referenced by llvm::RISCVCallLowering::lowerCall().
|
inlineoverride |
Definition at line 113 of file RISCVSubtarget.h.
Referenced by llvm::RISCVInstrInfo::areMemAccessesTriviallyDisjoint(), llvm::RISCVInstrInfo::copyPhysReg(), llvm::RISCVInstrInfo::copyPhysRegVector(), llvm::RISCVFrameLowering::eliminateCallFramePseudoInstr(), llvm::RISCVFrameLowering::emitEpilogue(), llvm::RISCVFrameLowering::emitPrologue(), llvm::RISCVTargetLowering::getRegisterByName(), llvm::RISCVFrameLowering::hasBP(), isConvertibleToVMV_V_V(), llvm::RISCVCallLowering::lowerCall(), llvm::RISCVTargetLowering::LowerCall(), lowerRISCVVMachineInstrToMCInst(), llvm::RISCVRegisterInfo::lowerVRELOAD(), llvm::RISCVRegisterInfo::lowerVSPILL(), llvm::RISCVTargetLowering::RISCVTargetLowering(), and llvm::RISCVDAGToDAGISel::Select().
|
inlineoverride |
Definition at line 119 of file RISCVSubtarget.h.
|
inline |
Definition at line 203 of file RISCVSubtarget.h.
Referenced by CC_RISCVAssign2XLen(), llvm::RISCVFrameLowering::determineCalleeSaves(), llvm::RISCVTargetLowering::LowerFormalArguments(), and llvm::RISCVTargetLowering::RISCVTargetLowering().
|
inlineoverride |
Definition at line 116 of file RISCVSubtarget.h.
Referenced by isLegalBitRotate(), lowerBitreverseShuffle(), performSUBCombine(), RISCVSubtarget(), and llvm::RISCVDAGToDAGISel::Select().
|
inline |
Definition at line 171 of file RISCVSubtarget.h.
References is64Bit().
Referenced by llvm::RISCVFrameLowering::assignCalleeSavedSpillSlots(), combineSelectAndUse(), llvm::RISCVTargetLowering::ComputeNumSignBitsForTargetNode(), llvm::RISCVInstrInfo::copyPhysReg(), llvm::RISCVTargetLowering::decomposeMulByConstant(), llvm::RISCVTargetLowering::emitMaskedAtomicCmpXchgIntrinsic(), llvm::RISCVTargetLowering::emitMaskedAtomicRMWIntrinsic(), llvm::RISCVFrameLowering::emitPrologue(), llvm::RISCVFrameLowering::getFirstSPAdjustAmount(), llvm::RISCVTTIImpl::getIntImmCostInst(), llvm::RISCVTTIImpl::getRegisterBitWidth(), llvm::RISCVTTIImpl::getVectorInstrCost(), llvm::RISCVDAGToDAGISel::hasAllNBitUsers(), llvm::RISCVInstrInfo::isBranchOffsetInRange(), llvm::RISCVTargetLowering::isFPImmLegal(), llvm::RISCVTargetLowering::isMulAddWithConstProfitable(), isSupportedArgumentType(), isSupportedReturnType(), lowerBuildVectorOfConstants(), llvm::RISCVTargetLowering::lowerDeinterleaveIntrinsicToLoad(), llvm::RISCVTargetLowering::LowerFormalArguments(), llvm::RISCVTargetLowering::lowerInterleavedLoad(), llvm::RISCVTargetLowering::lowerInterleavedStore(), llvm::RISCVTargetLowering::lowerInterleaveIntrinsicToStore(), performBITREVERSECombine(), llvm::RISCVTargetLowering::PerformDAGCombine(), llvm::RISCVTargetLowering::ReplaceNodeResults(), llvm::RISCVTargetLowering::RISCVTargetLowering(), llvm::RISCVDAGToDAGISel::Select(), llvm::RISCVDAGToDAGISel::selectShiftMaskXLen(), llvm::RISCVDAGToDAGISel::selectSHXADDOp(), llvm::RISCVTargetLowering::shouldConvertConstantLoadToIntImm(), llvm::RISCVTargetLowering::shouldExtendTypeInLibCall(), transformAddImmMulImm(), and transformAddShlImm().
|
inline |
Definition at line 168 of file RISCVSubtarget.h.
References is64Bit().
Referenced by llvm::RISCVDAGToDAGISel::addVectorLoadStoreOperands(), llvm::RISCV::CC_RISCV_FastCC(), combine_CC(), llvm::RISCVTargetLowering::computeVLMax(), convertFromScalableVector(), getDefaultScalableVLOps(), getDeinterleaveViaVNSRL(), getVLOp(), getVSlidedown(), getVSlideup(), getWideningInterleave(), llvm::RISCVTargetLowering::LowerAsmOperandForConstraint(), lowerBUILD_VECTOR(), lowerBuildVectorOfConstants(), lowerBuildVectorViaDominantValues(), llvm::RISCVTargetLowering::LowerCall(), lowerFMAXIMUM_FMINIMUM(), llvm::RISCVTargetLowering::LowerFormalArguments(), lowerFP_TO_INT_SAT(), lowerFTRUNC_FCEIL_FFLOOR_FROUND(), lowerGetVectorLength(), llvm::RISCVTargetLowering::LowerOperation(), lowerReductionSeq(), lowerScalarInsert(), lowerScalarSplat(), lowerVECTOR_SHUFFLE(), lowerVECTOR_SHUFFLEAsVSlide1(), lowerVECTOR_SHUFFLEAsVSlidedown(), lowerVECTOR_SHUFFLEAsVSlideup(), lowerVectorFTRUNC_FCEIL_FFLOOR_FROUND(), lowerVectorIntrinsicScalars(), lowerVectorStrictFTRUNC_FCEIL_FFLOOR_FROUND(), matchSplatAsGather(), performCONCAT_VECTORSStridedLoadCombine(), llvm::RISCVTargetLowering::PerformDAGCombine(), performFP_TO_INT_SATCombine(), performFP_TO_INTCombine(), llvm::RISCVDAGToDAGISel::PreprocessISelDAG(), promoteVCIXScalar(), llvm::RISCVTargetLowering::ReplaceNodeResults(), llvm::RISCVTargetLowering::RISCVTargetLowering(), llvm::RISCVDAGToDAGISel::Select(), llvm::RISCVDAGToDAGISel::SelectAddrFrameIndex(), llvm::RISCVDAGToDAGISel::selectFPImm(), llvm::RISCVDAGToDAGISel::SelectFrameAddrRegImm(), llvm::RISCVDAGToDAGISel::SelectInlineAsmMemoryOperand(), llvm::RISCVDAGToDAGISel::selectRVVSimm5(), llvm::RISCVDAGToDAGISel::selectSF_VC_X_SE(), llvm::RISCVDAGToDAGISel::selectVLSEGFF(), llvm::RISCVDAGToDAGISel::selectVSETVLI(), selectVSplatImmHelper(), and tryMemPairCombine().
|
inline |
Definition at line 161 of file RISCVSubtarget.h.
References hasStdExtCOrZca().
Referenced by combineSelectAndUse(), combineSelectToBinOp(), llvm::RISCVTargetLowering::PerformDAGCombine(), and performSELECTCombine().
|
inline |
Definition at line 157 of file RISCVSubtarget.h.
|
inline |
Definition at line 145 of file RISCVSubtarget.h.
Referenced by estimateFunctionSizeInBytes(), llvm::RISCVFrameLowering::getFirstSPAdjustAmount(), llvm::RISCVInstrInfo::getNop(), hasConditionalMoveFusion(), isCompressibleLoad(), isCompressibleStore(), and llvm::RISCVTargetLowering::RISCVTargetLowering().
|
inline |
Definition at line 146 of file RISCVSubtarget.h.
Referenced by isCompressibleLoad(), and isCompressibleStore().
|
inline |
Definition at line 147 of file RISCVSubtarget.h.
Referenced by isCompressibleLoad(), and isCompressibleStore().
|
inline |
Definition at line 152 of file RISCVSubtarget.h.
Referenced by llvm::RISCVTargetLowering::isFMAFasterThanFMulAndFAdd(), llvm::RISCVTargetLowering::isFPImmLegal(), llvm::RISCVTargetLowering::LowerFormalArguments(), llvm::RISCVTargetLowering::LowerOperation(), and llvm::RISCVTargetLowering::RISCVTargetLowering().
|
inline |
Definition at line 151 of file RISCVSubtarget.h.
Referenced by llvm::RISCVTargetLowering::getNumRegistersForCallingConv(), llvm::RISCVTargetLowering::getRegisterTypeForCallingConv(), llvm::RISCVTargetLowering::isFMAFasterThanFMulAndFAdd(), llvm::RISCVTargetLowering::isFPImmLegal(), llvm::RISCVTargetLowering::LowerFormalArguments(), llvm::RISCVTargetLowering::LowerOperation(), llvm::RISCVTargetLowering::ReplaceNodeResults(), and llvm::RISCVTargetLowering::RISCVTargetLowering().
|
inline |
Definition at line 154 of file RISCVSubtarget.h.
Referenced by llvm::RISCVTargetLowering::getNumRegistersForCallingConv(), llvm::RISCVTargetLowering::getRegisterTypeForCallingConv(), llvm::RISCVTargetLowering::isFPImmLegal(), llvm::RISCVTargetLowering::LowerOperation(), llvm::RISCVTargetLowering::ReplaceNodeResults(), and llvm::RISCVTargetLowering::RISCVTargetLowering().
|
inline |
Definition at line 153 of file RISCVSubtarget.h.
Referenced by llvm::RISCVTargetLowering::isFMAFasterThanFMulAndFAdd(), lowerFP_TO_INT_SAT(), llvm::RISCVTargetLowering::ReplaceNodeResults(), and llvm::RISCVTargetLowering::RISCVTargetLowering().
|
inline |
Definition at line 150 of file RISCVSubtarget.h.
|
inline |
Definition at line 215 of file RISCVSubtarget.h.
Referenced by llvm::RISCVTargetLowering::CanLowerReturn(), llvm::RISCVTargetLowering::canSplatOperand(), llvm::RISCV::CC_RISCV(), combineBinOpOfExtractToReduceTree(), getELen(), llvm::RISCVTTIImpl::getIntrinsicInstrCost(), getMaxInterleaveFactor(), getMaxLMULForFixedLengthVectors(), getMaxRVVVectorSizeInBits(), llvm::RISCVTTIImpl::getMaxVScale(), getMinRVVVectorSizeInBits(), llvm::RISCVTargetLowering::getOptimalMemOpType(), llvm::RISCVTargetLowering::getRegForInlineAsmConstraint(), llvm::RISCVTTIImpl::getRegisterBitWidth(), llvm::RISCVTTIImpl::getRegUsageForType(), getScavSlotsNumForRVV(), llvm::RISCVTargetLowering::getSetCCResultType(), llvm::RISCVTTIImpl::getVScaleForTuning(), llvm::RISCVTargetLowering::isLegalAddressingMode(), llvm::RISCVTargetLowering::isLegalStridedLoadStore(), isSupportedArgumentType(), isSupportedReturnType(), lowerVectorIntrinsicScalars(), llvm::RISCVTargetLowering::RISCVTargetLowering(), llvm::RISCVDAGToDAGISel::selectSF_VC_X_SE(), llvm::RISCVDAGToDAGISel::selectVSETVLI(), llvm::RISCVTargetLowering::shouldFoldSelectWithIdentityConstant(), llvm::RISCVTargetLowering::shouldSinkOperands(), supportsInitUndef(), and useRVVForFixedLengthVectors().
|
inline |
Definition at line 223 of file RISCVSubtarget.h.
References hasVInstructionsF32().
|
inline |
Definition at line 219 of file RISCVSubtarget.h.
Referenced by isLegalElementTypeForRVV(), and llvm::RISCVTargetLowering::RISCVTargetLowering().
|
inline |
Definition at line 218 of file RISCVSubtarget.h.
Referenced by llvm::RISCVTTIImpl::getCmpSelInstrCost(), llvm::RISCVTargetLowering::isFMAFasterThanFMulAndFAdd(), llvm::RISCVTargetLowering::isLegalElementTypeForRVV(), isLegalElementTypeForRVV(), llvm::RISCVTargetLowering::LowerOperation(), llvm::RISCVTargetLowering::PerformDAGCombine(), performVFMADD_VLCombine(), and llvm::RISCVTargetLowering::RISCVTargetLowering().
|
inline |
Definition at line 217 of file RISCVSubtarget.h.
Referenced by llvm::RISCVTargetLowering::LowerOperation(), llvm::RISCVTargetLowering::PerformDAGCombine(), performVFMADD_VLCombine(), llvm::RISCVTargetLowering::RISCVTargetLowering(), and useRVVForFixedLengthVectorVT().
|
inline |
|
inline |
Definition at line 221 of file RISCVSubtarget.h.
Referenced by llvm::RISCVTTIImpl::getCmpSelInstrCost(), llvm::RISCVTargetLowering::isLegalElementTypeForRVV(), isLegalElementTypeForRVV(), llvm::RISCVTargetLowering::RISCVTargetLowering(), and useRVVForFixedLengthVectorVT().
|
inline |
Definition at line 224 of file RISCVSubtarget.h.
|
inline |
Definition at line 216 of file RISCVSubtarget.h.
Referenced by getELen(), llvm::RISCVTargetLowering::isLegalElementTypeForRVV(), isLegalElementTypeForRVV(), llvm::RISCVTargetLowering::RISCVTargetLowering(), and useRVVForFixedLengthVectorVT().
|
inline |
Definition at line 167 of file RISCVSubtarget.h.
Referenced by llvm::RISCVInstrInfo::canFoldIntoAddrMode(), llvm::RISCV::CC_RISCV_FastCC(), llvm::RISCV::CC_RISCV_GHC(), emitFROUND(), llvm::RISCVTargetLowering::EmitInstrWithCustomInserter(), llvm::RISCVFrameLowering::getFirstSPAdjustAmount(), llvm::RISCVTargetLowering::getJumpTableEncoding(), llvm::RISCVTargetLowering::getRegForInlineAsmConstraint(), llvm::RISCVTargetLowering::getRegisterTypeForCallingConv(), llvm::RISCVTargetLowering::getVectorTypeBreakdownForCallingConv(), getXLen(), getXLenVT(), isCompressibleLoad(), isCompressibleStore(), llvm::RISCVTargetLowering::isLegalElementTypeForRVV(), isLegalElementTypeForRVV(), llvm::RISCVTargetLowering::isSExtCheaperThanZExt(), llvm::RISCVTargetLowering::isTruncateFree(), lowerBuildVectorOfConstants(), llvm::RISCVTargetLowering::LowerCustomJumpTableEntry(), llvm::RISCVTargetLowering::LowerOperation(), llvm::RISCVInstrInfo::movImm(), performANDCombine(), llvm::RISCVTargetLowering::PerformDAGCombine(), performSETCCCombine(), performSRACombine(), performTRUNCATECombine(), performXORCombine(), llvm::RISCVTargetLowering::ReplaceNodeResults(), llvm::RISCVTargetLowering::RISCVTargetLowering(), llvm::RISCVDAGToDAGISel::Select(), selectConstantAddr(), llvm::RISCVDAGToDAGISel::selectFPImm(), llvm::RISCVDAGToDAGISel::selectVLXSEG(), llvm::RISCVDAGToDAGISel::selectVSXSEG(), llvm::RISCVTargetLowering::shouldSignExtendTypeInLibCall(), llvm::RISCVTargetLowering::shouldTransformSignedTruncationCheck(), llvm::RISCVTargetLowering::signExtendConstant(), and llvm::RISCVInstrInfo::verifyInstruction().
Definition at line 209 of file RISCVSubtarget.h.
References assert().
Referenced by llvm::RISCVFrameLowering::emitPrologue(), llvm::RISCVTargetLowering::getRegisterByName(), llvm::RISCVTargetLowering::LowerCall(), and llvm::RISCVTargetLowering::LowerReturn().
|
inline |
Definition at line 204 of file RISCVSubtarget.h.
References llvm::RISCVABI::ABI_ILP32, llvm::RISCVABI::ABI_ILP32E, and llvm::RISCVABI::ABI_LP64.
Referenced by llvm::RISCVTargetLowering::LowerOperation(), llvm::RISCVTargetLowering::RISCVTargetLowering(), and llvm::RISCVTargetLowering::shouldExtendTypeInLibCall().
|
inline |
Definition at line 257 of file RISCVSubtarget.h.
Referenced by llvm::RISCVTargetLowering::getIRStackGuard().
void llvm::RISCVSubtarget::ParseSubtargetFeatures | ( | StringRef | CPU, |
StringRef | TuneCPU, | ||
StringRef | FS | ||
) |
|
inlineoverride |
Definition at line 293 of file RISCVSubtarget.h.
References hasVInstructions().
|
override |
Enable use of alias analysis during code generation (during MI scheduling, DAGCombine, etc.).
Definition at line 199 of file RISCVSubtarget.cpp.
References UseAA.
bool RISCVSubtarget::useConstantPoolForLargeInts | ( | ) | const |
Definition at line 129 of file RISCVSubtarget.cpp.
References RISCVDisableUsingConstantPoolForLargeInts.
Referenced by lowerConstant().
bool RISCVSubtarget::useRVVForFixedLengthVectors | ( | ) | const |
Definition at line 182 of file RISCVSubtarget.cpp.
References getMinRVVVectorSizeInBits(), and hasVInstructions().
Referenced by llvm::RISCVTTIImpl::getArithmeticInstrCost(), llvm::RISCVTTIImpl::getArithmeticReductionCost(), llvm::RISCVTTIImpl::getCmpSelInstrCost(), llvm::RISCVTTIImpl::getExtendedReductionCost(), llvm::RISCVTTIImpl::getMinMaxReductionCost(), llvm::RISCVTTIImpl::getRegisterBitWidth(), llvm::RISCVTTIImpl::getRegUsageForType(), llvm::RISCVTargetLowering::getSetCCResultType(), llvm::RISCVTargetLowering::isLegalInterleavedAccessType(), llvm::RISCVTargetLowering::isLegalStridedLoadStore(), llvm::RISCVTargetLowering::PerformDAGCombine(), llvm::RISCVTargetLowering::RISCVTargetLowering(), and useRVVForFixedLengthVectorVT().
|
protected |
Definition at line 239 of file RISCVSubtarget.h.
Referenced by getCallLowering(), and RISCVSubtarget().
|
protected |
Definition at line 240 of file RISCVSubtarget.h.
Referenced by getInstructionSelector(), and RISCVSubtarget().
|
protected |
Definition at line 241 of file RISCVSubtarget.h.
|
protected |
Definition at line 242 of file RISCVSubtarget.h.
Referenced by getRegBankInfo(), and RISCVSubtarget().