Home
last modified time | relevance | path

Searched refs:CallerCC (Results 1 – 19 of 19) sorted by relevance

/external/llvm/lib/CodeGen/
DCallingConvLower.cpp254 CallingConv::ID CallerCC, MachineFunction &MF, in resultsCompatible() argument
258 if (CalleeCC == CallerCC) in resultsCompatible()
265 CCState CCInfo2(CallerCC, false, MF, RVLocs2, C); in resultsCompatible()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DCallingConvLower.cpp271 CallingConv::ID CallerCC, MachineFunction &MF, in resultsCompatible() argument
275 if (CalleeCC == CallerCC) in resultsCompatible()
282 CCState CCInfo2(CallerCC, false, MF, RVLocs2, C); in resultsCompatible()
/external/llvm/include/llvm/CodeGen/
DCallingConvLower.h519 CallingConv::ID CallerCC, MachineFunction &MF,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DCallingConvLower.h533 CallingConv::ID CallerCC, MachineFunction &MF,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/
DRISCVISelLowering.cpp1109 auto CallerCC = Caller.getCallingConv(); in IsEligibleForTailCallOptimization() local
1162 const uint32_t *CallerPreserved = TRI->getCallPreservedMask(MF, CallerCC); in IsEligibleForTailCallOptimization()
1163 if (CalleeCC != CallerCC) { in IsEligibleForTailCallOptimization()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp3019 CallingConv::ID CallerCC = CallerF.getCallingConv(); in IsEligibleForTailCallOptimization() local
3020 bool CCMatch = CallerCC == CalleeCC; in IsEligibleForTailCallOptimization()
3036 bool R = (CallerCC == CallingConv::C || CallerCC == CallingConv::Fast); in IsEligibleForTailCallOptimization()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp2332 CallingConv::ID CallerCC = CallerF.getCallingConv(); in isEligibleForTailCallOptimization() local
2334 const uint32_t *CallerPreserved = TRI->getCallPreservedMask(MF, CallerCC); in isEligibleForTailCallOptimization()
2341 bool CCMatch = CallerCC == CalleeCC; in isEligibleForTailCallOptimization()
2361 if (!CCState::resultsCompatible(CalleeCC, CallerCC, MF, Ctx, Ins, in isEligibleForTailCallOptimization()
2363 CCAssignFnForCall(CallerCC, IsVarArg))) in isEligibleForTailCallOptimization()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp2972 CallingConv::ID CallerCC = CallerF->getCallingConv(); in IsEligibleForTailCallOptimization() local
2973 bool CCMatch = CallerCC == CalleeCC; in IsEligibleForTailCallOptimization()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp2774 CallingConv::ID CallerCC = CallerF->getCallingConv(); in isEligibleForTailCallOptimization() local
2775 bool CCMatch = CallerCC == CalleeCC; in isEligibleForTailCallOptimization()
2832 if (!CCState::resultsCompatible(CalleeCC, CallerCC, MF, C, Ins, in isEligibleForTailCallOptimization()
2834 CCAssignFnForCall(CallerCC, isVarArg))) in isEligibleForTailCallOptimization()
2838 const uint32_t *CallerPreserved = TRI->getCallPreservedMask(MF, CallerCC); in isEligibleForTailCallOptimization()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMISelLowering.cpp1643 CallingConv::ID CallerCC = CallerF->getCallingConv(); in IsEligibleForTailCallOptimization() local
1644 bool CCMatch = CallerCC == CalleeCC; in IsEligibleForTailCallOptimization()
1688 ARMCCState CCInfo2(CallerCC, false, DAG.getMachineFunction(), in IsEligibleForTailCallOptimization()
1690 CCInfo2.AnalyzeCallResult(Ins, CCAssignFnForNode(CallerCC, true, isVarArg)); in IsEligibleForTailCallOptimization()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp3302 CallingConv::ID CallerCC = CallerF.getCallingConv(); in isEligibleForTailCallOptimization() local
3303 bool CCMatch = CallerCC == CalleeCC; in isEligibleForTailCallOptimization()
3359 if (!CCState::resultsCompatible(CalleeCC, CallerCC, MF, C, Ins, in isEligibleForTailCallOptimization()
3361 CCAssignFnForCall(CallerCC, isVarArg))) in isEligibleForTailCallOptimization()
3365 const uint32_t *CallerPreserved = TRI->getCallPreservedMask(MF, CallerCC); in isEligibleForTailCallOptimization()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp4532 areCallingConvEligibleForTCO_64SVR4(CallingConv::ID CallerCC, in areCallingConvEligibleForTCO_64SVR4() argument
4538 if (!isTailCallableCC(CallerCC) || !isTailCallableCC(CalleeCC)) in areCallingConvEligibleForTCO_64SVR4()
4545 return CallerCC == CallingConv::C || CallerCC == CalleeCC; in areCallingConvEligibleForTCO_64SVR4()
4643 CallingConv::ID CallerCC = MF.getFunction().getCallingConv(); in IsEligibleForTailCallOptimization() local
4644 if (CalleeCC == CallingConv::Fast && CallerCC == CalleeCC) { in IsEligibleForTailCallOptimization()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp2097 CallingConv::ID CallerCC = CallerF->getCallingConv(); in IsEligibleForTailCallOptimization() local
2137 if (!CCState::resultsCompatible(CalleeCC, CallerCC, MF, C, Ins, in IsEligibleForTailCallOptimization()
2139 CCAssignFnForNode(CallerCC, true, isVarArg))) in IsEligibleForTailCallOptimization()
2143 const uint32_t *CallerPreserved = TRI->getCallPreservedMask(MF, CallerCC); in IsEligibleForTailCallOptimization()
2144 if (CalleeCC != CallerCC) { in IsEligibleForTailCallOptimization()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp2298 CallingConv::ID CallerCC = CallerF.getCallingConv(); in IsEligibleForTailCallOptimization() local
2340 if (!CCState::resultsCompatible(CalleeCC, CallerCC, MF, C, Ins, in IsEligibleForTailCallOptimization()
2342 CCAssignFnForReturn(CallerCC, isVarArg))) in IsEligibleForTailCallOptimization()
2346 const uint32_t *CallerPreserved = TRI->getCallPreservedMask(MF, CallerCC); in IsEligibleForTailCallOptimization()
2347 if (CalleeCC != CallerCC) { in IsEligibleForTailCallOptimization()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCISelLowering.cpp2306 CallingConv::ID CallerCC = MF.getFunction()->getCallingConv(); in IsEligibleForTailCallOptimization() local
2307 if (CalleeCC == CallingConv::Fast && CallerCC == CalleeCC) { in IsEligibleForTailCallOptimization()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp4049 CallingConv::ID CallerCC = MF.getFunction()->getCallingConv(); in IsEligibleForTailCallOptimization_64SVR4() local
4053 if (CallerCC != CalleeCC) return false; in IsEligibleForTailCallOptimization_64SVR4()
4110 CallingConv::ID CallerCC = MF.getFunction()->getCallingConv(); in IsEligibleForTailCallOptimization() local
4111 if (CalleeCC == CallingConv::Fast && CallerCC == CalleeCC) { in IsEligibleForTailCallOptimization()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.cpp2599 CallingConv::ID CallerCC = CallerF->getCallingConv(); in IsEligibleForTailCallOptimization() local
2600 bool CCMatch = CallerCC == CalleeCC; in IsEligibleForTailCallOptimization()
2623 if (!CCMatch && CallerCC==CallingConv::X86_StdCall) in IsEligibleForTailCallOptimization()
2676 CCState CCInfo2(CallerCC, false, DAG.getMachineFunction(), in IsEligibleForTailCallOptimization()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp3600 CallingConv::ID CallerCC = CallerF->getCallingConv(); in IsEligibleForTailCallOptimization() local
3601 bool CCMatch = CallerCC == CalleeCC; in IsEligibleForTailCallOptimization()
3603 bool IsCallerWin64 = Subtarget.isCallingConvWin64(CallerCC); in IsEligibleForTailCallOptimization()
3671 if (!CCState::resultsCompatible(CalleeCC, CallerCC, MF, C, Ins, in IsEligibleForTailCallOptimization()
3676 const uint32_t *CallerPreserved = TRI->getCallPreservedMask(MF, CallerCC); in IsEligibleForTailCallOptimization()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp4159 CallingConv::ID CallerCC = CallerF.getCallingConv(); in IsEligibleForTailCallOptimization() local
4160 bool CCMatch = CallerCC == CalleeCC; in IsEligibleForTailCallOptimization()
4162 bool IsCallerWin64 = Subtarget.isCallingConvWin64(CallerCC); in IsEligibleForTailCallOptimization()
4230 if (!CCState::resultsCompatible(CalleeCC, CallerCC, MF, C, Ins, in IsEligibleForTailCallOptimization()
4235 const uint32_t *CallerPreserved = TRI->getCallPreservedMask(MF, CallerCC); in IsEligibleForTailCallOptimization()