Home
last modified time | relevance | path

Searched refs:hasCalls (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCFrameLowering.cpp170 if (MFI.hasCalls() && !SavedBlink) { in emitPrologue()
213 if (MFI.hasCalls()) { in emitPrologue()
225 if ((hasFP(MF) && Reg == ARC::FP) || (MFI.hasCalls() && Reg == ARC::BLINK)) in emitPrologue()
274 if (MFI.hasCalls() && !SavedBlink) { in emitEpilogue()
361 if (MFI.hasCalls() || (UseSaveRestoreFunclet && Last > ARC::R14)) { in assignCalleeSavedSpillSlots()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetOptionsImpl.cpp37 return MF.getFrameInfo().hasCalls(); in DisableFramePointerElim()
H A DRegUsageInfoPropagate.cpp107 if (!MFI.hasCalls() && !MFI.hasTailCall()) in runOnMachineFunction()
H A DMIRPrinter.cpp362 YamlMFI.HasCalls = MFI.hasCalls(); in convert()
H A DPrologEpilogInserter.cpp680 if (!MFI.hasCalls()) in spillCalleeSavedRegs()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp53 bool hasCalls = false, hasDynamicAllocas = false, hasMemProfMetadata = false; in CloneBasicBlock() local
71 hasCalls = true; in CloneBasicBlock()
82 CodeInfo->ContainsCalls |= hasCalls; in CloneBasicBlock()
492 bool hasCalls = false, hasDynamicAllocas = false, hasStaticAllocas = false; in CloneBlock() local
551 hasCalls = true; in CloneBlock()
638 CodeInfo->ContainsCalls |= hasCalls; in CloneBlock()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFrameLowering.cpp151 MF.getFunction().hasPersonalityFn() && MF.getFrameInfo().hasCalls(); in needsSP()
176 bool CanUseRedZone = MFI.getStackSize() <= RedZoneSize && !MFI.hasCalls() && in getSPReg()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFrameLowering.cpp708 (MRI.isPhysRegUsed(AMDGPU::FLAT_SCR) || FrameInfo.hasCalls() || in emitEntryFunctionPrologue()
1547 FrameInfo.hasCalls() && in determinePrologEpilogSGPRSaves()
1676 FrameInfo.hasCalls() && (AllSavedRegs.any() || MFI->hasSpilledSGPRs()); in determineCalleeSavesSGPR()
1691 (FrameInfo.hasCalls() || MRI.isPhysRegModified(RetAddrReg))) { in determineCalleeSavesSGPR()
1819 if (MFI.hasCalls() && in hasFP()
1855 if (MFI.hasCalls()) in requiresStackPointerReference()
H A DAMDGPUResourceUsageAnalysis.cpp216 if (!FrameInfo.hasCalls() && !FrameInfo.hasTailCall()) { in analyzeResourceUsage()
H A DSIMachineFunctionInfo.cpp768 MF.getFrameInfo().hasCalls()) { in usesAGPRs()
H A DGCNHazardRecognizer.cpp2947 if (MF->getFrameInfo().hasCalls()) in fixRequiredExportPriority()
H A DSIRegisterInfo.cpp762 return MFI.hasStackObjects() || MFI.hasCalls(); in requiresRegisterScavenging()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DInstructionSelect.cpp307 if (MFI.hasCalls() && MF.hasInlineAsm()) in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEFrameLowering.cpp479 return !MFI.hasCalls() // No calls in isLeafProc()
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcFrameLowering.cpp329 return !(MFI.hasCalls() // has calls in isLeafProc()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineFrameInfo.h621 bool hasCalls() const { return HasCalls; } in hasCalls() function
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZFrameLowering.cpp262 if (MFFrame.hasCalls()) in determineCalleeSaves()
596 if (HasStackObject || MFFrame.hasCalls()) in emitPrologue()
927 if (MFFrame.hasCalls()) in isXPLeafCandidate()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DSampleProf.cpp136 if (hasCalls()) { in print()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYFrameLowering.cpp378 if (MF.getFunction().hasFnAttribute("interrupt") && MFI.hasCalls()) { in determineCalleeSaves()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kFrameLowering.cpp189 if (MFI.hasCalls()) in calculateMaxStackAlign()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FrameLowering.cpp1229 if (MFI.hasCalls()) in calculateMaxStackAlign()
2636 assert(!MFI.hasCalls() || (StackSize % 16) == 8); in getFrameIndexReference()
2655 assert((!MFI.hasCalls() || (FPDelta % 16) == 0) && in getFrameIndexReference()
3546 if (MFI.hasCalls()) { in adjustForHiPEPrologue()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProf.h390 bool hasCalls() const { return !CallTargets.empty(); }
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonFrameLowering.cpp1179 if ((MFI.hasCalls() && !enableAllocFrameElim(MF)) || HMFI.hasClobberLR()) in hasFP()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCFrameLowering.cpp2358 if (!EnablePEVectorSpills || MFI.hasCalls() || !Subtarget.hasP9Vector()) in assignCalleeSavedSpillSlots()
H A DPPCAsmPrinter.cpp2202 if (MF->getFrameInfo().hasCalls() || MF->getFrameInfo().hasTailCall() || in emitFunctionBodyStart()

12