LLVM 20.0.0git
|
#include "Target/AArch64/AArch64Subtarget.h"
Public Types | |
enum | ARMProcFamilyEnum : uint8_t { Others } |
Definition at line 38 of file AArch64Subtarget.h.
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 348 of file AArch64Subtarget.cpp.
References CallLoweringInfo, llvm::StringMap< ValueTy, AllocatorTy >::count(), llvm::createAArch64InstructionSelector(), EnableSubregLiveness, EnableSubregLivenessTracking, getRegisterInfo(), getTargetLowering(), InlineAsmLoweringInfo, llvm::StringSet< AllocatorTy >::insert(), InstSelector, llvm::AArch64::isX18ReservedByDefault(), RegBankInfo, ReservedRegsForRA, ReserveXRegister, ReserveXRegisterForRA, llvm::BitVector::set(), and TRI.
|
inlineoverride |
Definition at line 298 of file AArch64Subtarget.h.
References isTargetILP32(), and useAA().
|
override |
Definition at line 511 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 332 of file AArch64Subtarget.h.
unsigned AArch64Subtarget::classifyGlobalFunctionReference | ( | const GlobalValue * | GV, |
const TargetMachine & | TM | ||
) | const |
Definition at line 463 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 423 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 550 of file AArch64Subtarget.cpp.
References EnableEarlyIfConvert.
|
override |
Definition at line 631 of file AArch64Subtarget.cpp.
|
inlineoverride |
Definition at line 157 of file AArch64Subtarget.h.
|
inlineoverride |
Definition at line 158 of file AArch64Subtarget.h.
|
inlineoverride |
Definition at line 159 of file AArch64Subtarget.h.
References EnableSubregLiveness.
AArch64PAuth::AuthCheckMethod AArch64Subtarget::getAuthenticatedLRCheckMethod | ( | const MachineFunction & | MF | ) | const |
Choose a method of checking LR before performing a tail call.
Definition at line 605 of file AArch64Subtarget.cpp.
References AuthenticatedLRCheckMethod, llvm::MachineFunction::getFunction(), llvm::Function::hasFnAttribute(), llvm::AArch64PAuth::HighBitsNoTBI, and llvm::AArch64PAuth::None.
Referenced by llvm::AArch64InstrInfo::getInstSizeInBytes().
|
inlineoverride |
Definition at line 246 of file AArch64Subtarget.h.
References CacheLineSize.
|
override |
Definition at line 400 of file AArch64Subtarget.cpp.
References CallLoweringInfo.
Definition at line 428 of file AArch64Subtarget.h.
References isWindowsArm64EC().
Referenced by llvm::AArch64FrameLowering::emitPrologue().
|
override |
Definition at line 568 of file AArch64Subtarget.cpp.
|
inline |
Definition at line 241 of file AArch64Subtarget.h.
References EpilogueVectorizationMinVF.
Referenced by llvm::AArch64TTIImpl::getEpilogueVectorizationMinVF().
|
inlineoverride |
Definition at line 141 of file AArch64Subtarget.h.
References FrameLowering.
Referenced by llvm::AArch64FunctionInfo::AArch64FunctionInfo().
|
inline |
Definition at line 248 of file AArch64Subtarget.h.
References GatherOverhead.
|
override |
Definition at line 404 of file AArch64Subtarget.cpp.
References InlineAsmLoweringInfo.
|
inlineoverride |
Definition at line 147 of file AArch64Subtarget.h.
References InstrInfo.
Referenced by BuildPACM(), llvm::AArch64TargetLowering::EmitAllocateZABuffer(), emitDefineCFAWithFP(), llvm::AArch64TargetLowering::EmitF128CSEL(), llvm::AArch64TargetLowering::EmitFill(), llvm::AArch64TargetLowering::EmitInitTPIDR2Object(), llvm::AArch64TargetLowering::EmitInstrWithCustomInserter(), emitPACCFI(), 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 408 of file AArch64Subtarget.cpp.
References InstSelector.
|
override |
Definition at line 412 of file AArch64Subtarget.cpp.
|
inline |
Definition at line 264 of file AArch64Subtarget.h.
References MaxBytesForLoopAlignment.
Referenced by llvm::AArch64TargetLowering::AArch64TargetLowering().
|
inline |
Definition at line 268 of file AArch64Subtarget.h.
References MaxJumpTableSize.
Referenced by llvm::AArch64TargetLowering::AArch64TargetLowering().
|
inline |
Definition at line 244 of file AArch64Subtarget.h.
References MaxInterleaveFactor.
Referenced by llvm::AArch64TTIImpl::getMaxInterleaveFactor().
|
inlineoverride |
Definition at line 256 of file AArch64Subtarget.h.
References MaxPrefetchIterationsAhead.
|
inline |
Definition at line 391 of file AArch64Subtarget.h.
References assert(), isSVEorStreamingSVEAvailable(), and MaxSVEVectorSizeInBits.
Referenced by findMoreOptimalIndexType(), llvm::AArch64TargetLowering::lowerInterleavedLoad(), and llvm::AArch64TargetLowering::lowerInterleavedStore().
|
inline |
Definition at line 269 of file AArch64Subtarget.h.
References MinimumJumpTableEntries.
|
inlineoverride |
Definition at line 250 of file AArch64Subtarget.h.
References MinPrefetchStride.
|
inline |
Definition at line 397 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 210 of file AArch64Subtarget.h.
References isNeonAvailable(), isSVEAvailable(), and MinVectorRegisterBitWidth.
|
inline |
Definition at line 222 of file AArch64Subtarget.h.
References llvm::BitVector::count(), ReserveXRegister, and ReserveXRegisterForRA.
Referenced by llvm::AArch64RegisterInfo::getRegPressureLimit().
|
inlineoverride |
Definition at line 249 of file AArch64Subtarget.h.
References PrefetchDistance.
|
inline |
Definition at line 259 of file AArch64Subtarget.h.
References PrefFunctionAlignment.
Referenced by llvm::AArch64TargetLowering::AArch64TargetLowering().
|
inline |
Definition at line 262 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 168 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 621 of file AArch64Subtarget.cpp.
References llvm::Value::getName(), llvm::getPointerAuthStableSipHash(), and llvm::Function::hasFnAttribute().
|
override |
Definition at line 416 of file AArch64Subtarget.cpp.
References RegBankInfo.
Referenced by llvm::AArch64CallLowering::lowerCall().
|
inlineoverride |
Definition at line 148 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 247 of file AArch64Subtarget.h.
References ScatterOverhead.
Definition at line 434 of file AArch64Subtarget.h.
References isWindowsArm64EC().
Referenced by llvm::AArch64TargetLowering::getSSPStackGuardCheck(), and llvm::AArch64TargetLowering::insertSSPDeclarations().
|
inlineoverride |
Definition at line 138 of file AArch64Subtarget.h.
References TSInfo.
|
inline |
Returns the size of memory region that if accessed by both the CPU and the SME unit could result in a hazard.
0 = disabled.
Definition at line 182 of file AArch64Subtarget.h.
References StreamingHazardSize.
|
inline |
Definition at line 420 of file AArch64Subtarget.h.
References DefaultSVETFOpts.
Referenced by llvm::AArch64TTIImpl::preferPredicateOverEpilogue().
|
inlineoverride |
Definition at line 144 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 156 of file AArch64Subtarget.h.
References TargetTriple.
Referenced by classifyGlobalFunctionReference(), ClassifyGlobalReference(), llvm::AArch64FrameLowering::emitPrologue(), llvm::AArch64TargetLowering::getSDagStackGuard(), llvm::AArch64TargetLowering::getSSPStackGuardCheck(), hasELFSignedGOTHelper(), llvm::AArch64TargetLowering::insertSSPDeclarations(), llvm::AArch64TargetLowering::shouldInsertTrailingFenceForAtomicStore(), ShouldSignWithBKey(), and swiftAsyncContextIsDynamicallySet().
unsigned AArch64Subtarget::getVectorInsertExtractBaseCost | ( | ) | const |
Definition at line 100 of file AArch64Subtarget.cpp.
References OverrideVectorInsertExtractBaseCost, and VectorInsertExtractBaseCost.
Referenced by llvm::AArch64TTIImpl::getScalarizationOverhead().
|
inline |
Definition at line 418 of file AArch64Subtarget.h.
References VScaleForTuning.
|
inline |
Definition at line 232 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 235 of file AArch64Subtarget.h.
|
inline |
Definition at line 346 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 277 of file AArch64Subtarget.h.
References IsLittle.
Referenced by llvm::AArch64TargetLowering::AArch64TargetLowering(), combineI8TruncStore(), llvm::AArch64TargetLowering::optimizeExtendOrTruncateConversion(), and performLOADCombine().
|
inline |
Definition at line 228 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 187 of file AArch64Subtarget.h.
References isStreaming(), and isStreamingCompatible().
Referenced by llvm::AArch64TargetLowering::AArch64TargetLowering(), llvm::AArch64InstrInfo::buildClearRegister(), llvm::AArch64TargetLowering::canMergeStoresTo(), 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(), tryLowerPartialReductionToDot(), useSVEForFixedLengthVectors(), and vectorToScalarBitmask().
|
inline |
Returns true if the function has a streaming body.
Definition at line 175 of file AArch64Subtarget.h.
References IsStreaming.
Referenced by llvm::AArch64TargetLowering::AArch64TargetLowering(), enableMultiVectorSpillFill(), isNeonAvailable(), isStreamingSVEAvailable(), isSVEAvailable(), and tryToReplaceScalarFPConversionWithSVE().
|
inline |
Returns true if the function has a streaming-compatible body.
Definition at line 178 of file AArch64Subtarget.h.
References IsStreamingCompatible.
Referenced by isNeonAvailable(), isSVEAvailable(), and tryToReplaceScalarFPConversionWithSVE().
|
inline |
Returns true if the target has access to the streaming-compatible subset of SVE instructions.
Definition at line 202 of file AArch64Subtarget.h.
References isStreaming().
Referenced by isSVEorStreamingSVEAvailable(), and tryLowerPartialReductionToWideAdd().
|
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 195 of file AArch64Subtarget.h.
References isStreaming(), and isStreamingCompatible().
Referenced by llvm::AArch64TargetLowering::AArch64TargetLowering(), llvm::AArch64TTIImpl::enableScalableVectorization(), getMinVectorRegisterBitWidth(), llvm::AArch64TTIImpl::getRegisterBitWidth(), and llvm::AArch64TargetLowering::shouldExpandVectorMatch().
|
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 206 of file AArch64Subtarget.h.
References isStreamingSVEAvailable().
Referenced by llvm::AArch64TargetLowering::AArch64TargetLowering(), llvm::AArch64InstrInfo::buildClearRegister(), 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(), tryLowerPartialReductionToDot(), tryToReplaceScalarFPConversionWithSVE(), useSVEForFixedLengthVectors(), and llvm::AArch64TargetLowering::useSVEForFixedLengthVectorVT().
|
inline |
Definition at line 283 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 287 of file AArch64Subtarget.h.
References llvm::Triple::isOSBinFormatCOFF(), and TargetTriple.
|
inline |
Definition at line 279 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 288 of file AArch64Subtarget.h.
References llvm::Triple::isOSBinFormatELF(), and TargetTriple.
|
inline |
Definition at line 284 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 291 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 280 of file AArch64Subtarget.h.
References llvm::Triple::isiOS(), and TargetTriple.
|
inline |
Definition at line 281 of file AArch64Subtarget.h.
References llvm::Triple::isOSLinux(), and TargetTriple.
Referenced by llvm::AArch64RegisterInfo::getCustomEHPadPreservedMask().
|
inline |
Definition at line 289 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 282 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 285 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 172 of file AArch64Subtarget.h.
|
inline |
Definition at line 229 of file AArch64Subtarget.h.
References CustomCallSavedXRegs.
Referenced by llvm::AArch64RegisterInfo::UpdateCustomCalleeSavedRegs(), and llvm::AArch64RegisterInfo::UpdateCustomCallPreservedMask().
|
inline |
Definition at line 220 of file AArch64Subtarget.h.
References ReserveXRegister.
Referenced by llvm::AArch64RegisterInfo::getStrictlyReservedRegs(), and llvm::AArch64FunctionInfo::needsShadowCallStackPrologueEpilogue().
|
inline |
Definition at line 221 of file AArch64Subtarget.h.
References ReserveXRegisterForRA.
Referenced by llvm::AArch64RegisterInfo::getReservedRegs().
|
override |
Definition at line 572 of file AArch64Subtarget.cpp.
References llvm::MachineFrameInfo::computeMaxCallFrameSize(), llvm::MachineFunction::getFrameInfo(), and llvm::MachineFrameInfo::isMaxCallFrameSizeComputed().
|
override |
Definition at line 499 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 554 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 364 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 582 of file AArch64Subtarget.cpp.
References UseAA.
Referenced by addrSinkUsingGEPs().
|
inlineoverride |
Definition at line 162 of file AArch64Subtarget.h.
bool AArch64Subtarget::useScalarIncVL | ( | ) | const |
Returns true to use the addvl/inc/dec instructions, as opposed to separate add + cnt instructions.
Definition at line 584 of file AArch64Subtarget.cpp.
References UseScalarIncVL.
|
inline |
Definition at line 304 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 403 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 411 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 62 of file AArch64Subtarget.h.
Referenced by getCacheLineSize().
|
protected |
GlobalISel related APIs.
Definition at line 105 of file AArch64Subtarget.h.
Referenced by AArch64Subtarget(), and getCallLowering().
|
protected |
Definition at line 82 of file AArch64Subtarget.h.
Referenced by hasCustomCallingConv(), and isXRegCustomCalleeSaved().
|
protected |
Definition at line 92 of file AArch64Subtarget.h.
Referenced by getSVETailFoldingDefaultOpts().
|
protected |
Definition at line 94 of file AArch64Subtarget.h.
Referenced by AArch64Subtarget(), and enableSubRegLiveness().
|
protected |
Definition at line 59 of file AArch64Subtarget.h.
Referenced by getEpilogueVectorizationMinVF().
|
protected |
Definition at line 99 of file AArch64Subtarget.h.
Referenced by getFrameLowering().
|
protected |
Definition at line 65 of file AArch64Subtarget.h.
Referenced by getGatherOverhead().
|
protected |
Definition at line 106 of file AArch64Subtarget.h.
Referenced by AArch64Subtarget(), and getInlineAsmLowering().
|
protected |
Definition at line 100 of file AArch64Subtarget.h.
Referenced by getInstrInfo().
|
protected |
Definition at line 107 of file AArch64Subtarget.h.
Referenced by AArch64Subtarget(), and getInstructionSelector().
|
protected |
Definition at line 84 of file AArch64Subtarget.h.
Referenced by isLittleEndian().
|
protected |
Definition at line 86 of file AArch64Subtarget.h.
Referenced by isStreaming().
|
protected |
Definition at line 87 of file AArch64Subtarget.h.
Referenced by isStreamingCompatible().
|
protected |
Definition at line 108 of file AArch64Subtarget.h.
|
protected |
Definition at line 71 of file AArch64Subtarget.h.
Referenced by getMaxBytesForLoopAlignment().
|
protected |
Definition at line 60 of file AArch64Subtarget.h.
Referenced by getMaxInterleaveFactor().
|
protected |
Definition at line 73 of file AArch64Subtarget.h.
Referenced by getMaximumJumpTableSize().
|
protected |
Definition at line 68 of file AArch64Subtarget.h.
Referenced by getMaxPrefetchIterationsAhead().
|
protected |
Definition at line 90 of file AArch64Subtarget.h.
Referenced by getMaxSVEVectorSizeInBits().
|
protected |
Definition at line 72 of file AArch64Subtarget.h.
Referenced by getMinimumJumpTableEntries().
|
protected |
Definition at line 67 of file AArch64Subtarget.h.
Referenced by getMinPrefetchStride().
|
protected |
Definition at line 89 of file AArch64Subtarget.h.
Referenced by getMinSVEVectorSizeInBits().
|
protected |
Definition at line 52 of file AArch64Subtarget.h.
Referenced by getMinVectorRegisterBitWidth().
|
protected |
Definition at line 66 of file AArch64Subtarget.h.
Referenced by getPrefetchDistance().
|
protected |
Definition at line 69 of file AArch64Subtarget.h.
Referenced by getPrefFunctionAlignment().
|
protected |
Definition at line 70 of file AArch64Subtarget.h.
Referenced by getPrefLoopAlignment().
|
protected |
Definition at line 109 of file AArch64Subtarget.h.
Referenced by AArch64Subtarget(), and getRegBankInfo().
|
protected |
Definition at line 76 of file AArch64Subtarget.h.
Referenced by AArch64Subtarget(), getNumXRegisterReserved(), and isXRegisterReserved().
|
protected |
Definition at line 79 of file AArch64Subtarget.h.
Referenced by AArch64Subtarget(), getNumXRegisterReserved(), and isXRegisterReservedForRA().
|
protected |
Definition at line 64 of file AArch64Subtarget.h.
Referenced by getScatterOverhead().
|
protected |
Definition at line 88 of file AArch64Subtarget.h.
Referenced by getStreamingHazardSize().
|
protected |
TargetTriple - What processor and OS we're targeting.
Definition at line 97 of file AArch64Subtarget.h.
Referenced by getTargetTriple(), isTargetAndroid(), isTargetCOFF(), isTargetDarwin(), isTargetELF(), isTargetFuchsia(), isTargetILP32(), isTargetIOS(), isTargetLinux(), isTargetMachO(), isTargetWindows(), isWindowsArm64EC(), and supportsAddressTopByteIgnored().
|
protected |
Definition at line 102 of file AArch64Subtarget.h.
Referenced by getTargetLowering(), and useSmallAddressing().
|
protected |
Definition at line 101 of file AArch64Subtarget.h.
Referenced by getSelectionDAGInfo().
|
protected |
Definition at line 61 of file AArch64Subtarget.h.
Referenced by getVectorInsertExtractBaseCost().
|
protected |
Definition at line 91 of file AArch64Subtarget.h.
Referenced by getVScaleForTuning().