| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMFrameLowering.cpp | 632 if (!AFI->isThumbFunction()) { in emitAligningInstructions() 690 if (AFI.isThumb1OnlyFunction()) in getMaxFPOffset() 746 if (!AFI->hasStackFrame() && in emitPrologue() 1198 if (!AFI->isThumbFunction()) { in emitPrologue() 1277 if (!AFI->hasStackFrame()) { in emitEpilogue() 1392 if (AFI->shouldSignReturnAddress() && !AFI->isCmseNSEntryFunction()) in emitEpilogue() 2221 if (!AFI->isThumb1OnlyFunction()) in canSpillOnFrameIndexAccess() 2268 if (AFI->isThumb2Function() && in determineCalleeSaves() 2415 if (AFI->hasStackFrame()) in determineCalleeSaves() 2485 AFI->setHasStackFrame(true); in determineCalleeSaves() [all …]
|
| H A D | ARMBaseRegisterInfo.cpp | 628 if (!AFI->isThumbFunction() || !AFI->isThumb1OnlyFunction()) in needsFrameBaseReg() 687 if (!AFI->isThumb1OnlyFunction()) in materializeFrameBaseRegister() 703 assert(!AFI->isThumb1OnlyFunction() && in resolveFrameIndex() 711 if (!AFI->isThumbFunction()) in resolveFrameIndex() 714 assert(AFI->isThumb2Function()); in resolveFrameIndex() 800 assert(!AFI->isThumb1OnlyFunction() && in eliminateFrameIndex() 826 if (!AFI->isThumbFunction()) in eliminateFrameIndex() 829 assert(AFI->isThumb2Function()); in eliminateFrameIndex() 864 if (!AFI->isThumbFunction()) in eliminateFrameIndex() 868 assert(AFI->isThumb2Function()); in eliminateFrameIndex() [all …]
|
| H A D | Thumb1FrameLowering.cpp | 193 if (!AFI->hasStackFrame()) { in emitPrologue() 293 AFI->setFrameRecordSavedAreaSize(FRSize); in emitPrologue() 347 AFI->setShouldRestoreSPFromFP(true); in emitPrologue() 448 AFI->setDPRCalleeSavedAreaSize(DPRCSSize); in emitPrologue() 478 AFI->setShouldRestoreSPFromFP(true); in emitPrologue() 494 AFI->setShouldRestoreSPFromFP(true); in emitPrologue() 518 if (!AFI->hasStackFrame()) { in emitEpilogue() 540 if (AFI->shouldRestoreSPFromFP()) { in emitEpilogue() 600 ARMFunctionInfo *AFI = in needPopSpecialFixUp() local 602 if (AFI->getArgRegsSaveSize()) in needPopSpecialFixUp() [all …]
|
| H A D | Thumb2ITBlockPass.cpp | 50 ARMFunctionInfo *AFI; member in __anon5ae439d60111::Thumb2ITBlock 290 AFI = Fn.getInfo<ARMFunctionInfo>(); in runOnMachineFunction() 295 if (!AFI->isThumbFunction()) in runOnMachineFunction() 303 AFI->setHasITBlocks(true); in runOnMachineFunction()
|
| H A D | ARMAsmPrinter.cpp | 70 if (AFI->isThumbFunction()) { in emitFunctionEntryLabel() 78 if (AFI->isCmseNSEntryFunction()) { in emitFunctionEntryLabel() 117 AFI = MF.getInfo<ARMFunctionInfo>(); in runOnMachineFunction() 128 for (auto *GV : AFI->getGlobalsPromotedToConstantPool()) in runOnMachineFunction() 1016 else if (AFI->isThumbFunction()) in emitJumpTableAddrs() 1297 AFI->EHPrologueRemappedRegs[DstReg] = SrcReg; in EmitUnwindingInstruction() 1305 CPI = AFI->getOriginalCPIdx(CPI); in EmitUnwindingInstruction() 1312 AFI->EHPrologueOffsetInRegs[DstReg] = Offset; in EmitUnwindingInstruction() 1317 AFI->EHPrologueOffsetInRegs[DstReg] = Offset; in EmitUnwindingInstruction() 1321 AFI->EHPrologueOffsetInRegs[DstReg] |= (Offset << 16); in EmitUnwindingInstruction() [all …]
|
| H A D | ARMAsmPrinter.h | 39 ARMFunctionInfo *AFI; variable
|
| H A D | ARMExpandPseudoInsts.cpp | 48 ARMFunctionInfo *AFI; member in __anonc17b80660111::ARMExpandPseudo 2194 if (AFI->shouldSignReturnAddress()) in ExpandMI() 2248 if (AFI->isThumb2Function()) { in ExpandMI() 2422 if (AFI->isThumb2Function()) { in ExpandMI() 2425 } else if (AFI->isThumbFunction()) { in ExpandMI() 2437 assert (!AFI->isThumb1OnlyFunction()); in ExpandMI() 2443 unsigned bicOpc = AFI->isThumbFunction() ? in ExpandMI() 2490 unsigned PCLabelID = AFI->createPICLabelUId(); in ExpandMI() 2580 ARMPCLabelIndex = AFI->createPICLabelUId(); in ExpandMI() 2612 unsigned LabelId = AFI->createPICLabelUId(); in ExpandMI() [all …]
|
| H A D | ARMConstantIslandPass.cpp | 217 ARMFunctionInfo *AFI; member in __anon2343e9610111::ARMConstantIslands 403 AFI = MF->getInfo<ARMFunctionInfo>(); in runOnMachineFunction() 406 isThumb = AFI->isThumbFunction(); in runOnMachineFunction() 407 isThumb1 = AFI->isThumb1OnlyFunction(); in runOnMachineFunction() 408 isThumb2 = AFI->isThumb2Function(); in runOnMachineFunction() 445 AFI->initPICLabelUId(CPEMIs.size()); in runOnMachineFunction() 514 AFI->recordCPEClone(i, CPE.CPI); in runOnMachineFunction() 1554 unsigned ID = AFI->createPICLabelUId(); in handleConstantPoolUser() 1715 if (!AFI->isLRSpilled()) in fixupUnconditionalBr()
|
| H A D | ARMBaseInstrInfo.cpp | 504 int BOpc = !AFI->isThumbFunction() in insertBranch() 506 int BccOpc = !AFI->isThumbFunction() in insertBranch() 508 bool isThumb = AFI->isThumbFunction() || AFI->isThumb2Function(); in insertBranch() 732 const ARMFunctionInfo *AFI = in isPredicable() local 748 if (AFI->isThumb2Function()) { in isPredicable() 1770 unsigned PCLabelId = AFI->createPICLabelUId(); in duplicateCPV() 5913 return AFI.branchTargetEnforcement(); in getOutliningCandidateInfo() 5930 return AFI.shouldSignReturnAddress(true); in getOutliningCandidateInfo() 6704 if (!AFI.isLRSpilled()) in insertOutlinedCall() 6708 if (!AFI.isLRSpilled()) in insertOutlinedCall() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64FrameLowering.cpp | 386 return AFI->getTailCallReservedStack(); in getFixedObjectSize() 903 if (AFI->getLocalStackSize() == 0) in shouldCombineCSRLocalStackBump() 1396 AFI->setHasRedZone(false); in emitPrologue() 1498 AFI->setLocalStackSize(NumBytes); in emitPrologue() 1504 AFI->setHasRedZone(true); in emitPrologue() 1578 if (AFI->hasSwiftAsyncContext()) { in emitPrologue() 1611 AFI->getCalleeSavedStackSize(); in emitPrologue() 1799 AFI->setStackRealigned(true); in emitPrologue() 2300 if (AFI->hasStackFrame() && !isSVE) { in resolveFrameOffsetReference() 2407 Offset -= AFI->getLocalStackSize(); in resolveFrameOffsetReference() [all …]
|
| H A D | AArch64CollectLOH.cpp | 384 static void handleADRP(const MachineInstr &MI, AArch64FunctionInfo &AFI, in handleADRP() argument 389 AFI.addLOHDirective(MCLOH_AdrpAdrp, {&MI, Info.LastADRP}); in handleADRP() 410 AFI.addLOHDirective(MCLOH_AdrpAdd, {&MI, Info.MI0}); in handleADRP() 418 AFI.addLOHDirective(MCLOH_AdrpLdr, {&MI, Info.MI0}); in handleADRP() 449 AFI.addLOHDirective(MCLOH_AdrpAddLdr, {&MI, Info.MI1, Info.MI0}); in handleADRP() 458 AFI.addLOHDirective(MCLOH_AdrpAddStr, {&MI, Info.MI1, Info.MI0}); in handleADRP() 466 AFI.addLOHDirective(MCLOH_AdrpLdrGotLdr, {&MI, Info.MI1, Info.MI0}); in handleADRP() 473 AFI.addLOHDirective(MCLOH_AdrpLdrGotStr, {&MI, Info.MI1, Info.MI0}); in handleADRP() 479 AFI.addLOHDirective(MCLOH_AdrpLdrGot, {&MI, Info.MI0}); in handleADRP() 544 AArch64FunctionInfo &AFI = *MF.getInfo<AArch64FunctionInfo>(); in runOnMachineFunction() local [all …]
|
| H A D | AArch64CompressJumpTables.cpp | 144 auto *AFI = MF->getInfo<AArch64FunctionInfo>(); in compressJumpTable() local 146 AFI->setJumpTableEntryInfo(JTIdx, 1, MinBlock->getSymbol()); in compressJumpTable() 152 AFI->setJumpTableEntryInfo(JTIdx, 2, MinBlock->getSymbol()); in compressJumpTable()
|
| H A D | AArch64CleanupLocalDynamicTLSPass.cpp | 47 AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in runOnMachineFunction() local 48 if (AFI->getNumLocalDynamicTLSAccesses() < 2) { in runOnMachineFunction()
|
| H A D | AArch64RegisterInfo.cpp | 402 const AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in hasBasePointer() local 405 if (!AFI->hasCalculatedStackSizeSVE() || AFI->getStackSizeSVE()) in hasBasePointer() 511 const AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in useFPForScavengingIndex() local 513 AFI->hasCalculatedStackSizeSVE()) && in useFPForScavengingIndex() 515 return TFI.hasFP(MF) && !hasStackRealignment(MF) && !AFI->getStackSizeSVE(); in useFPForScavengingIndex() 752 const AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in eliminateFrameIndex() local 755 AFI->getTaggedBasePointerOffset()); in eliminateFrameIndex()
|
| H A D | AArch64StackTaggingPreRA.cpp | 60 AArch64FunctionInfo *AFI; member in __anon92407cc80111::AArch64StackTaggingPreRA 342 AFI = MF->getInfo<AArch64FunctionInfo>(); in runOnMachineFunction() 383 AFI->setTaggedBasePointerIndex(*BaseSlot); in runOnMachineFunction()
|
| /llvm-project-15.0.7/llvm/lib/Target/AVR/ |
| H A D | AVRFrameLowering.cpp | 58 const AVRMachineFunctionInfo *AFI = MF.getInfo<AVRMachineFunctionInfo>(); in emitPrologue() local 62 if (AFI->isInterruptHandler()) { in emitPrologue() 70 if (AFI->isInterruptOrSignalHandler()) { in emitPrologue() 94 unsigned FrameSize = MFI.getStackSize() - AFI->getCalleeSavedFrameSize(); in emitPrologue() 134 const AVRMachineFunctionInfo *AFI = MF.getInfo<AVRMachineFunctionInfo>(); in restoreStatusRegister() local 144 if (AFI->isInterruptOrSignalHandler()) { in restoreStatusRegister() 155 const AVRMachineFunctionInfo *AFI = MF.getInfo<AVRMachineFunctionInfo>(); in emitEpilogue() local 159 if (!hasFP(MF) && !AFI->isInterruptOrSignalHandler()) { in emitEpilogue() 420 AVRMachineFunctionInfo *AFI = MF.getInfo<AVRMachineFunctionInfo>(); in runOnMachineFunction() local 431 AFI->setHasAllocas(true); in runOnMachineFunction() [all …]
|
| H A D | AVRRegisterInfo.cpp | 38 const AVRMachineFunctionInfo *AFI = MF->getInfo<AVRMachineFunctionInfo>(); in getCalleeSavedRegs() local 41 return AFI->isInterruptOrSignalHandler() ? CSR_InterruptsTiny_SaveList in getCalleeSavedRegs() 44 return AFI->isInterruptOrSignalHandler() ? CSR_Interrupts_SaveList in getCalleeSavedRegs()
|
| H A D | AVRInstrInfo.cpp | 134 AVRMachineFunctionInfo *AFI = MF.getInfo<AVRMachineFunctionInfo>(); in storeRegToStackSlot() local 136 AFI->setHasSpills(true); in storeRegToStackSlot()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARC/ |
| H A D | ARCFrameLowering.cpp | 118 auto *AFI = MF.getInfo<ARCFunctionInfo>(); in emitPrologue() local 136 unsigned VarArgsBytes = MFI.getObjectSize(AFI->getVarArgsFrameIndex()); in emitPrologue() 176 if (AFI->MaxCallStackReq > 0) in emitPrologue() 177 MFI.setStackSize(MFI.getStackSize() + AFI->MaxCallStackReq); in emitPrologue() 242 auto *AFI = MF.getInfo<ARCFunctionInfo>(); in emitEpilogue() local 323 unsigned VarArgsBytes = MFI.getObjectSize(AFI->getVarArgsFrameIndex()); in emitEpilogue() 475 auto *AFI = MF.getInfo<ARCFunctionInfo>(); in eliminateCallFramePseudoInstr() local 477 if (Amt > AFI->MaxCallStackReq && Old.getOpcode() == ARC::ADJCALLSTACKDOWN) in eliminateCallFramePseudoInstr() 478 AFI->MaxCallStackReq = Amt; in eliminateCallFramePseudoInstr()
|
| H A D | ARCISelLowering.cpp | 491 auto *AFI = MF.getInfo<ARCFunctionInfo>(); in LowerCallArguments() local 503 AFI->setReturnStackOffset(CCInfo.getNextStackOffset()); in LowerCallArguments() 561 auto *AFI = MF.getInfo<ARCFunctionInfo>(); in LowerCallArguments() local 572 AFI->setVarArgsFrameIndex(VarFI); in LowerCallArguments() 650 auto *AFI = DAG.getMachineFunction().getInfo<ARCFunctionInfo>(); in LowerReturn() local 663 CCInfo.AllocateStack(AFI->getReturnStackOffset(), Align(4)); in LowerReturn()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/ |
| H A D | atomicrmw-add-03.ll | 42 ; Check the next value up, which must use AFI. 51 ; Check the high end of the AFI range. 87 ; Check the next value down, which must use AFI instead.
|
| H A D | atomicrmw-sub-03.ll | 42 ; Check the next value down, which must use AFI. 51 ; Check the low end of the AFI range. 87 ; Check the next value down, which must use AFI instead.
|
| H A D | int-add-14.ll | 24 ; Check the next value up, which must use AFI instead. 51 ; Check the next value down, which must use AFI instead.
|
| H A D | int-add-06.ll | 23 ; Check the next value up, which must use AFI instead. 68 ; Check the next value down, which must use AFI instead.
|
| H A D | int-ssub-06.ll | 40 ; Check the next value up, which must use AFI instead. 91 ; and can use AFI again. 139 ; Check the next value down, which must use AFI instead.
|