Home
last modified time | relevance | path

Searched refs:CallingConv (Results 1 – 25 of 250) sorted by relevance

12345678910

/external/llvm/lib/Target/X86/
DX86RegisterInfo.cpp200 if (IsWin64 || (F && F->getCallingConv() == CallingConv::X86_64_Win64)) in getGPRsForTailCall()
205 bool hasHipeCC = (F ? F->getCallingConv() == CallingConv::HiPE : false); in getGPRsForTailCall()
252 case CallingConv::GHC: in getCalleeSavedRegs()
253 case CallingConv::HiPE: in getCalleeSavedRegs()
255 case CallingConv::AnyReg: in getCalleeSavedRegs()
259 case CallingConv::PreserveMost: in getCalleeSavedRegs()
261 case CallingConv::PreserveAll: in getCalleeSavedRegs()
265 case CallingConv::CXX_FAST_TLS: in getCalleeSavedRegs()
270 case CallingConv::Intel_OCL_BI: { in getCalleeSavedRegs()
283 case CallingConv::HHVM: in getCalleeSavedRegs()
[all …]
DX86CallingConv.td26 def RetCC_X86Common : CallingConv<[
80 def RetCC_X86_32_C : CallingConv<[
93 def RetCC_X86_32_Fast : CallingConv<[
111 def RetCC_Intel_OCL_BI : CallingConv<[
130 def RetCC_X86_32_HiPE : CallingConv<[
139 def RetCC_X86_32_VectorCall : CallingConv<[
157 def RetCC_X86_64_C : CallingConv<[
172 def RetCC_X86_Win64_C : CallingConv<[
181 def RetCC_X86_64_HiPE : CallingConv<[
190 def RetCC_X86_64_WebKit_JS : CallingConv<[
[all …]
DX86Subtarget.h528 bool isCallingConvWin64(CallingConv::ID CC) const { in isCallingConvWin64()
531 case CallingConv::C: in isCallingConvWin64()
532 case CallingConv::Fast: in isCallingConvWin64()
533 case CallingConv::X86_FastCall: in isCallingConvWin64()
534 case CallingConv::X86_StdCall: in isCallingConvWin64()
535 case CallingConv::X86_ThisCall: in isCallingConvWin64()
536 case CallingConv::X86_VectorCall: in isCallingConvWin64()
537 case CallingConv::Intel_OCL_BI: in isCallingConvWin64()
540 case CallingConv::X86_64_Win64: in isCallingConvWin64()
543 case CallingConv::X86_64_SysV: in isCallingConvWin64()
/external/llvm/lib/IR/
DMangler.cpp77 static bool hasByteCountSuffix(CallingConv::ID CC) { in hasByteCountSuffix()
79 case CallingConv::X86_FastCall: in hasByteCountSuffix()
80 case CallingConv::X86_StdCall: in hasByteCountSuffix()
81 case CallingConv::X86_VectorCall: in hasByteCountSuffix()
139 CallingConv::ID CC = in getNameWithPrefix()
140 MSFunc ? MSFunc->getCallingConv() : (unsigned)CallingConv::C; in getNameWithPrefix()
142 CC != CallingConv::X86_VectorCall) in getNameWithPrefix()
145 if (CC == CallingConv::X86_FastCall) in getNameWithPrefix()
147 else if (CC == CallingConv::X86_VectorCall) in getNameWithPrefix()
159 if (CC == CallingConv::X86_VectorCall) in getNameWithPrefix()
/external/clang/lib/CodeGen/
DABIInfo.h53 llvm::CallingConv::ID RuntimeCC;
54 llvm::CallingConv::ID BuiltinCC;
58 RuntimeCC(llvm::CallingConv::C), in ABIInfo()
59 BuiltinCC(llvm::CallingConv::C) {} in ABIInfo()
73 llvm::CallingConv::ID getRuntimeCC() const { in getRuntimeCC()
78 llvm::CallingConv::ID getBuiltinCC() const { in getBuiltinCC()
DCodeGenTypeCache.h99 llvm::CallingConv::ID RuntimeCC;
100 llvm::CallingConv::ID getRuntimeCC() const { return RuntimeCC; } in getRuntimeCC()
101 llvm::CallingConv::ID BuiltinCC;
102 llvm::CallingConv::ID getBuiltinCC() const { return BuiltinCC; } in getBuiltinCC()
/external/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.cpp135 bool isShader(CallingConv::ID cc) { in isShader()
137 case CallingConv::AMDGPU_VS: in isShader()
138 case CallingConv::AMDGPU_GS: in isShader()
139 case CallingConv::AMDGPU_PS: in isShader()
140 case CallingConv::AMDGPU_CS: in isShader()
147 bool isCompute(CallingConv::ID cc) { in isCompute()
148 return !isShader(cc) || cc == CallingConv::AMDGPU_CS; in isCompute()
/external/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.cpp43 if (MF->getFunction()->getCallingConv() == CallingConv::GHC) in getCalleeSavedRegs()
47 if (MF->getFunction()->getCallingConv() == CallingConv::AnyReg) in getCalleeSavedRegs()
49 if (MF->getFunction()->getCallingConv() == CallingConv::CXX_FAST_TLS) in getCalleeSavedRegs()
58 if (MF->getFunction()->getCallingConv() == CallingConv::PreserveMost) in getCalleeSavedRegs()
67 if (MF->getFunction()->getCallingConv() == CallingConv::CXX_FAST_TLS && in getCalleeSavedRegsViaCopy()
75 CallingConv::ID CC) const { in getCallPreservedMask()
76 if (CC == CallingConv::GHC) in getCallPreservedMask()
79 if (CC == CallingConv::AnyReg) in getCallPreservedMask()
81 if (CC == CallingConv::CXX_FAST_TLS) in getCallPreservedMask()
87 if (CC == CallingConv::PreserveMost) in getCallPreservedMask()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86CallingConv.td24 def RetCC_X86Common : CallingConv<[
58 def RetCC_X86_32_C : CallingConv<[
71 def RetCC_X86_32_Fast : CallingConv<[
89 def RetCC_X86_64_C : CallingConv<[
100 def RetCC_X86_Win64_C : CallingConv<[
110 def RetCC_X86_32 : CallingConv<[
112 CCIfCC<"CallingConv::Fast", CCDelegateTo<RetCC_X86_32_Fast>>,
118 def RetCC_X86_64 : CallingConv<[
127 def RetCC_X86 : CallingConv<[
136 def CC_X86_64_C : CallingConv<[
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCISelLowering.h373 CallingConv::ID CalleeCC,
417 CallingConv::ID CallConv, bool isVarArg,
421 SDValue FinishCall(CallingConv::ID CallConv, DebugLoc dl, bool isTailCall,
434 CallingConv::ID CallConv, bool isVarArg,
441 CallingConv::ID CallConv, bool isVarArg, bool &isTailCall,
449 CanLowerReturn(CallingConv::ID CallConv, MachineFunction &MF,
456 CallingConv::ID CallConv, bool isVarArg,
463 CallingConv::ID CallConv, bool isVarArg,
469 CallingConv::ID CallConv, bool isVarArg,
476 CallingConv::ID CallConv, bool isVarArg, bool isTailCall,
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/
DSystemZISelLowering.h95 CallingConv::ID CallConv, bool isVarArg,
104 CallingConv::ID CallConv,
112 CallingConv::ID CallConv, bool isVarArg,
119 CallingConv::ID CallConv, bool isVarArg,
125 CallingConv::ID CallConv, bool isVarArg, bool &isTailCall,
134 CallingConv::ID CallConv, bool isVarArg,
/external/llvm/lib/Target/AVR/
DAVRCallingConv.td16 def RetCC_AVR : CallingConv
26 def RetCC_AVR_RT : CallingConv
39 def ArgCC_AVR_Vararg : CallingConv
47 def ArgCC_AVR_RT_MUL : CallingConv
54 def ArgCC_AVR_RT_DIV : CallingConv
DAVRRegisterInfo.cpp37 CallingConv::ID CC = MF->getFunction()->getCallingConv(); in getCalleeSavedRegs()
39 return ((CC == CallingConv::AVR_INTR || CC == CallingConv::AVR_SIGNAL) in getCalleeSavedRegs()
46 CallingConv::ID CC) const { in getCallPreservedMask()
47 return ((CC == CallingConv::AVR_INTR || CC == CallingConv::AVR_SIGNAL) in getCallPreservedMask()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMCallingConv.td23 def CC_ARM_APCS : CallingConv<[
45 def RetCC_ARM_APCS : CallingConv<[
61 def FastCC_ARM_APCS : CallingConv<[
73 def RetFastCC_ARM_APCS : CallingConv<[
89 def CC_ARM_APCS_GHC : CallingConv<[
109 def CC_ARM_AAPCS_Common : CallingConv<[
127 def RetCC_ARM_AAPCS_Common : CallingConv<[
136 def CC_ARM_AAPCS : CallingConv<[
146 def RetCC_ARM_AAPCS : CallingConv<[
161 def CC_ARM_AAPCS_VFP : CallingConv<[
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/XCore/
DXCoreISelLowering.h112 CallingConv::ID CallConv,
118 CallingConv::ID CallConv, bool isVarArg,
126 CallingConv::ID CallConv, bool isVarArg,
171 CallingConv::ID CallConv,
179 CallingConv::ID CallConv, bool isVarArg,
189 CallingConv::ID CallConv, bool isVarArg,
195 CanLowerReturn(CallingConv::ID CallConv, MachineFunction &MF,
/external/llvm/lib/Target/Mips/
DMipsCallingConv.td47 def RetCC_F128SoftFloat : CallingConv<[
53 def RetCC_F128HardFloat : CallingConv<[
66 def RetCC_F128 : CallingConv<[
77 def CC_MipsO32 : CallingConv<[
92 def RetCC_MipsO32 : CallingConv<[
111 def CC_MipsO32_FP : CallingConv<[
120 def CC_MipsN_SoftFloat : CallingConv<[
128 def CC_MipsN : CallingConv<[
164 def CC_MipsN_VarArg : CallingConv<[
182 def RetCC_MipsN : CallingConv<[
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/
DMSP430ISelLowering.h126 CallingConv::ID CallConv, bool isVarArg,
135 CallingConv::ID CallConv,
143 CallingConv::ID CallConv, bool isVarArg,
150 CallingConv::ID CallConv, bool isVarArg,
156 CallingConv::ID CallConv, bool isVarArg, bool &isTailCall,
165 CallingConv::ID CallConv, bool isVarArg,
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.h497 MF->getFunction()->getCallingConv() == CallingConv::CXX_FAST_TLS && in supportSplitCSR()
706 const MCPhysReg *getScratchRegisters(CallingConv::ID CC) const override;
721 Type *Ty, CallingConv::ID CallConv, bool isVarArg) const override { in functionArgumentNeedsConsecutiveRegisters()
778 CallingConv::ID CalleeCC,
786 CallingConv::ID CalleeCC,
837 CallingConv::ID CallConv, bool isVarArg,
841 SDValue FinishCall(CallingConv::ID CallConv, const SDLoc &dl,
852 LowerFormalArguments(SDValue Chain, CallingConv::ID CallConv, bool isVarArg,
862 CanLowerReturn(CallingConv::ID CallConv, MachineFunction &MF,
867 SDValue LowerReturn(SDValue Chain, CallingConv::ID CallConv, bool isVarArg,
[all …]
/external/llvm/lib/CodeGen/
DCallingConvLower.cpp28 CCState::CCState(CallingConv::ID CC, bool isVarArg, MachineFunction &mf, in CCState()
30 : CallingConv(CC), IsVarArg(isVarArg), MF(mf), in CCState()
183 static bool isValueTypeInRegForCC(CallingConv::ID CC, MVT VT) { in isValueTypeInRegForCC()
188 if (CC == CallingConv::X86_VectorCall || CC == CallingConv::X86_FastCall) in isValueTypeInRegForCC()
201 if (isValueTypeInRegForCC(CallingConv, VT)) in getRemainingRegParmsForType()
253 bool CCState::resultsCompatible(CallingConv::ID CalleeCC, in resultsCompatible()
254 CallingConv::ID CallerCC, MachineFunction &MF, in resultsCompatible()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUAsmPrinter.cpp281 case CallingConv::AMDGPU_CS: RsrcReg = R_0288D4_SQ_PGM_RESOURCES_LS; break; in EmitProgramInfoR600()
282 case CallingConv::AMDGPU_GS: RsrcReg = R_028878_SQ_PGM_RESOURCES_GS; break; in EmitProgramInfoR600()
283 case CallingConv::AMDGPU_PS: RsrcReg = R_028844_SQ_PGM_RESOURCES_PS; break; in EmitProgramInfoR600()
284 case CallingConv::AMDGPU_VS: RsrcReg = R_028860_SQ_PGM_RESOURCES_VS; break; in EmitProgramInfoR600()
290 case CallingConv::AMDGPU_GS: // Fall through in EmitProgramInfoR600()
291 case CallingConv::AMDGPU_CS: // Fall through in EmitProgramInfoR600()
292 case CallingConv::AMDGPU_VS: RsrcReg = R_028868_SQ_PGM_RESOURCES_VS; break; in EmitProgramInfoR600()
293 case CallingConv::AMDGPU_PS: RsrcReg = R_028850_SQ_PGM_RESOURCES_PS; break; in EmitProgramInfoR600()
569 static unsigned getRsrcReg(CallingConv::ID CallConv) { in getRsrcReg()
572 case CallingConv::AMDGPU_CS: return R_00B848_COMPUTE_PGM_RSRC1; in getRsrcReg()
[all …]
/external/llvm/lib/Target/Lanai/
DLanaiISelLowering.h110 CallingConv::ID CallConv, bool IsVarArg,
118 SDValue LowerCCCArguments(SDValue Chain, CallingConv::ID CallConv,
125 CallingConv::ID CallConv, bool IsVarArg,
133 SDValue LowerFormalArguments(SDValue Chain, CallingConv::ID CallConv,
139 SDValue LowerReturn(SDValue Chain, CallingConv::ID CallConv, bool IsVarArg,
/external/swiftshader/third_party/LLVM/lib/VMCore/
DAsmWriter.cpp1477 case CallingConv::C: break; // default in printFunction()
1478 case CallingConv::Fast: Out << "fastcc "; break; in printFunction()
1479 case CallingConv::Cold: Out << "coldcc "; break; in printFunction()
1480 case CallingConv::X86_StdCall: Out << "x86_stdcallcc "; break; in printFunction()
1481 case CallingConv::X86_FastCall: Out << "x86_fastcallcc "; break; in printFunction()
1482 case CallingConv::X86_ThisCall: Out << "x86_thiscallcc "; break; in printFunction()
1483 case CallingConv::ARM_APCS: Out << "arm_apcscc "; break; in printFunction()
1484 case CallingConv::ARM_AAPCS: Out << "arm_aapcscc "; break; in printFunction()
1485 case CallingConv::ARM_AAPCS_VFP:Out << "arm_aapcs_vfpcc "; break; in printFunction()
1486 case CallingConv::MSP430_INTR: Out << "msp430_intrcc "; break; in printFunction()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/Mips/
DMipsCallingConv.td22 def RetCC_MipsO32 : CallingConv<[
37 def CC_MipsN : CallingConv<[
66 def RetCC_MipsN : CallingConv<[
86 def CC_MipsEABI : CallingConv<[
113 def RetCC_MipsEABI : CallingConv<[
128 def CC_Mips : CallingConv<[
134 def RetCC_Mips : CallingConv<[
/external/swiftshader/third_party/LLVM/lib/Target/Alpha/
DAlphaISelLowering.h85 CallingConv::ID CallConv, bool isVarArg,
119 CallingConv::ID CallConv, bool isVarArg,
126 CallingConv::ID CallConv, bool isVarArg, bool &isTailCall,
135 CallingConv::ID CallConv, bool isVarArg,
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.h132 CallingConv::ID CallConv, bool isVarArg,
140 SDValue LowerCCCArguments(SDValue Chain, CallingConv::ID CallConv,
147 CallingConv::ID CallConv, bool isVarArg,
153 LowerFormalArguments(SDValue Chain, CallingConv::ID CallConv, bool isVarArg,
161 SDValue LowerReturn(SDValue Chain, CallingConv::ID CallConv, bool isVarArg,

12345678910