Home
last modified time | relevance | path

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

12

/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.h574 SDValue FinishCall(CallingConv::ID CallConv, SDLoc dl, bool isTailCall,
640 bool isVarArg, bool isTailCall,
649 bool isVarArg, bool isTailCall,
657 bool isVarArg, bool isTailCall,
DPPCISelLowering.cpp3073 static int CalculateTailCallSPDiff(SelectionDAG& DAG, bool isTailCall, in CalculateTailCallSPDiff() argument
3076 if (!isTailCall) return 0; in CalculateTailCallSPDiff()
3281 unsigned ArgOffset, bool isPPC64, bool isTailCall, in LowerMemOpCallTo() argument
3286 if (!isTailCall) { in LowerMemOpCallTo()
3332 SDValue &Chain, SDLoc dl, int SPDiff, bool isTailCall, in PrepareCall() argument
3486 if (isTailCall) in PrepareCall()
3496 if (isTailCall) in PrepareCall()
3565 bool isTailCall, bool isVarArg, in FinishCall() argument
3577 isTailCall, RegsToPass, Ops, NodeTys, in FinishCall()
3601 if (isTailCall) { in FinishCall()
[all …]
/external/llvm/lib/Transforms/Scalar/
DTailRecursionElimination.cpp300 if (!CI || CI->isTailCall()) in markTails()
592 if (CI->isTailCall() && CannotTailCallElimCallsMarkedTail) in FindTRECandidate()
696 TailCallsAreMarkedTail = CI->isTailCall(); in EliminateRecursiveTailCall()
726 if (TailCallsAreMarkedTail && !CI->isTailCall()) in EliminateRecursiveTailCall()
/external/llvm/include/llvm/IR/
DCallSite.h170 bool isTailCall() const { in isTailCall() function
171 return isCall() && cast<CallInst>(getInstruction())->isTailCall(); in isTailCall()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp404 bool &isTailCall = CLI.IsTailCall; in LowerCall() local
440 if(isTailCall) { in LowerCall()
443 isTailCall = IsEligibleForTailCallOptimization(Callee, CallConv, in LowerCall()
450 isTailCall = false; in LowerCall()
454 if (isTailCall) { in LowerCall()
528 if (!isTailCall) in LowerCall()
538 if (!isTailCall) { in LowerCall()
547 if (isTailCall) { in LowerCall()
598 if (isTailCall) in LowerCall()
/external/llvm/lib/IR/
DInstruction.cpp287 return CI->isTailCall() == cast<CallInst>(I2)->isTailCall() && in haveSameSpecialState()
DCore.cpp1922 return unwrap<CallInst>(Call)->isTailCall(); in LLVMIsTailCall()
1925 void LLVMSetTailCall(LLVMValueRef Call, LLVMBool isTailCall) { in LLVMSetTailCall() argument
1926 unwrap<CallInst>(Call)->setTailCall(isTailCall); in LLVMSetTailCall()
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.h128 bool isTailCall,
DMSP430ISelLowering.cpp401 bool &isTailCall = CLI.IsTailCall; in LowerCall() local
406 isTailCall = false; in LowerCall()
413 return LowerCCCCallTo(Chain, Callee, CallConv, isVarArg, isTailCall, in LowerCall()
577 bool isTailCall, in LowerCCCCallTo() argument
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.h138 bool isTailCall,
DXCoreISelLowering.cpp1041 bool &isTailCall = CLI.IsTailCall; in LowerCall() local
1046 isTailCall = false; in LowerCall()
1055 return LowerCCCCallTo(Chain, Callee, CallConv, isVarArg, isTailCall, in LowerCall()
1112 bool isTailCall, in LowerCCCCallTo() argument
/external/llvm/lib/CodeGen/
DStackProtector.cpp308 if (CI->isTailCall() && in FindPotentialTailCall()
/external/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp265 if (cast<CallInst>(Call)->isTailCall()) in DeleteDeadVarargs()
933 if (cast<CallInst>(Call)->isTailCall()) in RemoveDeadStuffFromFunction()
DArgumentPromotion.cpp754 if (cast<CallInst>(Call)->isTailCall()) in DoPromotion()
/external/llvm/lib/Analysis/
DLint.cpp258 if (CS.isCall() && cast<CallInst>(CS.getInstruction())->isTailCall()) in visitCallSite()
DBasicAliasAnalysis.cpp820 if (CI->isTailCall()) in getModRefInfo()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1445 if (CI->isTailCall()) in transformConstExprCastCall()
1622 if (cast<CallInst>(Caller)->isTailCall()) in transformCallThroughTrampoline()
/external/llvm/lib/Target/ARM/
DARMFrameLowering.cpp883 bool isTailCall = (RetOpcode == ARM::TCRETURNdi || in emitPopInst() local
901 if (Reg == ARM::LR && !isTailCall && !isVarArg && !isInterrupt && in emitPopInst()
DARMISelLowering.cpp1388 bool &isTailCall = CLI.IsTailCall; in LowerCall() local
1400 isTailCall = false; in LowerCall()
1402 if (isTailCall) { in LowerCall()
1404 isTailCall = IsEligibleForTailCallOptimization(Callee, CallConv, in LowerCall()
1407 if (!isTailCall && CLI.CS && CLI.CS->isMustTailCall()) in LowerCall()
1412 if (isTailCall) { in LowerCall()
1572 if (!isTailCall) in LowerCall()
1580 if (isTailCall) { in LowerCall()
1741 if (!isTailCall) { in LowerCall()
1766 if (isTailCall) in LowerCall()
[all …]
/external/llvm/lib/Transforms/ObjCARC/
DObjCARCOpts.cpp1750 S.SetTailCallRelease(cast<CallInst>(Inst)->isTailCall()); in VisitInstructionBottomUp()
2035 S.SetTailCallRelease(cast<CallInst>(Inst)->isTailCall()); in VisitInstructionTopDown()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp5440 bool isTailCall, in LowerCallTo() argument
5493 if (isTailCall && !isInTailCallPosition(CS, DAG)) in LowerCallTo()
5494 isTailCall = false; in LowerCallTo()
5498 .setCallee(RetTy, FTy, Callee, std::move(Args), CS).setTailCall(isTailCall); in LowerCallTo()
5501 assert((isTailCall || Result.second.getNode()) && in LowerCallTo()
6028 LowerCallTo(&I, Callee, I.isTailCall()); in visitCall()
DLegalizeDAG.cpp2057 bool isTailCall = TLI.isInTailCallPosition(DAG, Node, TCChain); in ExpandLibCall() local
2058 if (isTailCall) in ExpandLibCall()
2064 .setTailCall(isTailCall).setSExtResult(isSigned).setZExtResult(!isSigned); in ExpandLibCall()
/external/clang/lib/CodeGen/
DCGObjC.cpp1798 bool isTailCall = false) { in emitARCValueOperation() argument
1813 if (isTailCall) in emitARCValueOperation()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp2168 if (!CI->isTailCall() || getTargetMachine().Options.DisableTailCalls) in mayBeEmittedAsTailCall()
2578 bool &isTailCall = CLI.IsTailCall; in LowerCall() local
2588 isTailCall = false; in LowerCall()
2595 isTailCall = true; in LowerCall()
2596 } else if (isTailCall) { in LowerCall()
2598 isTailCall = IsEligibleForTailCallOptimization(Callee, CallConv, in LowerCall()
2605 if (!MF.getTarget().Options.GuaranteedTailCallOpt && isTailCall) in LowerCall()
2608 if (isTailCall) in LowerCall()
2637 if (isTailCall && !IsSibcall && !IsMustTail) { in LowerCall()
2668 if (isTailCall && FPDiff) in LowerCall()
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp660 bool &isTailCall = CLI.IsTailCall; in LowerCall() local
1250 isTailCall = false; in LowerCall()

12