Home
last modified time | relevance | path

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

12345678910>>...19

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DManglerTest.cpp30 llvm::CallingConv::ID CC, Module &Mod, in mangleFunc()
58 llvm::CallingConv::C, Mod, Mang), in TEST()
61 llvm::CallingConv::C, Mod, Mang), in TEST()
64 llvm::CallingConv::C, Mod, Mang), in TEST()
78 llvm::CallingConv::C, Mod, Mang), in TEST()
81 llvm::CallingConv::C, Mod, Mang), in TEST()
84 llvm::CallingConv::C, Mod, Mang), in TEST()
89 llvm::CallingConv::X86_StdCall, Mod, Mang), in TEST()
92 llvm::CallingConv::X86_FastCall, Mod, Mang), in TEST()
95 llvm::CallingConv::X86_VectorCall, Mod, Mang), in TEST()
[all …]
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86RegisterInfo.cpp222 if (IsWin64 || (F.getCallingConv() == CallingConv::Win64)) in getGPRsForTailCall()
227 bool hasHipeCC = (F.getCallingConv() == CallingConv::HiPE); in getGPRsForTailCall()
275 CallingConv::ID CC = F.getCallingConv(); in getCalleeSavedRegs()
280 CC = CallingConv::X86_INTR; in getCalleeSavedRegs()
283 case CallingConv::GHC: in getCalleeSavedRegs()
284 case CallingConv::HiPE: in getCalleeSavedRegs()
286 case CallingConv::AnyReg: in getCalleeSavedRegs()
290 case CallingConv::PreserveMost: in getCalleeSavedRegs()
292 case CallingConv::PreserveAll: in getCalleeSavedRegs()
296 case CallingConv::CXX_FAST_TLS: in getCalleeSavedRegs()
[all …]
DX86CallingConv.td77 def CC_#NAME : CallingConv<[
154 def RetCC_#NAME : CallingConv<[
205 def RetCC_X86Common : CallingConv<[
261 def RetCC_X86_32_C : CallingConv<[
274 def RetCC_X86_32_Fast : CallingConv<[
292 def RetCC_Intel_OCL_BI : CallingConv<[
311 def RetCC_X86_32_HiPE : CallingConv<[
320 def RetCC_X86_32_VectorCall : CallingConv<[
330 def RetCC_X86_64_C : CallingConv<[
345 def RetCC_X86_Win64_C : CallingConv<[
[all …]
DX86Subtarget.h761 bool isCallingConvWin64(CallingConv::ID CC) const { in isCallingConvWin64()
764 case CallingConv::C: in isCallingConvWin64()
765 case CallingConv::Fast: in isCallingConvWin64()
766 case CallingConv::Swift: in isCallingConvWin64()
767 case CallingConv::X86_FastCall: in isCallingConvWin64()
768 case CallingConv::X86_StdCall: in isCallingConvWin64()
769 case CallingConv::X86_ThisCall: in isCallingConvWin64()
770 case CallingConv::X86_VectorCall: in isCallingConvWin64()
771 case CallingConv::Intel_OCL_BI: in isCallingConvWin64()
774 case CallingConv::Win64: in isCallingConvWin64()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPURegisterInfo.cpp55 CallingConv::ID CC = MF->getFunction().getCallingConv(); in getCalleeSavedRegs()
57 case CallingConv::C: in getCalleeSavedRegs()
58 case CallingConv::Fast: in getCalleeSavedRegs()
59 case CallingConv::Cold: in getCalleeSavedRegs()
75 CallingConv::ID CC) const { in getCallPreservedMask()
77 case CallingConv::C: in getCallPreservedMask()
78 case CallingConv::Fast: in getCallPreservedMask()
79 case CallingConv::Cold: in getCallPreservedMask()
DR600AsmPrinter.cpp76 case CallingConv::AMDGPU_CS: RsrcReg = R_0288D4_SQ_PGM_RESOURCES_LS; break; in EmitProgramInfoR600()
77 case CallingConv::AMDGPU_GS: RsrcReg = R_028878_SQ_PGM_RESOURCES_GS; break; in EmitProgramInfoR600()
78 case CallingConv::AMDGPU_PS: RsrcReg = R_028844_SQ_PGM_RESOURCES_PS; break; in EmitProgramInfoR600()
79 case CallingConv::AMDGPU_VS: RsrcReg = R_028860_SQ_PGM_RESOURCES_VS; break; in EmitProgramInfoR600()
85 case CallingConv::AMDGPU_GS: LLVM_FALLTHROUGH; in EmitProgramInfoR600()
86 case CallingConv::AMDGPU_CS: LLVM_FALLTHROUGH; in EmitProgramInfoR600()
87 case CallingConv::AMDGPU_VS: RsrcReg = R_028868_SQ_PGM_RESOURCES_VS; break; in EmitProgramInfoR600()
88 case CallingConv::AMDGPU_PS: RsrcReg = R_028850_SQ_PGM_RESOURCES_PS; break; in EmitProgramInfoR600()
DAMDGPUAliasAnalysis.cpp137 case CallingConv::AMDGPU_LS: in pointsToConstantMemory()
138 case CallingConv::AMDGPU_HS: in pointsToConstantMemory()
139 case CallingConv::AMDGPU_ES: in pointsToConstantMemory()
140 case CallingConv::AMDGPU_GS: in pointsToConstantMemory()
141 case CallingConv::AMDGPU_VS: in pointsToConstantMemory()
142 case CallingConv::AMDGPU_PS: in pointsToConstantMemory()
143 case CallingConv::AMDGPU_CS: in pointsToConstantMemory()
144 case CallingConv::AMDGPU_KERNEL: in pointsToConstantMemory()
145 case CallingConv::SPIR_KERNEL: in pointsToConstantMemory()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.cpp606 bool isShader(CallingConv::ID cc) { in isShader()
608 case CallingConv::AMDGPU_VS: in isShader()
609 case CallingConv::AMDGPU_LS: in isShader()
610 case CallingConv::AMDGPU_HS: in isShader()
611 case CallingConv::AMDGPU_ES: in isShader()
612 case CallingConv::AMDGPU_GS: in isShader()
613 case CallingConv::AMDGPU_PS: in isShader()
614 case CallingConv::AMDGPU_CS: in isShader()
621 bool isCompute(CallingConv::ID cc) { in isCompute()
622 return !isShader(cc) || cc == CallingConv::AMDGPU_CS; in isCompute()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DMangler.cpp81 static bool hasByteCountSuffix(CallingConv::ID CC) { in hasByteCountSuffix()
83 case CallingConv::X86_FastCall: in hasByteCountSuffix()
84 case CallingConv::X86_StdCall: in hasByteCountSuffix()
85 case CallingConv::X86_VectorCall: in hasByteCountSuffix()
148 CallingConv::ID CC = in getNameWithPrefix()
149 MSFunc ? MSFunc->getCallingConv() : (unsigned)CallingConv::C; in getNameWithPrefix()
151 CC != CallingConv::X86_VectorCall) in getNameWithPrefix()
154 if (CC == CallingConv::X86_FastCall) in getNameWithPrefix()
156 else if (CC == CallingConv::X86_VectorCall) in getNameWithPrefix()
168 if (CC == CallingConv::X86_VectorCall) in getNameWithPrefix()
/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/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()
/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-7.0/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.cpp45 if (MF->getFunction().getCallingConv() == CallingConv::GHC) in getCalleeSavedRegs()
49 if (MF->getFunction().getCallingConv() == CallingConv::AnyReg) in getCalleeSavedRegs()
51 if (MF->getFunction().getCallingConv() == CallingConv::CXX_FAST_TLS) in getCalleeSavedRegs()
60 if (MF->getFunction().getCallingConv() == CallingConv::PreserveMost) in getCalleeSavedRegs()
69 if (MF->getFunction().getCallingConv() == CallingConv::CXX_FAST_TLS && in getCalleeSavedRegsViaCopy()
90 CallingConv::ID CC) const { in getCallPreservedMask()
92 if (CC == CallingConv::GHC) in getCallPreservedMask()
95 if (CC == CallingConv::AnyReg) in getCallPreservedMask()
97 if (CC == CallingConv::CXX_FAST_TLS) in getCallPreservedMask()
105 if (CC == CallingConv::PreserveMost) in getCallPreservedMask()
[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/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/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
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsCallingConv.td51 def RetCC_F128SoftFloat : CallingConv<[
57 def RetCC_F128HardFloat : CallingConv<[
70 def RetCC_F128 : CallingConv<[
81 def CC_MipsO32 : CallingConv<[
96 def RetCC_MipsO32 : CallingConv<[
117 def CC_MipsO32_FP : CallingConv<[
126 def CC_MipsN_SoftFloat : CallingConv<[
134 def CC_MipsN : CallingConv<[
170 def CC_MipsN_VarArg : CallingConv<[
188 def RetCC_MipsN : CallingConv<[
[all …]
/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/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,

12345678910>>...19