Home
last modified time | relevance | path

Searched refs:CallerF (Results 1 – 18 of 18) sorted by relevance

/external/llvm-project/llvm/lib/Target/AArch64/GISel/
DAArch64CallLowering.cpp549 const Function &CallerF = MF.getFunction(); in doCallerAndCalleePassArgsTheSameWay() local
551 CallingConv::ID CallerCC = CallerF.getCallingConv(); in doCallerAndCalleePassArgsTheSameWay()
593 const Function &CallerF = MF.getFunction(); in areCalleeOutgoingArgsTailCallable() local
595 CallingConv::ID CallerCC = CallerF.getCallingConv(); in areCalleeOutgoingArgsTailCallable()
604 CCState OutInfo(CalleeCC, false, MF, OutLocs, CallerF.getContext()); in areCalleeOutgoingArgsTailCallable()
696 const Function &CallerF = MF.getFunction(); in isEligibleForTailCallOptimization() local
731 if (any_of(CallerF.args(), [](const Argument &A) { in isEligibleForTailCallOptimization()
760 return canGuaranteeTCO(CalleeCC) && CalleeCC == CallerF.getCallingConv(); in isEligibleForTailCallOptimization()
787 static unsigned getCallOpcode(const MachineFunction &CallerF, bool IsIndirect, in getCallOpcode() argument
790 return IsIndirect ? getBLRCallOpcode(CallerF) : (unsigned)AArch64::BL; in getCallOpcode()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64CallLowering.cpp524 const Function &CallerF = MF.getFunction(); in doCallerAndCalleePassArgsTheSameWay() local
526 CallingConv::ID CallerCC = CallerF.getCallingConv(); in doCallerAndCalleePassArgsTheSameWay()
568 const Function &CallerF = MF.getFunction(); in areCalleeOutgoingArgsTailCallable() local
570 CallingConv::ID CallerCC = CallerF.getCallingConv(); in areCalleeOutgoingArgsTailCallable()
579 CCState OutInfo(CalleeCC, false, MF, OutLocs, CallerF.getContext()); in areCalleeOutgoingArgsTailCallable()
671 const Function &CallerF = MF.getFunction(); in isEligibleForTailCallOptimization() local
706 if (any_of(CallerF.args(), [](const Argument &A) { in isEligibleForTailCallOptimization()
735 return canGuaranteeTCO(CalleeCC) && CalleeCC == CallerF.getCallingConv(); in isEligibleForTailCallOptimization()
762 static unsigned getCallOpcode(const Function &CallerF, bool IsIndirect, in getCallOpcode() argument
772 if (CallerF.hasFnAttribute("branch-target-enforcement")) in getCallOpcode()
DAArch64ISelLowering.cpp3763 const Function &CallerF = MF.getFunction(); in isEligibleForTailCallOptimization() local
3764 CallingConv::ID CallerCC = CallerF.getCallingConv(); in isEligibleForTailCallOptimization()
3770 for (Function::const_arg_iterator i = CallerF.arg_begin(), in isEligibleForTailCallOptimization()
3771 e = CallerF.arg_end(); in isEligibleForTailCallOptimization()
/external/llvm-project/llvm/lib/Transforms/IPO/
DAttributor.cpp2312 auto *CallerF = CB->getCaller(); in runAttributorOnFunctions() local
2313 CGUpdater.reanalyzeFunction(*CallerF); in runAttributorOnFunctions()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUCallLowering.cpp1107 static unsigned getCallOpcode(const MachineFunction &CallerF, bool IsIndirect, in getCallOpcode() argument
DSIISelLowering.cpp2826 const Function &CallerF = MF.getFunction(); in isEligibleForTailCallOptimization() local
2827 CallingConv::ID CallerCC = CallerF.getCallingConv(); in isEligibleForTailCallOptimization()
2848 for (const Argument &Arg : CallerF.args()) { in isEligibleForTailCallOptimization()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp3183 const Function &CallerF = DAG.getMachineFunction().getFunction(); in IsEligibleForTailCallOptimization() local
3184 CallingConv::ID CallerCC = CallerF.getCallingConv(); in IsEligibleForTailCallOptimization()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp3369 const Function &CallerF = DAG.getMachineFunction().getFunction(); in IsEligibleForTailCallOptimization() local
3370 CallingConv::ID CallerCC = CallerF.getCallingConv(); in IsEligibleForTailCallOptimization()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp2971 const Function *CallerF = DAG.getMachineFunction().getFunction(); in IsEligibleForTailCallOptimization() local
2972 CallingConv::ID CallerCC = CallerF->getCallingConv(); in IsEligibleForTailCallOptimization()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp2773 const Function *CallerF = MF.getFunction(); in isEligibleForTailCallOptimization() local
2774 CallingConv::ID CallerCC = CallerF->getCallingConv(); in isEligibleForTailCallOptimization()
2780 for (Function::const_arg_iterator i = CallerF->arg_begin(), in isEligibleForTailCallOptimization()
2781 e = CallerF->arg_end(); in isEligibleForTailCallOptimization()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp2603 const Function &CallerF = MF.getFunction(); in isEligibleForTailCallOptimization() local
2604 CallingConv::ID CallerCC = CallerF.getCallingConv(); in isEligibleForTailCallOptimization()
2625 for (const Argument &Arg : CallerF.args()) { in isEligibleForTailCallOptimization()
/external/llvm-project/llvm/lib/Target/ARM/
DARMISelLowering.cpp2783 const Function &CallerF = MF.getFunction(); in IsEligibleForTailCallOptimization() local
2784 CallingConv::ID CallerCC = CallerF.getCallingConv(); in IsEligibleForTailCallOptimization()
2801 if (CallerF.hasFnAttribute("interrupt")) in IsEligibleForTailCallOptimization()
2828 getEffectiveCallingConv(CallerCC, CallerF.isVarArg()), MF, C, Ins, in IsEligibleForTailCallOptimization()
2830 CCAssignFnForReturn(CallerCC, CallerF.isVarArg()))) in IsEligibleForTailCallOptimization()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp4904 const Function &CallerF = MF.getFunction(); in isEligibleForTailCallOptimization() local
4905 CallingConv::ID CallerCC = CallerF.getCallingConv(); in isEligibleForTailCallOptimization()
4927 for (Function::const_arg_iterator i = CallerF.arg_begin(), in isEligibleForTailCallOptimization()
4928 e = CallerF.arg_end(); in isEligibleForTailCallOptimization()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp2096 const Function *CallerF = MF.getFunction(); in IsEligibleForTailCallOptimization() local
2097 CallingConv::ID CallerCC = CallerF->getCallingConv(); in IsEligibleForTailCallOptimization()
2112 if (CallerF->hasFnAttribute("interrupt")) in IsEligibleForTailCallOptimization()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp2595 const Function &CallerF = MF.getFunction(); in IsEligibleForTailCallOptimization() local
2596 CallingConv::ID CallerCC = CallerF.getCallingConv(); in IsEligibleForTailCallOptimization()
2613 if (CallerF.hasFnAttribute("interrupt")) in IsEligibleForTailCallOptimization()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp3592 const Function *CallerF = MF.getFunction(); in IsEligibleForTailCallOptimization() local
3597 if (CallerF->getReturnType()->isX86_FP80Ty() && !RetTy->isX86_FP80Ty()) in IsEligibleForTailCallOptimization()
3600 CallingConv::ID CallerCC = CallerF->getCallingConv(); in IsEligibleForTailCallOptimization()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp4476 const Function &CallerF = MF.getFunction(); in IsEligibleForTailCallOptimization() local
4481 if (CallerF.getReturnType()->isX86_FP80Ty() && !RetTy->isX86_FP80Ty()) in IsEligibleForTailCallOptimization()
4484 CallingConv::ID CallerCC = CallerF.getCallingConv(); in IsEligibleForTailCallOptimization()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp4573 const Function &CallerF = MF.getFunction(); in IsEligibleForTailCallOptimization() local
4578 if (CallerF.getReturnType()->isX86_FP80Ty() && !RetTy->isX86_FP80Ty()) in IsEligibleForTailCallOptimization()
4581 CallingConv::ID CallerCC = CallerF.getCallingConv(); in IsEligibleForTailCallOptimization()