LLVM 20.0.0git
|
#include "Target/AArch64/AArch64Subtarget.h"
Public Types | |
enum | ARMProcFamilyEnum : uint8_t { Others } |
Definition at line 38 of file AArch64Subtarget.h.
enum llvm::AArch64Subtarget::ARMProcFamilyEnum : uint8_t |
Enumerator | |
---|---|
Others |
Definition at line 40 of file AArch64Subtarget.h.
AArch64Subtarget::AArch64Subtarget | ( | const Triple & | TT, |
StringRef | CPU, | ||
StringRef | TuneCPU, | ||
StringRef | FS, | ||
const TargetMachine & | TM, | ||
bool | LittleEndian, | ||
unsigned | MinSVEVectorSizeInBitsOverride = 0 , |
||
unsigned | MaxSVEVectorSizeInBitsOverride = 0 , |
||
bool | IsStreaming = false , |
||
bool | IsStreamingCompatible = false , |
||
bool | HasMinSize = false |
||
) |
This constructor initializes the data members to match that of the specified triple.
Definition at line 323 of file AArch64Subtarget.cpp.
References CallLoweringInfo, llvm::StringMap< ValueTy, AllocatorTy >::count(), llvm::createAArch64InstructionSelector(), getRegisterInfo(), getTargetLowering(), InlineAsmLoweringInfo, llvm::StringSet< AllocatorTy >::insert(), InstSelector, llvm::AArch64::isX18ReservedByDefault(), RegBankInfo, ReservedRegsForRA, ReserveXRegister, ReserveXRegisterForRA, llvm::BitVector::set(), and TRI.
|
inlineoverride |
Definition at line 282 of file AArch64Subtarget.h.
References isTargetILP32(), and useAA().
|
override |
Definition at line 485 of file AArch64Subtarget.cpp.
References llvm::TargetSchedModel::computeOperandLatency(), llvm::const_mi_bundle_ops(), llvm::SDep::Data, DefMI, llvm::SDep::getKind(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), llvm::SDep::getReg(), llvm::SDep::setLatency(), and UseMI.
|
inlineoverride |
This function is design to compatible with the function def in other targets and escape build error about the virtual function def in base class TargetSubtargetInfo.
Updeate me if AArch64 target need to use it.
Definition at line 316 of file AArch64Subtarget.h.
unsigned AArch64Subtarget::classifyGlobalFunctionReference | ( | const GlobalValue * | GV, |
const TargetMachine & | TM | ||
) | const |
Definition at line 437 of file AArch64Subtarget.cpp.
References ClassifyGlobalReference(), F, getTargetTriple(), llvm::GlobalValue::getValueType(), llvm::GlobalValue::hasDLLImportStorageClass(), llvm::GlobalValue::hasExternalLinkage(), llvm::GlobalValue::hasInternalLinkage(), llvm::Type::isFunctionTy(), isTargetMachO(), isWindowsArm64EC(), llvm::CodeModel::Large, MachOUseNonLazyBind, llvm::AArch64II::MO_ARM64EC_CALLMANGLE, llvm::AArch64II::MO_DLLIMPORT, llvm::AArch64II::MO_GOT, and llvm::AArch64II::MO_NO_FLAG.
unsigned AArch64Subtarget::ClassifyGlobalReference | ( | const GlobalValue * | GV, |
const TargetMachine & | TM | ||
) | const |
ClassifyGlobalReference - Find the target operand flags that describe how a global value should be referenced for the current subtarget.
Find the target operand flags that describe how a global value should be referenced for the current subtarget.
Definition at line 397 of file AArch64Subtarget.cpp.
References getTargetTriple(), llvm::GlobalValue::getValueType(), llvm::GlobalValue::hasDLLImportStorageClass(), llvm::GlobalValue::hasExternalWeakLinkage(), llvm::GlobalValue::isTagged(), isTargetMachO(), llvm::CodeModel::Large, llvm::AArch64II::MO_COFFSTUB, llvm::AArch64II::MO_DLLIMPORT, llvm::AArch64II::MO_GOT, llvm::AArch64II::MO_NC, llvm::AArch64II::MO_NO_FLAG, llvm::AArch64II::MO_TAGGED, llvm::CodeModel::Tiny, and useSmallAddressing().
Referenced by classifyGlobalFunctionReference(), llvm::AArch64InstrInfo::expandPostRAPseudo(), and performGlobalAddressCombine().
|
override |
Definition at line 524 of file AArch64Subtarget.cpp.
References EnableEarlyIfConvert.
|
override |
Definition at line 597 of file AArch64Subtarget.cpp.
|
inlineoverride |
Definition at line 153 of file AArch64Subtarget.h.
|
inlineoverride |
Definition at line 154 of file AArch64Subtarget.h.
|
inline |
Definition at line 434 of file AArch64Subtarget.h.
AArch64PAuth::AuthCheckMethod AArch64Subtarget::getAuthenticatedLRCheckMethod | ( | const MachineFunction & | MF | ) | const |
Choose a method of checking LR before performing a tail call.
Definition at line 571 of file AArch64Subtarget.cpp.
References AuthenticatedLRCheckMethod, llvm::MachineFunction::getFunction(), llvm::Function::hasFnAttribute(), llvm::AArch64PAuth::HighBitsNoTBI, and llvm::AArch64PAuth::None.
|
inlineoverride |
Definition at line 230 of file AArch64Subtarget.h.
References CacheLineSize.
|
override |
Definition at line 374 of file AArch64Subtarget.cpp.
References CallLoweringInfo.
Definition at line 408 of file AArch64Subtarget.h.
References isWindowsArm64EC().
Referenced by llvm::AArch64FrameLowering::emitPrologue().
|
override |
Definition at line 542 of file AArch64Subtarget.cpp.
|
inlineoverride |
Definition at line 137 of file AArch64Subtarget.h.
References FrameLowering.
Referenced by llvm::AArch64FunctionInfo::AArch64FunctionInfo().
|
inline |
Definition at line 232 of file AArch64Subtarget.h.
References GatherOverhead.
|
override |
Definition at line 378 of file AArch64Subtarget.cpp.
References InlineAsmLoweringInfo.
|
inlineoverride |
Definition at line 143 of file AArch64Subtarget.h.
References InstrInfo.
Referenced by BuildPACM(), llvm::AArch64PAuth::checkAuthenticatedRegister(), llvm::AArch64TargetLowering::EmitAllocateZABuffer(), emitDefineCFAWithFP(), llvm::AArch64TargetLowering::EmitF128CSEL(), llvm::AArch64TargetLowering::EmitFill(), llvm::AArch64TargetLowering::EmitInitTPIDR2Object(), llvm::AArch64TargetLowering::EmitInstrWithCustomInserter(), llvm::AArch64FrameLowering::emitPrologue(), llvm::AArch64TargetLowering::EmitTileLoad(), llvm::AArch64TargetLowering::EmitZAInstr(), llvm::AArch64TargetLowering::EmitZero(), llvm::AArch64TargetLowering::EmitZTInstr(), getRegisterInfo(), llvm::AArch64TargetLowering::insertCopiesSplitCSR(), llvm::AArch64TargetLowering::isLegalAddressingMode(), and llvm::AArch64CallLowering::lowerCall().
|
override |
Definition at line 382 of file AArch64Subtarget.cpp.
References InstSelector.
|
override |
Definition at line 386 of file AArch64Subtarget.cpp.
|
inline |
Definition at line 248 of file AArch64Subtarget.h.
References MaxBytesForLoopAlignment.
Referenced by llvm::AArch64TargetLowering::AArch64TargetLowering().
|
inline |
Definition at line 252 of file AArch64Subtarget.h.
References MaxJumpTableSize.
Referenced by llvm::AArch64TargetLowering::AArch64TargetLowering().
|
inline |
Definition at line 228 of file AArch64Subtarget.h.
References MaxInterleaveFactor.
Referenced by llvm::AArch64TTIImpl::getMaxInterleaveFactor().
|
inlineoverride |
Definition at line 240 of file AArch64Subtarget.h.
References MaxPrefetchIterationsAhead.
|
inline |
Definition at line 375 of file AArch64Subtarget.h.
References assert(), isSVEorStreamingSVEAvailable(), and MaxSVEVectorSizeInBits.
Referenced by findMoreOptimalIndexType(), llvm::AArch64TargetLowering::lowerInterleavedLoad(), and llvm::AArch64TargetLowering::lowerInterleavedStore().
|
inline |
Definition at line 253 of file AArch64Subtarget.h.
References MinimumJumpTableEntries.
|
inlineoverride |
Definition at line 234 of file AArch64Subtarget.h.
References MinPrefetchStride.
|
inline |
Definition at line 381 of file AArch64Subtarget.h.
References assert(), isSVEorStreamingSVEAvailable(), and MinSVEVectorSizeInBits.
Referenced by llvm::AArch64TargetLowering::getNumInterleavedAccesses(), getPredicateForFixedLengthVector(), llvm::AArch64TTIImpl::getRegisterBitWidth(), isAllActivePredicate(), llvm::AArch64TargetLowering::isLegalInterleavedAccessType(), llvm::AArch64TargetLowering::lowerInterleavedLoad(), llvm::AArch64TargetLowering::lowerInterleavedStore(), optimizeIncrementingWhile(), performFPExtendCombine(), performMSTORECombine(), performSTORECombine(), performUnpackCombine(), useSVEForFixedLengthVectors(), and llvm::AArch64TargetLowering::useSVEForFixedLengthVectorVT().
|
inline |
Definition at line 197 of file AArch64Subtarget.h.
References isNeonAvailable(), isSVEAvailable(), and MinVectorRegisterBitWidth.
|
inline |
Definition at line 209 of file AArch64Subtarget.h.
References llvm::BitVector::count(), ReserveXRegister, and ReserveXRegisterForRA.
Referenced by llvm::AArch64RegisterInfo::getRegPressureLimit().
|
inlineoverride |
Definition at line 233 of file AArch64Subtarget.h.
References PrefetchDistance.
|
inline |
Definition at line 243 of file AArch64Subtarget.h.
References PrefFunctionAlignment.
Referenced by llvm::AArch64TargetLowering::AArch64TargetLowering().
|
inline |
Definition at line 246 of file AArch64Subtarget.h.
References PrefLoopAlignment.
Referenced by llvm::AArch64TargetLowering::AArch64TargetLowering().
|
inline |
Returns ARM 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 163 of file AArch64Subtarget.h.
References ARMProcFamily.
Referenced by llvm::AArch64TargetLowering::getTargetMMOFlags(), and llvm::AArch64TTIImpl::getUnrollingPreferences().
std::optional< uint16_t > AArch64Subtarget::getPtrAuthBlockAddressDiscriminatorIfEnabled | ( | const Function & | ParentFn | ) | const |
Compute the integer discriminator for a given BlockAddress constant, if blockaddress signing is enabled, or std::nullopt otherwise.
Blockaddress signing is controlled by the function attribute "ptrauth-indirect-gotos" on the parent function. Note that this assumes the discriminator is independent of the indirect goto branch site itself, i.e., it's the same for all BlockAddresses in a function.
Definition at line 587 of file AArch64Subtarget.cpp.
References llvm::Value::getName(), llvm::getPointerAuthStableSipHash(), and llvm::Function::hasFnAttribute().
|
override |
Definition at line 390 of file AArch64Subtarget.cpp.
References RegBankInfo.
Referenced by llvm::AArch64CallLowering::lowerCall().
|
inlineoverride |
Definition at line 144 of file AArch64Subtarget.h.
References getInstrInfo(), and llvm::AArch64InstrInfo::getRegisterInfo().
Referenced by AArch64Subtarget(), llvm::AArch64TargetLowering::AArch64TargetLowering(), llvm::AArch64InstrInfo::buildClearRegister(), llvm::AArch64FrameLowering::canUseAsPrologue(), llvm::AArch64TargetLowering::changeStreamingMode(), emitDefineCFAWithFP(), llvm::AArch64FrameLowering::emitPrologue(), llvm::AArch64InstrInfo::expandPostRAPseudo(), findScratchNonCalleeSaveRegister(), llvm::AArch64TargetLowering::insertCopiesSplitCSR(), InsertSEH(), and llvm::AArch64CallLowering::lowerCall().
|
inline |
Definition at line 231 of file AArch64Subtarget.h.
References ScatterOverhead.
Definition at line 414 of file AArch64Subtarget.h.
References isWindowsArm64EC().
Referenced by llvm::AArch64TargetLowering::getSSPStackGuardCheck(), and llvm::AArch64TargetLowering::insertSSPDeclarations().
|
inlineoverride |
Definition at line 134 of file AArch64Subtarget.h.
References TSInfo.
|
inline |
Definition at line 404 of file AArch64Subtarget.h.
References DefaultSVETFOpts.
Referenced by llvm::AArch64TTIImpl::preferPredicateOverEpilogue().
|
inlineoverride |
Definition at line 140 of file AArch64Subtarget.h.
References TLInfo.
Referenced by AArch64Subtarget(), llvm::AArch64FrameLowering::canUseAsPrologue(), llvm::AArch64FrameLowering::canUseRedZone(), llvm::AArch64SelectionDAGInfo::EmitStreamingCompatibleMemLibCall(), finishStackBlock(), llvm::AArch64RegisterInfo::getCalleeSavedRegs(), llvm::AArch64RegisterInfo::getCallPreservedMask(), llvm::AArch64RegisterInfo::getDarwinCalleeSavedRegs(), llvm::AArch64RegisterInfo::getDarwinCallPreservedMask(), and produceCompactUnwindFrame().
Definition at line 152 of file AArch64Subtarget.h.
References TargetTriple.
Referenced by classifyGlobalFunctionReference(), ClassifyGlobalReference(), llvm::AArch64FrameLowering::emitPrologue(), llvm::AArch64TargetLowering::getSDagStackGuard(), llvm::AArch64TargetLowering::getSSPStackGuardCheck(), llvm::AArch64TargetLowering::insertSSPDeclarations(), llvm::AArch64TargetLowering::shouldInsertTrailingFenceForAtomicStore(), ShouldSignWithBKey(), and swiftAsyncContextIsDynamicallySet().
unsigned AArch64Subtarget::getVectorInsertExtractBaseCost | ( | ) | const |
Definition at line 79 of file AArch64Subtarget.cpp.
References OverrideVectorInsertExtractBaseCost, and VectorInsertExtractBaseCost.
Referenced by llvm::AArch64TTIImpl::getScalarizationOverhead().
|
inline |
Definition at line 402 of file AArch64Subtarget.h.
References VScaleForTuning.
|
inline |
Definition at line 219 of file AArch64Subtarget.h.
References llvm::BitVector::any(), and CustomCallSavedXRegs.
Referenced by llvm::AArch64CallLowering::lowerCall().
|
inline |
Return true if the CPU supports any kind of instruction fusion.
Definition at line 222 of file AArch64Subtarget.h.
|
inline |
Definition at line 330 of file AArch64Subtarget.h.
References llvm::CallingConv::C, CC, llvm::CallingConv::Fast, isTargetWindows(), llvm::CallingConv::PreserveNone, llvm::CallingConv::Swift, llvm::CallingConv::SwiftTail, and llvm::CallingConv::Win64.
Referenced by analyzeCallOperands(), llvm::AArch64FrameLowering::emitPrologue(), and llvm::AArch64RegisterInfo::isArgumentRegister().
|
inline |
Definition at line 261 of file AArch64Subtarget.h.
References IsLittle.
Referenced by llvm::AArch64TargetLowering::AArch64TargetLowering(), combineI8TruncStore(), llvm::AArch64TargetLowering::optimizeExtendOrTruncateConversion(), and performLOADCombine().
|
inline |
Definition at line 215 of file AArch64Subtarget.h.
Referenced by llvm::AArch64RegisterInfo::getReservedRegs().
|
inline |
Returns true if the target has NEON and the function at runtime is known to have NEON enabled (e.g.
the function is known not to be in streaming-SVE mode, which disables NEON instructions).
Definition at line 178 of file AArch64Subtarget.h.
References isStreaming(), and isStreamingCompatible().
Referenced by llvm::AArch64TargetLowering::AArch64TargetLowering(), llvm::AArch64FrameLowering::canUseRedZone(), llvm::AArch64InstrInfo::copyPhysReg(), getMinVectorRegisterBitWidth(), llvm::AArch64TTIImpl::getRegisterBitWidth(), llvm::AArch64TargetLowering::isLegalInterleavedAccessType(), llvm::AArch64TargetLowering::isShuffleMaskLegal(), llvm::AArch64TargetLowering::LowerOperation(), performBuildVectorCombine(), performFpToIntCombine(), performIntToFpCombine(), llvm::AArch64TTIImpl::shouldMaximizeVectorBandwidth(), tryAdvSIMDModImm16(), tryAdvSIMDModImm32(), useSVEForFixedLengthVectors(), and vectorToScalarBitmask().
|
inline |
Returns true if the function has a streaming body.
Definition at line 170 of file AArch64Subtarget.h.
References IsStreaming.
Referenced by llvm::AArch64TargetLowering::AArch64TargetLowering(), isNeonAvailable(), isSVEAvailable(), and isSVEorStreamingSVEAvailable().
|
inline |
Returns true if the function has a streaming-compatible body.
Definition at line 173 of file AArch64Subtarget.h.
References IsStreamingCompatible.
Referenced by isNeonAvailable(), and isSVEAvailable().
|
inline |
Returns true if the target has SVE and can use the full range of SVE instructions, for example because it knows the function is known not to be in streaming-SVE mode or when the target has FEAT_FA64 enabled.
Definition at line 186 of file AArch64Subtarget.h.
References isStreaming(), and isStreamingCompatible().
Referenced by llvm::AArch64TargetLowering::AArch64TargetLowering(), llvm::AArch64TTIImpl::enableScalableVectorization(), getMinVectorRegisterBitWidth(), and llvm::AArch64TTIImpl::getRegisterBitWidth().
|
inline |
Returns true if the target has access to either the full range of SVE instructions, or the streaming-compatible subset of SVE instructions.
Definition at line 193 of file AArch64Subtarget.h.
References isStreaming().
Referenced by llvm::AArch64TargetLowering::AArch64TargetLowering(), llvm::AArch64InstrInfo::copyPhysReg(), llvm::AArch64TTIImpl::enableScalableVectorization(), llvm::AArch64TTIImpl::getCastInstrCost(), getMaxSVEVectorSizeInBits(), getMinSVEVectorSizeInBits(), llvm::AArch64TTIImpl::getRegisterBitWidth(), llvm::AArch64TargetLowering::isLegalInterleavedAccessType(), llvm::AArch64InstrInfo::loadRegFromStackSlot(), llvm::AArch64TargetLowering::shouldExpandCttzElements(), llvm::AArch64InstrInfo::storeRegToStackSlot(), useSVEForFixedLengthVectors(), and llvm::AArch64TargetLowering::useSVEForFixedLengthVectorVT().
|
inline |
Definition at line 267 of file AArch64Subtarget.h.
References llvm::Triple::isAndroid(), and TargetTriple.
Referenced by llvm::AArch64TargetLowering::getIRStackGuard(), llvm::AArch64TargetLowering::getSafeStackPointerLocation(), and llvm::AArch64TargetLowering::useLoadStackGuardNode().
|
inline |
Definition at line 271 of file AArch64Subtarget.h.
References llvm::Triple::isOSBinFormatCOFF(), and TargetTriple.
|
inline |
Definition at line 263 of file AArch64Subtarget.h.
References llvm::Triple::isOSDarwin(), and TargetTriple.
Referenced by CC_AArch64_Custom_Block(), llvm::AArch64TargetLowering::CCAssignFnForCall(), llvm::AArch64RegisterInfo::getCalleeSavedRegs(), llvm::AArch64RegisterInfo::getCallPreservedMask(), llvm::AArch64RegisterInfo::getDarwinCalleeSavedRegs(), llvm::AArch64RegisterInfo::getDarwinCallPreservedMask(), llvm::AArch64RegisterInfo::getThisReturnPreservedMask(), llvm::AArch64TargetLowering::getVaListSizeInBits(), llvm::AArch64RegisterInfo::isArgumentRegister(), llvm::AArch64LegalizerInfo::legalizeIntrinsic(), and llvm::AArch64TargetLowering::preferredShiftLegalizationStrategy().
|
inline |
Definition at line 272 of file AArch64Subtarget.h.
References llvm::Triple::isOSBinFormatELF(), and TargetTriple.
|
inline |
Definition at line 268 of file AArch64Subtarget.h.
References llvm::Triple::isOSFuchsia(), and TargetTriple.
Referenced by llvm::AArch64TargetLowering::getIRStackGuard(), llvm::AArch64TargetLowering::getSafeStackPointerLocation(), and llvm::AArch64TargetLowering::useLoadStackGuardNode().
|
inline |
Definition at line 275 of file AArch64Subtarget.h.
References llvm::Triple::getEnvironment(), llvm::Triple::GNUILP32, llvm::Triple::isArch32Bit(), and TargetTriple.
Referenced by addrSinkUsingGEPs(), CC_AArch64_Custom_Block(), llvm::AArch64TargetLowering::CCAssignFnForCall(), llvm::AArch64TargetLowering::computeKnownBitsForTargetNode(), llvm::AArch64FrameLowering::emitPrologue(), llvm::AArch64InstrInfo::expandPostRAPseudo(), llvm::AArch64RegisterInfo::isArgumentRegister(), and llvm::AArch64LegalizerInfo::legalizeIntrinsic().
|
inline |
Definition at line 264 of file AArch64Subtarget.h.
References llvm::Triple::isiOS(), and TargetTriple.
|
inline |
Definition at line 265 of file AArch64Subtarget.h.
References llvm::Triple::isOSLinux(), and TargetTriple.
Referenced by llvm::AArch64RegisterInfo::getCustomEHPadPreservedMask().
|
inline |
Definition at line 273 of file AArch64Subtarget.h.
References llvm::Triple::isOSBinFormatMachO(), and TargetTriple.
Referenced by llvm::AArch64TargetLowering::AArch64TargetLowering(), CC_AArch64_Custom_Block(), classifyGlobalFunctionReference(), ClassifyGlobalReference(), and produceCompactUnwindFrame().
|
inline |
Definition at line 266 of file AArch64Subtarget.h.
References llvm::Triple::isOSWindows(), and TargetTriple.
Referenced by llvm::AArch64FunctionInfo::AArch64FunctionInfo(), llvm::AArch64TargetLowering::AArch64TargetLowering(), llvm::AArch64TargetLowering::CCAssignFnForCall(), llvm::AArch64FrameLowering::determineCalleeSaves(), llvm::AArch64TargetLowering::EmitAllocateZABuffer(), llvm::AArch64RegisterInfo::getCalleeSavedRegs(), llvm::AArch64TargetLowering::getVaListSizeInBits(), llvm::AArch64TargetLowering::hasInlineStackProbe(), llvm::AArch64RegisterInfo::isArgumentRegister(), isCallingConvWin64(), llvm::AArch64LegalizerInfo::legalizeIntrinsic(), llvm::AArch64TargetLowering::preferredShiftLegalizationStrategy(), and windowsRequiresStackProbe().
|
inline |
Definition at line 269 of file AArch64Subtarget.h.
References llvm::Triple::isWindowsArm64EC(), and TargetTriple.
Referenced by llvm::AArch64TargetLowering::AArch64TargetLowering(), llvm::AArch64TargetLowering::CCAssignFnForCall(), llvm::AArch64TargetLowering::CCAssignFnForReturn(), classifyGlobalFunctionReference(), llvm::AArch64RegisterInfo::explainReservedReg(), getChkStkName(), getSecurityCheckCookieName(), llvm::AArch64RegisterInfo::getStrictlyReservedRegs(), and llvm::AArch64CallLowering::lowerCall().
|
inlineoverride |
Definition at line 167 of file AArch64Subtarget.h.
|
inline |
Definition at line 216 of file AArch64Subtarget.h.
References CustomCallSavedXRegs.
Referenced by llvm::AArch64RegisterInfo::UpdateCustomCalleeSavedRegs(), and llvm::AArch64RegisterInfo::UpdateCustomCallPreservedMask().
|
inline |
Definition at line 207 of file AArch64Subtarget.h.
References ReserveXRegister.
Referenced by llvm::AArch64RegisterInfo::getStrictlyReservedRegs(), and llvm::AArch64FunctionInfo::needsShadowCallStackPrologueEpilogue().
|
inline |
Definition at line 208 of file AArch64Subtarget.h.
References ReserveXRegisterForRA.
Referenced by llvm::AArch64RegisterInfo::getReservedRegs().
|
override |
Definition at line 546 of file AArch64Subtarget.cpp.
References llvm::MachineFrameInfo::computeMaxCallFrameSize(), llvm::MachineFunction::getFrameInfo(), and llvm::MachineFrameInfo::isMaxCallFrameSizeComputed().
|
override |
Definition at line 473 of file AArch64Subtarget.cpp.
References llvm::MachineSchedPolicy::DisableLatencyHeuristic, llvm::MachineSchedPolicy::OnlyBottomUp, and llvm::MachineSchedPolicy::OnlyTopDown.
void llvm::AArch64Subtarget::ParseSubtargetFeatures | ( | StringRef | CPU, |
StringRef | TuneCPU, | ||
StringRef | FS | ||
) |
ParseSubtargetFeatures - Parses features string setting specified subtarget options.
Definition of function is auto generated by tblgen.
bool AArch64Subtarget::supportsAddressTopByteIgnored | ( | ) | const |
CPU has TBI (top byte of addresses is ignored during HW address translation) and OS enables it.
Definition at line 528 of file AArch64Subtarget.cpp.
References llvm::Triple::getiOSVersion(), llvm::Triple::isDriverKit(), llvm::Triple::isiOS(), TargetTriple, and UseAddressTopByteIgnored.
Referenced by performLOADCombine(), and performSTORECombine().
|
inline |
Return whether FrameLowering should always set the "extended frame present" bit in FP, or set it based on a symbol in the runtime.
Definition at line 348 of file AArch64Subtarget.h.
References llvm::Triple::Darwin, getTargetTriple(), llvm::Triple::IOS, llvm::Triple::MacOSX, llvm::Triple::TvOS, and llvm::Triple::WatchOS.
Referenced by llvm::AArch64FrameLowering::emitPrologue().
|
override |
Definition at line 556 of file AArch64Subtarget.cpp.
References UseAA.
Referenced by addrSinkUsingGEPs().
|
inlineoverride |
Definition at line 157 of file AArch64Subtarget.h.
|
inline |
Definition at line 288 of file AArch64Subtarget.h.
References llvm::TargetMachine::getCodeModel(), llvm::TargetLoweringBase::getTargetMachine(), llvm::CodeModel::Kernel, llvm::CodeModel::Small, and TLInfo.
Referenced by ClassifyGlobalReference().
|
inline |
Definition at line 387 of file AArch64Subtarget.h.
References getMinSVEVectorSizeInBits(), isNeonAvailable(), and isSVEorStreamingSVEAvailable().
Referenced by llvm::AArch64TargetLowering::AArch64TargetLowering(), llvm::AArch64TTIImpl::areTypesABICompatible(), llvm::AArch64TTIImpl::getCastInstrCost(), llvm::AArch64TargetLowering::getNumRegistersForCallingConv(), llvm::AArch64TTIImpl::getRegisterBitWidth(), llvm::AArch64TargetLowering::getRegisterTypeForCallingConv(), llvm::AArch64TargetLowering::getVectorTypeBreakdownForCallingConv(), llvm::AArch64TargetLowering::isLegalInterleavedAccessType(), llvm::AArch64TargetLowering::mergeStoresAfterLegalization(), llvm::AArch64TargetLowering::optimizeExtendOrTruncateConversion(), performFPExtendCombine(), performSTORECombine(), llvm::AArch64TTIImpl::useNeonVector(), useSVEForFixedLengthVectors(), and llvm::AArch64TargetLowering::useSVEForFixedLengthVectorVT().
Definition at line 395 of file AArch64Subtarget.h.
References llvm::EVT::getFixedSizeInBits(), llvm::EVT::isFixedLengthVector(), isNeonAvailable(), llvm::AArch64::SVEBitsPerBlock, and useSVEForFixedLengthVectors().
|
protected |
ARMProcFamily - ARM processor family: Cortex-A53, Cortex-A57, and others.
Definition at line 49 of file AArch64Subtarget.h.
Referenced by getProcFamily().
|
protected |
Definition at line 61 of file AArch64Subtarget.h.
Referenced by getCacheLineSize().
|
protected |
GlobalISel related APIs.
Definition at line 101 of file AArch64Subtarget.h.
Referenced by AArch64Subtarget(), and getCallLowering().
|
protected |
Definition at line 81 of file AArch64Subtarget.h.
Referenced by hasCustomCallingConv(), and isXRegCustomCalleeSaved().
|
protected |
Definition at line 90 of file AArch64Subtarget.h.
Referenced by getSVETailFoldingDefaultOpts().
|
protected |
Definition at line 95 of file AArch64Subtarget.h.
Referenced by getFrameLowering().
|
protected |
Definition at line 64 of file AArch64Subtarget.h.
Referenced by getGatherOverhead().
|
protected |
Definition at line 102 of file AArch64Subtarget.h.
Referenced by AArch64Subtarget(), and getInlineAsmLowering().
|
protected |
Definition at line 96 of file AArch64Subtarget.h.
Referenced by getInstrInfo().
|
protected |
Definition at line 103 of file AArch64Subtarget.h.
Referenced by AArch64Subtarget(), and getInstructionSelector().
|
protected |
Definition at line 83 of file AArch64Subtarget.h.
Referenced by isLittleEndian().
|
protected |
Definition at line 85 of file AArch64Subtarget.h.
Referenced by isStreaming().
|
protected |
Definition at line 86 of file AArch64Subtarget.h.
Referenced by isStreamingCompatible().
|
protected |
Definition at line 104 of file AArch64Subtarget.h.
|
protected |
Definition at line 70 of file AArch64Subtarget.h.
Referenced by getMaxBytesForLoopAlignment().
|
protected |
Definition at line 59 of file AArch64Subtarget.h.
Referenced by getMaxInterleaveFactor().
|
protected |
Definition at line 72 of file AArch64Subtarget.h.
Referenced by getMaximumJumpTableSize().
|
protected |
Definition at line 67 of file AArch64Subtarget.h.
Referenced by getMaxPrefetchIterationsAhead().
|
protected |
Definition at line 88 of file AArch64Subtarget.h.
Referenced by getMaxSVEVectorSizeInBits().
|
protected |
Definition at line 71 of file AArch64Subtarget.h.
Referenced by getMinimumJumpTableEntries().
|
protected |
Definition at line 66 of file AArch64Subtarget.h.
Referenced by getMinPrefetchStride().
|
protected |
Definition at line 87 of file AArch64Subtarget.h.
Referenced by getMinSVEVectorSizeInBits().
|
protected |
Definition at line 52 of file AArch64Subtarget.h.
Referenced by getMinVectorRegisterBitWidth().
|
protected |
Definition at line 65 of file AArch64Subtarget.h.
Referenced by getPrefetchDistance().
|
protected |
Definition at line 68 of file AArch64Subtarget.h.
Referenced by getPrefFunctionAlignment().
|
protected |
Definition at line 69 of file AArch64Subtarget.h.
Referenced by getPrefLoopAlignment().
|
protected |
Definition at line 105 of file AArch64Subtarget.h.
Referenced by AArch64Subtarget(), and getRegBankInfo().
|
protected |
Definition at line 75 of file AArch64Subtarget.h.
Referenced by AArch64Subtarget(), getNumXRegisterReserved(), and isXRegisterReserved().
|
protected |
Definition at line 78 of file AArch64Subtarget.h.
Referenced by AArch64Subtarget(), getNumXRegisterReserved(), and isXRegisterReservedForRA().
|
protected |
Definition at line 63 of file AArch64Subtarget.h.
Referenced by getScatterOverhead().
|
protected |
TargetTriple - What processor and OS we're targeting.
Definition at line 93 of file AArch64Subtarget.h.
Referenced by getTargetTriple(), isTargetAndroid(), isTargetCOFF(), isTargetDarwin(), isTargetELF(), isTargetFuchsia(), isTargetILP32(), isTargetIOS(), isTargetLinux(), isTargetMachO(), isTargetWindows(), isWindowsArm64EC(), and supportsAddressTopByteIgnored().
|
protected |
Definition at line 98 of file AArch64Subtarget.h.
Referenced by getTargetLowering(), and useSmallAddressing().
|
protected |
Definition at line 97 of file AArch64Subtarget.h.
Referenced by getSelectionDAGInfo().
|
protected |
Definition at line 60 of file AArch64Subtarget.h.
Referenced by getVectorInsertExtractBaseCost().
|
protected |
Definition at line 89 of file AArch64Subtarget.h.
Referenced by getVScaleForTuning().