Searched refs:isTailCall (Results 1 - 25 of 40) sorted by relevance

12

/external/llvm/unittests/ExecutionEngine/Orc/
H A DIndirectionUtilsTest.cpp41 EXPECT_TRUE(Call->isTailCall()) << "Indirect call from stub should be tail call.";
/external/llvm/lib/Transforms/ObjCARC/
H A DPtrState.cpp185 SetTailCallRelease(cast<CallInst>(I)->isTailCall());
338 SetTailCallRelease(cast<CallInst>(Release)->isTailCall());
/external/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.h132 bool isTailCall,
H A DMSP430ISelLowering.cpp399 bool &isTailCall = CLI.IsTailCall; local
404 isTailCall = false;
411 return LowerCCCCallTo(Chain, Callee, CallConv, isVarArg, isTailCall,
576 bool isTailCall,
644 /*isTailCall=*/false,
574 LowerCCCCallTo(SDValue Chain, SDValue Callee, CallingConv::ID CallConv, bool isVarArg, bool isTailCall, const SmallVectorImpl<ISD::OutputArg> &Outs, const SmallVectorImpl<SDValue> &OutVals, const SmallVectorImpl<ISD::InputArg> &Ins, SDLoc dl, SelectionDAG &DAG, SmallVectorImpl<SDValue> &InVals) const argument
/external/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h768 SDValue FinishCall(CallingConv::ID CallConv, SDLoc dl, bool isTailCall,
835 bool isVarArg, bool isTailCall, bool IsPatchPoint,
845 bool isVarArg, bool isTailCall, bool IsPatchPoint,
854 bool isVarArg, bool isTailCall, bool IsPatchPoint,
H A DPPCISelLowering.cpp3826 static int CalculateTailCallSPDiff(SelectionDAG& DAG, bool isTailCall, argument
3829 if (!isTailCall) return 0;
4037 unsigned ArgOffset, bool isPPC64, bool isTailCall,
4042 if (!isTailCall) {
4103 bool isTailCall, bool IsPatchPoint, bool hasNest,
4274 if (isTailCall)
4284 if (isTailCall)
4359 bool isTailCall, bool isVarArg, bool IsPatchPoint,
4373 SPDiff, isTailCall, IsPatchPoint, hasNest,
4398 if (isTailCall) {
4035 LowerMemOpCallTo(SelectionDAG &DAG, MachineFunction &MF, SDValue Chain, SDValue Arg, SDValue PtrOff, int SPDiff, unsigned ArgOffset, bool isPPC64, bool isTailCall, bool isVector, SmallVectorImpl<SDValue> &MemOpChains, SmallVectorImpl<TailCallArgumentInfo> &TailCallArguments, SDLoc dl) argument
4101 PrepareCall(SelectionDAG &DAG, SDValue &Callee, SDValue &InFlag, SDValue &Chain, SDValue CallSeqStart, SDLoc dl, int SPDiff, bool isTailCall, bool IsPatchPoint, bool hasNest, SmallVectorImpl<std::pair<unsigned, SDValue> > &RegsToPass, SmallVectorImpl<SDValue> &Ops, std::vector<EVT> &NodeTys, ImmutableCallSite *CS, const PPCSubtarget &Subtarget) argument
4358 FinishCall(CallingConv::ID CallConv, SDLoc dl, bool isTailCall, bool isVarArg, bool IsPatchPoint, bool hasNest, SelectionDAG &DAG, SmallVector<std::pair<unsigned, SDValue>, 8> &RegsToPass, SDValue InFlag, SDValue Chain, SDValue CallSeqStart, SDValue &Callee, int SPDiff, unsigned NumBytes, const SmallVectorImpl<ISD::InputArg> &Ins, SmallVectorImpl<SDValue> &InVals, ImmutableCallSite *CS) const argument
4472 bool &isTailCall = CLI.IsTailCall; local
4503 LowerCall_32SVR4(SDValue Chain, SDValue Callee, CallingConv::ID CallConv, bool isVarArg, bool isTailCall, bool IsPatchPoint, const SmallVectorImpl<ISD::OutputArg> &Outs, const SmallVectorImpl<SDValue> &OutVals, const SmallVectorImpl<ISD::InputArg> &Ins, SDLoc dl, SelectionDAG &DAG, SmallVectorImpl<SDValue> &InVals, ImmutableCallSite *CS) const argument
4745 LowerCall_64SVR4(SDValue Chain, SDValue Callee, CallingConv::ID CallConv, bool isVarArg, bool isTailCall, bool IsPatchPoint, const SmallVectorImpl<ISD::OutputArg> &Outs, const SmallVectorImpl<SDValue> &OutVals, const SmallVectorImpl<ISD::InputArg> &Ins, SDLoc dl, SelectionDAG &DAG, SmallVectorImpl<SDValue> &InVals, ImmutableCallSite *CS) const argument
5375 LowerCall_Darwin(SDValue Chain, SDValue Callee, CallingConv::ID CallConv, bool isVarArg, bool isTailCall, bool IsPatchPoint, const SmallVectorImpl<ISD::OutputArg> &Outs, const SmallVectorImpl<SDValue> &OutVals, const SmallVectorImpl<ISD::InputArg> &Ins, SDLoc dl, SelectionDAG &DAG, SmallVectorImpl<SDValue> &InVals, ImmutableCallSite *CS) const argument
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DTailRecursionElimination.cpp304 if (!CI || CI->isTailCall())
594 if (CI->isTailCall() && CannotTailCallElimCallsMarkedTail)
697 TailCallsAreMarkedTail = CI->isTailCall();
727 if (TailCallsAreMarkedTail && !CI->isTailCall())
H A DPlaceSafepoints.cpp890 Call->setTailCall(ToReplace->isTailCall());
/external/llvm/include/llvm/IR/
H A DCallSite.h200 bool isTailCall() const { function in class:llvm::CallSiteBase
201 return isCall() && cast<CallInst>(getInstruction())->isTailCall();
/external/llvm/lib/IR/
H A DInstruction.cpp297 return CI->isTailCall() == cast<CallInst>(I2)->isTailCall() &&
H A DCore.cpp2092 return unwrap<CallInst>(Call)->isTailCall();
2095 void LLVMSetTailCall(LLVMValueRef Call, LLVMBool isTailCall) { argument
2096 unwrap<CallInst>(Call)->setTailCall(isTailCall);
/external/llvm/lib/Target/XCore/
H A DXCoreISelLowering.h155 bool isTailCall,
H A DXCoreISelLowering.cpp1053 bool &isTailCall = CLI.IsTailCall; local
1058 isTailCall = false;
1067 return LowerCCCCallTo(Chain, Callee, CallConv, isVarArg, isTailCall,
1120 /// TODO: isTailCall, sret.
1124 bool isTailCall,
1122 LowerCCCCallTo(SDValue Chain, SDValue Callee, CallingConv::ID CallConv, bool isVarArg, bool isTailCall, const SmallVectorImpl<ISD::OutputArg> &Outs, const SmallVectorImpl<SDValue> &OutVals, const SmallVectorImpl<ISD::InputArg> &Ins, SDLoc dl, SelectionDAG &DAG, SmallVectorImpl<SDValue> &InVals) const argument
/external/llvm/lib/CodeGen/
H A DStackProtector.cpp303 if (CI->isTailCall() &&
/external/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp539 /*isTailCall=*/false,
600 if (!CI->isTailCall() || Attr.getValueAsString() == "true")
653 bool &isTailCall = CLI.IsTailCall; local
688 isTailCall = false;
690 if (isTailCall) {
692 isTailCall = IsEligibleForTailCallOptimization(Callee, CallConv,
699 isTailCall = false;
703 DEBUG(dbgs() << (isTailCall ? "Eligible for Tail Call\n"
791 if (!isTailCall) {
801 if (!isTailCall) {
[all...]
/external/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp270 if (cast<CallInst>(Call)->isTailCall())
959 if (cast<CallInst>(Call)->isTailCall())
H A DArgumentPromotion.cpp867 if (cast<CallInst>(Call)->isTailCall())
/external/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h712 bool isTailCall, MachinePointerInfo DstPtrInfo,
716 SDValue Size, unsigned Align, bool isVol, bool isTailCall,
721 SDValue Size, unsigned Align, bool isVol, bool isTailCall,
/external/llvm/lib/Target/ARM/
H A DARMFrameLowering.cpp973 bool isTailCall = false; local
979 isTailCall = (RetOpcode == ARM::TCRETURNdi || RetOpcode == ARM::TCRETURNri);
1000 if (Reg == ARM::LR && !isTailCall && !isVarArg && !isInterrupt &&
H A DARMISelLowering.cpp1564 bool &isTailCall = CLI.IsTailCall; local
1577 isTailCall = false;
1579 if (isTailCall) {
1581 isTailCall = IsEligibleForTailCallOptimization(Callee, CallConv,
1584 if (!isTailCall && CLI.CS && CLI.CS->isMustTailCall())
1589 if (isTailCall) {
1752 if (!isTailCall)
1760 if (isTailCall) {
1924 if (!isTailCall) {
1948 if (isTailCall) {
[all...]
/external/llvm/lib/Analysis/
H A DLint.cpp266 if (CS.isCall() && cast<CallInst>(CS.getInstruction())->isTailCall())
H A DBasicAliasAnalysis.cpp696 if (CI->isTailCall())
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp4387 bool isTC = I.isTailCall() && isInTailCallPosition(&I, DAG.getTarget());
4403 bool isTC = I.isTailCall() && isInTailCallPosition(&I, DAG.getTarget());
4417 bool isTC = I.isTailCall() && isInTailCallPosition(&I, DAG.getTarget());
5343 bool isTailCall,
5371 isTailCall = false;
5376 if (isTailCall && !isInTailCallPosition(CS, DAG.getTarget()))
5377 isTailCall = false;
5382 .setTailCall(isTailCall);
5921 LowerCallTo(&I, Callee, I.isTailCall());
H A DSelectionDAG.cpp4573 bool isTailCall, MachinePointerInfo DstPtrInfo,
4637 .setTailCall(isTailCall);
4645 unsigned Align, bool isVol, bool isTailCall,
4698 .setTailCall(isTailCall);
4706 unsigned Align, bool isVol, bool isTailCall,
4760 .setTailCall(isTailCall);
4570 getMemcpy(SDValue Chain, SDLoc dl, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVol, bool AlwaysInline, bool isTailCall, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) argument
4643 getMemmove(SDValue Chain, SDLoc dl, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVol, bool isTailCall, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) argument
4704 getMemset(SDValue Chain, SDLoc dl, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVol, bool isTailCall, MachinePointerInfo DstPtrInfo) argument
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp2291 if (CI->isTailCall())
2474 if (cast<CallInst>(Caller)->isTailCall())

Completed in 1450 milliseconds

12