Home
last modified time | relevance | path

Searched refs:CalleeCC (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64CallLowering.cpp525 CallingConv::ID CalleeCC = Info.CallConv; in doCallerAndCalleePassArgsTheSameWay() local
529 if (CalleeCC == CallerCC) in doCallerAndCalleePassArgsTheSameWay()
537 getAssignFnsForCC(CalleeCC, TLI); in doCallerAndCalleePassArgsTheSameWay()
552 const uint32_t *CalleePreserved = TRI->getCallPreservedMask(MF, CalleeCC); in doCallerAndCalleePassArgsTheSameWay()
569 CallingConv::ID CalleeCC = Info.CallConv; in areCalleeOutgoingArgsTailCallable() local
575 std::tie(AssignFnFixed, AssignFnVarArg) = getAssignFnsForCC(CalleeCC, TLI); in areCalleeOutgoingArgsTailCallable()
579 CCState OutInfo(CalleeCC, false, MF, OutLocs, CallerF.getContext()); in areCalleeOutgoingArgsTailCallable()
669 CallingConv::ID CalleeCC = Info.CallConv; in isEligibleForTailCallOptimization() local
684 if (!mayTailCallThisCC(CalleeCC)) { in isEligibleForTailCallOptimization()
735 return canGuaranteeTCO(CalleeCC) && CalleeCC == CallerF.getCallingConv(); in isEligibleForTailCallOptimization()
[all …]
DAArch64ISelLowering.h657 SDValue Callee, CallingConv::ID CalleeCC, bool isVarArg,
DAArch64ISelLowering.cpp3755 SDValue Callee, CallingConv::ID CalleeCC, bool isVarArg, in isEligibleForTailCallOptimization() argument
3759 if (!mayTailCallThisCC(CalleeCC)) in isEligibleForTailCallOptimization()
3765 bool CCMatch = CallerCC == CalleeCC; in isEligibleForTailCallOptimization()
3787 return canGuaranteeTCO(CalleeCC) && CCMatch; in isEligibleForTailCallOptimization()
3810 assert((!isVarArg || CalleeCC == CallingConv::C) && in isEligibleForTailCallOptimization()
3822 CCState CCInfo(CalleeCC, isVarArg, MF, ArgLocs, C); in isEligibleForTailCallOptimization()
3824 CCInfo.AnalyzeCallOperands(Outs, CCAssignFnForCall(CalleeCC, true)); in isEligibleForTailCallOptimization()
3831 if (!CCState::resultsCompatible(CalleeCC, CallerCC, MF, C, Ins, in isEligibleForTailCallOptimization()
3832 CCAssignFnForCall(CalleeCC, isVarArg), in isEligibleForTailCallOptimization()
3839 const uint32_t *CalleePreserved = TRI->getCallPreservedMask(MF, CalleeCC); in isEligibleForTailCallOptimization()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCallingConvLower.cpp259 bool CCState::resultsCompatible(CallingConv::ID CalleeCC, in resultsCompatible() argument
264 if (CalleeCC == CallerCC) in resultsCompatible()
267 CCState CCInfo1(CalleeCC, false, MF, RVLocs1, C); in resultsCompatible()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCallLowering.cpp408 CallingConv::ID CalleeCC = Info.CallConv; in resultsCompatible() local
411 if (CallerCC == CalleeCC) in resultsCompatible()
415 CCState CCInfo1(CalleeCC, false, MF, ArgLocs1, F.getContext()); in resultsCompatible()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.h1030 CallingConv::ID CalleeCC,
1038 CallingConv::ID CalleeCC,
DPPCISelLowering.cpp4664 CallingConv::ID CalleeCC) { in areCallingConvEligibleForTCO_64SVR4() argument
4669 if (!isTailCallableCC(CallerCC) || !isTailCallableCC(CalleeCC)) in areCallingConvEligibleForTCO_64SVR4()
4676 return CallerCC == CallingConv::C || CallerCC == CalleeCC; in areCallingConvEligibleForTCO_64SVR4()
4682 CallingConv::ID CalleeCC, in IsEligibleForTailCallOptimization_64SVR4() argument
4697 if (!areCallingConvEligibleForTCO_64SVR4(Caller.getCallingConv(), CalleeCC)) in IsEligibleForTailCallOptimization_64SVR4()
4725 if (Caller.getCallingConv() != CalleeCC && in IsEligibleForTailCallOptimization_64SVR4()
4741 if (CalleeCC == CallingConv::Fast && TailCallOpt) in IsEligibleForTailCallOptimization_64SVR4()
4762 CallingConv::ID CalleeCC, in IsEligibleForTailCallOptimization() argument
4775 if (CalleeCC == CallingConv::Fast && CallerCC == CalleeCC) { in IsEligibleForTailCallOptimization()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DCallingConvLower.h533 static bool resultsCompatible(CallingConv::ID CalleeCC,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.h325 SDValue Callee, CallingConv::ID CalleeCC, bool isVarArg,
DSIISelLowering.cpp2595 SDValue Callee, CallingConv::ID CalleeCC, bool IsVarArg, in isEligibleForTailCallOptimization() argument
2599 if (!mayTailCallThisCC(CalleeCC)) in isEligibleForTailCallOptimization()
2613 bool CCMatch = CallerCC == CalleeCC; in isEligibleForTailCallOptimization()
2616 if (canGuaranteeTCO(CalleeCC) && CCMatch) in isEligibleForTailCallOptimization()
2633 if (!CCState::resultsCompatible(CalleeCC, CallerCC, MF, Ctx, Ins, in isEligibleForTailCallOptimization()
2634 CCAssignFnForCall(CalleeCC, IsVarArg), in isEligibleForTailCallOptimization()
2640 const uint32_t *CalleePreserved = TRI->getCallPreservedMask(MF, CalleeCC); in isEligibleForTailCallOptimization()
2650 CCState CCInfo(CalleeCC, IsVarArg, MF, ArgLocs, Ctx); in isEligibleForTailCallOptimization()
2652 CCInfo.AnalyzeCallOperands(Outs, CCAssignFnForCall(CalleeCC, IsVarArg)); in isEligibleForTailCallOptimization()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelLowering.h116 CallingConv::ID CalleeCC, bool isVarArg, bool isCalleeStructRet,
DHexagonISelLowering.cpp3175 CallingConv::ID CalleeCC, in IsEligibleForTailCallOptimization() argument
3185 bool CCMatch = CallerCC == CalleeCC; in IsEligibleForTailCallOptimization()
3202 bool E = (CalleeCC == CallingConv::C || CalleeCC == CallingConv::Fast); in IsEligibleForTailCallOptimization()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.h792 SDValue Callee, CallingConv::ID CalleeCC, bool isVarArg,
DARMISelLowering.cpp2588 SDValue Callee, CallingConv::ID CalleeCC, bool isVarArg, in IsEligibleForTailCallOptimization() argument
2638 if (!CCState::resultsCompatible(CalleeCC, CallerCC, MF, C, Ins, in IsEligibleForTailCallOptimization()
2639 CCAssignFnForReturn(CalleeCC, isVarArg), in IsEligibleForTailCallOptimization()
2645 if (CalleeCC != CallerCC) { in IsEligibleForTailCallOptimization()
2646 const uint32_t *CalleePreserved = TRI->getCallPreservedMask(MF, CalleeCC); in IsEligibleForTailCallOptimization()
2664 CCState CCInfo(CalleeCC, isVarArg, MF, ArgLocs, C); in IsEligibleForTailCallOptimization()
2665 CCInfo.AnalyzeCallOperands(Outs, CCAssignFnForCall(CalleeCC, isVarArg)); in IsEligibleForTailCallOptimization()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVISelLowering.cpp2028 auto CalleeCC = CLI.CallConv; in isEligibleForTailCallOptimization() local
2077 if (CalleeCC != CallerCC) { in isEligibleForTailCallOptimization()
2078 const uint32_t *CalleePreserved = TRI->getCallPreservedMask(MF, CalleeCC); in isEligibleForTailCallOptimization()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.h1324 CallingConv::ID CalleeCC,
DX86ISelLowering.cpp3180 CallingConv::ID CalleeCC = CS.getCallingConv(); in mayBeEmittedAsTailCall() local
3181 if (!mayTailCallThisCC(CalleeCC)) in mayBeEmittedAsTailCall()
4466 SDValue Callee, CallingConv::ID CalleeCC, bool isVarArg, in IsEligibleForTailCallOptimization() argument
4471 if (!mayTailCallThisCC(CalleeCC)) in IsEligibleForTailCallOptimization()
4485 bool CCMatch = CallerCC == CalleeCC; in IsEligibleForTailCallOptimization()
4486 bool IsCalleeWin64 = Subtarget.isCallingConvWin64(CalleeCC); in IsEligibleForTailCallOptimization()
4489 CalleeCC == CallingConv::Tail; in IsEligibleForTailCallOptimization()
4498 if (canGuaranteeTCO(CalleeCC) && CCMatch) in IsEligibleForTailCallOptimization()
4527 CCState CCInfo(CalleeCC, isVarArg, MF, ArgLocs, C); in IsEligibleForTailCallOptimization()
4547 CCState CCInfo(CalleeCC, false, MF, RVLocs, C); in IsEligibleForTailCallOptimization()
[all …]