Home
last modified time | relevance | path

Searched refs:isTailCall (Results 1 – 25 of 69) sorted by relevance

123

/llvm-project-15.0.7/bolt/lib/Passes/
H A DInliner.cpp172 if (BC.MIB->isTailCall(Inst)) in getInliningInfo()
214 !BC.MIB->isTailCall(*LastInst)) { in getInliningInfo()
251 const bool CSIsTailCall = BC.MIB->isTailCall(*CallInst); in inlineCall()
439 const bool IsTailCall = BC.MIB->isTailCall(Inst); in inlineCallsInFunction()
H A DRetpolineInsertion.cpp246 BrInfo.isJump() || BrInfo.isTailCall()); in createBranchReplacement()
253 IsTailCall = MIB.isTailCall(Inst); in IndirectBranchInfo()
309 int Addend = (BrInfo.isJump() || BrInfo.isTailCall()) ? 8 : 16; in runOnFunctions()
H A DBinaryPasses.cpp711 const bool IsTailCall = MIB->isTailCall(*Inst); in fixDoubleJumps()
807 if (!MIB->isTailCall(*Instr) || MIB->isConditionalBranch(*Instr)) in fixTailCalls()
1038 if (Inst && MIB->isTailCall(*Inst) && MIB->isIndirectBranch(*Inst)) { in addTailcallTraps()
1645 const bool IsTailCall = BC.MIB->isTailCall(Inst); in runOnFunctions()
1741 if (BC.MIB->isTailCall(Inst)) in runOnFunctions()
H A DValidateInternalCalls.cpp203 if (BC.MIB->isTailCall(Inst)) in hasTailCallsInRange()
H A DAsmDump.cpp237 else if (BC.MIB->isTailCall(Instr)) in dumpFunction()
H A DIndirectCallPromotion.cpp756 (MIB->isTailCall(CallInst) || Function.getJumpTable(CallInst)); in rewriteCall()
1093 const bool IsTailCall = BC.MIB->isTailCall(Inst); in printCallsiteInfo()
1249 const bool IsTailCall = BC.MIB->isTailCall(Inst); in runOnFunctions()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DXRayInstrumentation.cpp103 if (TII->isTailCall(T) && op.HandleTailcall) { in replaceRetWithPatchableRet()
134 if (TII->isTailCall(T) && op.HandleTailcall) { in prependRetWithPatchableExit()
H A DCodeGenCommonISel.cpp136 if (TII.isTailCall(*SplitPoint) && in findSplitPointForStackProtector()
H A DTargetFrameLoweringImpl.cpp161 if (CB->isTailCall()) in isSafeForNoCSROpt()
/llvm-project-15.0.7/bolt/include/bolt/Passes/
H A DRetpolineInsertion.h31 bool isTailCall() const { return IsTailCall; } in isTailCall() function
H A DLivenessAnalysis.h150 (!BC.MIB->isTailCall(Point) || !BC.MIB->isConditionalBranch(Point))) { in computeNext()
/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/Orc/
H A DIndirectionUtilsTest.cpp42 EXPECT_TRUE(Call->isTailCall()) << "Indirect call from stub should be tail call."; in TEST()
/llvm-project-15.0.7/llvm/lib/Transforms/ObjCARC/
H A DPtrState.cpp197 SetTailCallRelease(cast<CallInst>(I)->isTailCall()); in InitBottomUp()
366 SetTailCallRelease(cast<CallInst>(Release)->isTailCall()); in MatchWithRelease()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DTailRecursionElimination.cpp242 if (!CI || CI->isTailCall() || isa<DbgInfoIntrinsic>(&I) || in markTails()
473 assert((!CI->isTailCall() || !CI->isNoTailCall()) && in findTRECandidate()
475 if (!CI->isTailCall()) in findTRECandidate()
/llvm-project-15.0.7/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.h143 bool isTailCall,
H A DMSP430ISelLowering.cpp594 bool &isTailCall = CLI.IsTailCall; in LowerCall() local
599 isTailCall = false; in LowerCall()
607 return LowerCCCCallTo(Chain, Callee, CallConv, isVarArg, isTailCall, in LowerCall()
807 bool isTailCall, const SmallVectorImpl<ISD::OutputArg> &Outs, in LowerCCCCallTo() argument
/llvm-project-15.0.7/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
H A DRenderScriptx86ABIFixups.cpp190 new_call_inst->setTailCall(call_inst->isTailCall()); in fixupX86StructRetCalls()
/llvm-project-15.0.7/llvm/lib/Target/XCore/
H A DXCoreISelLowering.h153 bool isTailCall,
/llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/
H A DCoroElide.cpp97 if (Call->isTailCall() && operandReferences(Call, Frame, AA) && in removeTailCallAttribute()
/llvm-project-15.0.7/bolt/lib/Target/X86/
H A DX86MCPlusBuilder.cpp96 return Analysis->isBranch(Inst) && !isTailCall(Inst); in isBranch()
1694 if (isTailCall(Inst)) in convertJmpToTailCall()
1769 (Inst.getOpcode() == X86::JMP_4 && isTailCall(Inst))) && in convertCallToIndirectCall()
1795 bool IsTailCall = isTailCall(Inst); in convertIndirectCallToLoad()
1934 if (Inst.getOpcode() == X86::JMP_4 && isTailCall(Inst)) { in lowerTailCall()
1988 !isTailCall(*I)) { in analyzeBranch()
3056 if (OpCode == X86::CALL64m || (OpCode == X86::JMP32m && isTailCall(Inst)) || in isBranchOnMem()
3065 if (OpCode == X86::CALL64r || (OpCode == X86::JMP32r && isTailCall(Inst)) || in isBranchOnReg()
3421 const bool IsTailCall = isTailCall(CallInst); in indirectCallPromotion()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h1043 bool AlwaysInline, bool isTailCall,
1050 SDValue Size, Align Alignment, bool isVol, bool isTailCall,
1058 bool AlwaysInline, bool isTailCall,
1064 unsigned ElemSz, bool isTailCall,
1070 unsigned ElemSz, bool isTailCall,
1076 unsigned ElemSz, bool isTailCall,
/llvm-project-15.0.7/llvm/lib/IR/
H A DInstruction.cpp459 return CI->isTailCall() == cast<CallInst>(I2)->isTailCall() && in haveSameSpecialState()
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DMCPlusBuilder.h366 return Analysis->isUnconditionalBranch(Inst) && !isTailCall(Inst); in isUnconditionalBranch()
454 return Analysis->isCall(Inst) || isTailCall(Inst); in isCall()
1032 bool isTailCall(const MCInst &Inst) const;
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.h337 bool isTailCall(const MachineInstr &MI) const override;
/llvm-project-15.0.7/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp801 bool &isTailCall = CLI.IsTailCall; in LowerCall_32() local
811 isTailCall = isTailCall && IsEligibleForTailCallOptimization( in LowerCall_32()
851 assert(!isTailCall || ArgsSize == 0); in LowerCall_32()
853 if (!isTailCall) in LowerCall_32()
900 if (isTailCall) in LowerCall_32()
1016 if (!isTailCall) in LowerCall_32()
1043 if (!isTailCall) in LowerCall_32()
1060 if (isTailCall) { in LowerCall_32()

123