Home
last modified time | relevance | path

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

123456789

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUPALMetadata.cpp94 static unsigned getRsrc1Reg(CallingConv::ID CC) { in getRsrc1Reg()
98 case CallingConv::AMDGPU_LS: in getRsrc1Reg()
100 case CallingConv::AMDGPU_HS: in getRsrc1Reg()
102 case CallingConv::AMDGPU_ES: in getRsrc1Reg()
104 case CallingConv::AMDGPU_GS: in getRsrc1Reg()
106 case CallingConv::AMDGPU_VS: in getRsrc1Reg()
108 case CallingConv::AMDGPU_PS: in getRsrc1Reg()
116 static unsigned getScratchSizeKey(CallingConv::ID CC) { in getScratchSizeKey()
118 case CallingConv::AMDGPU_PS: in getScratchSizeKey()
120 case CallingConv::AMDGPU_VS: in getScratchSizeKey()
[all …]
DAMDGPUBaseInfo.cpp885 bool isShader(CallingConv::ID cc) { in isShader()
887 case CallingConv::AMDGPU_VS: in isShader()
888 case CallingConv::AMDGPU_LS: in isShader()
889 case CallingConv::AMDGPU_HS: in isShader()
890 case CallingConv::AMDGPU_ES: in isShader()
891 case CallingConv::AMDGPU_GS: in isShader()
892 case CallingConv::AMDGPU_PS: in isShader()
893 case CallingConv::AMDGPU_CS: in isShader()
900 bool isCompute(CallingConv::ID cc) { in isCompute()
901 return !isShader(cc) || cc == CallingConv::AMDGPU_CS; in isCompute()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86RegisterInfo.cpp237 if (IsWin64 || (F.getCallingConv() == CallingConv::Win64)) in getGPRsForTailCall()
242 bool hasHipeCC = (F.getCallingConv() == CallingConv::HiPE); in getGPRsForTailCall()
290 CallingConv::ID CC = F.getCallingConv(); in getCalleeSavedRegs()
295 CC = CallingConv::X86_INTR; in getCalleeSavedRegs()
298 case CallingConv::GHC: in getCalleeSavedRegs()
299 case CallingConv::HiPE: in getCalleeSavedRegs()
301 case CallingConv::AnyReg: in getCalleeSavedRegs()
305 case CallingConv::PreserveMost: in getCalleeSavedRegs()
307 case CallingConv::PreserveAll: in getCalleeSavedRegs()
311 case CallingConv::CXX_FAST_TLS: in getCalleeSavedRegs()
[all …]
DX86CallingConv.td76 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.h811 bool isCallingConvWin64(CallingConv::ID CC) const { in isCallingConvWin64()
814 case CallingConv::C: in isCallingConvWin64()
815 case CallingConv::Fast: in isCallingConvWin64()
816 case CallingConv::Tail: in isCallingConvWin64()
817 case CallingConv::Swift: in isCallingConvWin64()
818 case CallingConv::X86_FastCall: in isCallingConvWin64()
819 case CallingConv::X86_StdCall: in isCallingConvWin64()
820 case CallingConv::X86_ThisCall: in isCallingConvWin64()
821 case CallingConv::X86_VectorCall: in isCallingConvWin64()
822 case CallingConv::Intel_OCL_BI: in isCallingConvWin64()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUAliasAnalysis.cpp111 case CallingConv::AMDGPU_LS: in pointsToConstantMemory()
112 case CallingConv::AMDGPU_HS: in pointsToConstantMemory()
113 case CallingConv::AMDGPU_ES: in pointsToConstantMemory()
114 case CallingConv::AMDGPU_GS: in pointsToConstantMemory()
115 case CallingConv::AMDGPU_VS: in pointsToConstantMemory()
116 case CallingConv::AMDGPU_PS: in pointsToConstantMemory()
117 case CallingConv::AMDGPU_CS: in pointsToConstantMemory()
118 case CallingConv::AMDGPU_KERNEL: in pointsToConstantMemory()
119 case CallingConv::SPIR_KERNEL: in pointsToConstantMemory()
DR600AsmPrinter.cpp75 case CallingConv::AMDGPU_CS: RsrcReg = R_0288D4_SQ_PGM_RESOURCES_LS; break; in EmitProgramInfoR600()
76 case CallingConv::AMDGPU_GS: RsrcReg = R_028878_SQ_PGM_RESOURCES_GS; break; in EmitProgramInfoR600()
77 case CallingConv::AMDGPU_PS: RsrcReg = R_028844_SQ_PGM_RESOURCES_PS; break; in EmitProgramInfoR600()
78 case CallingConv::AMDGPU_VS: RsrcReg = R_028860_SQ_PGM_RESOURCES_VS; break; in EmitProgramInfoR600()
84 case CallingConv::AMDGPU_GS: LLVM_FALLTHROUGH; in EmitProgramInfoR600()
85 case CallingConv::AMDGPU_CS: LLVM_FALLTHROUGH; in EmitProgramInfoR600()
86 case CallingConv::AMDGPU_VS: RsrcReg = R_028868_SQ_PGM_RESOURCES_VS; break; in EmitProgramInfoR600()
87 case CallingConv::AMDGPU_PS: RsrcReg = R_028850_SQ_PGM_RESOURCES_PS; break; in EmitProgramInfoR600()
DAMDGPURegisterInfo.cpp97 CallingConv::ID CC = MF->getFunction().getCallingConv(); in getCalleeSavedRegs()
99 case CallingConv::C: in getCalleeSavedRegs()
100 case CallingConv::Fast: in getCalleeSavedRegs()
101 case CallingConv::Cold: in getCalleeSavedRegs()
117 CallingConv::ID CC) const { in getCallPreservedMask()
119 case CallingConv::C: in getCallPreservedMask()
120 case CallingConv::Fast: in getCallPreservedMask()
121 case CallingConv::Cold: in getCallPreservedMask()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DMangler.cpp80 static bool hasByteCountSuffix(CallingConv::ID CC) { in hasByteCountSuffix()
82 case CallingConv::X86_FastCall: in hasByteCountSuffix()
83 case CallingConv::X86_StdCall: in hasByteCountSuffix()
84 case CallingConv::X86_VectorCall: in hasByteCountSuffix()
147 CallingConv::ID CC = in getNameWithPrefix()
148 MSFunc ? MSFunc->getCallingConv() : (unsigned)CallingConv::C; in getNameWithPrefix()
150 CC != CallingConv::X86_VectorCall) in getNameWithPrefix()
153 if (CC == CallingConv::X86_FastCall) in getNameWithPrefix()
155 else if (CC == CallingConv::X86_VectorCall) in getNameWithPrefix()
167 if (CC == CallingConv::X86_VectorCall) in getNameWithPrefix()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.cpp46 if (MF->getFunction().getCallingConv() == CallingConv::CFGuard_Check) in getCalleeSavedRegs()
50 if (MF->getFunction().getCallingConv() == CallingConv::GHC) in getCalleeSavedRegs()
54 if (MF->getFunction().getCallingConv() == CallingConv::AnyReg) in getCalleeSavedRegs()
56 if (MF->getFunction().getCallingConv() == CallingConv::AArch64_VectorCall) in getCalleeSavedRegs()
58 if (MF->getFunction().getCallingConv() == CallingConv::AArch64_SVE_VectorCall) in getCalleeSavedRegs()
60 if (MF->getFunction().getCallingConv() == CallingConv::CXX_FAST_TLS) in getCalleeSavedRegs()
69 if (MF->getFunction().getCallingConv() == CallingConv::PreserveMost) in getCalleeSavedRegs()
79 if (MF->getFunction().getCallingConv() == CallingConv::CXX_FAST_TLS && in getCalleeSavedRegsViaCopy()
117 CallingConv::ID CC) const { in getCallPreservedMask()
119 if (CC == CallingConv::GHC) in getCallPreservedMask()
[all …]
DAArch64CallLowering.cpp215 static bool doesCalleeRestoreStack(CallingConv::ID CallConv, bool TailCallOpt) { in doesCalleeRestoreStack()
216 return CallConv == CallingConv::Fast && TailCallOpt; in doesCalleeRestoreStack()
221 const DataLayout &DL, MachineRegisterInfo &MRI, CallingConv::ID CallConv) const { in splitToValueTypes()
281 CallingConv::ID CC = F.getCallingConv(); in lowerReturn()
498 static bool canGuaranteeTCO(CallingConv::ID CC) { in canGuaranteeTCO()
499 return CC == CallingConv::Fast; in canGuaranteeTCO()
503 static bool mayTailCallThisCC(CallingConv::ID CC) { in mayTailCallThisCC()
505 case CallingConv::C: in mayTailCallThisCC()
506 case CallingConv::PreserveMost: in mayTailCallThisCC()
507 case CallingConv::Swift: in mayTailCallThisCC()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DRegUsageInfoCollector.cpp87 case CallingConv::AMDGPU_VS: in isCallableFunction()
88 case CallingConv::AMDGPU_GS: in isCallableFunction()
89 case CallingConv::AMDGPU_PS: in isCallableFunction()
90 case CallingConv::AMDGPU_CS: in isCallableFunction()
91 case CallingConv::AMDGPU_HS: in isCallableFunction()
92 case CallingConv::AMDGPU_ES: in isCallableFunction()
93 case CallingConv::AMDGPU_LS: in isCallableFunction()
94 case CallingConv::AMDGPU_KERNEL: in isCallableFunction()
DCallingConvLower.cpp29 CCState::CCState(CallingConv::ID CC, bool isVarArg, MachineFunction &mf, in CCState()
31 : CallingConv(CC), IsVarArg(isVarArg), MF(mf), in CCState()
189 static bool isValueTypeInRegForCC(CallingConv::ID CC, MVT VT) { in isValueTypeInRegForCC()
194 if (CC == CallingConv::X86_VectorCall || CC == CallingConv::X86_FastCall) in isValueTypeInRegForCC()
207 if (isValueTypeInRegForCC(CallingConv, VT)) in getRemainingRegParmsForType()
259 bool CCState::resultsCompatible(CallingConv::ID CalleeCC, in resultsCompatible()
260 CallingConv::ID CallerCC, MachineFunction &MF, in resultsCompatible()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceGlobalInits.h134 llvm::CallingConv::ID CallingConv, in create() argument
138 FunctionDeclaration(Signature, CallingConv, Linkage, IsProto); in create()
141 llvm::CallingConv::ID getCallingConv() const { return CallingConv; } in getCallingConv()
166 llvm::CallingConv::ID CallingConv; variable
170 llvm::CallingConv::ID CallingConv, in FunctionDeclaration() argument
173 Signature(Signature), CallingConv(CallingConv), IsProto(IsProto) {} in FunctionDeclaration()
DIceGlobalInits.cpp48 void dumpCallingConv(Ice::Ostream &, llvm::CallingConv::ID CallingConv) { in dumpCallingConv() argument
51 if (CallingConv == llvm::CallingConv::C) in dumpCallingConv()
55 StrBuf << "Unknown calling convention: " << CallingConv; in dumpCallingConv()
92 ::dumpCallingConv(Stream, CallingConv); in dump()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsCallingConv.td50 def RetCC_F128SoftFloat : CallingConv<[
56 def RetCC_F128HardFloat : CallingConv<[
69 def RetCC_F128 : CallingConv<[
80 def CC_MipsO32 : CallingConv<[
95 def RetCC_MipsO32 : CallingConv<[
116 def CC_MipsO32_FP : CallingConv<[
125 def CC_MipsN_SoftFloat : CallingConv<[
133 def CC_MipsN : CallingConv<[
170 def CC_MipsN_VarArg : CallingConv<[
188 def RetCC_MipsN : CallingConv<[
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430ISelLowering.h138 CallingConv::ID CallConv, bool isVarArg,
146 SDValue LowerCCCArguments(SDValue Chain, CallingConv::ID CallConv,
153 CallingConv::ID CallConv, bool isVarArg,
159 LowerFormalArguments(SDValue Chain, CallingConv::ID CallConv, bool isVarArg,
167 bool CanLowerReturn(CallingConv::ID CallConv,
173 SDValue LowerReturn(SDValue Chain, CallingConv::ID CallConv, bool isVarArg,
DMSP430ISelLowering.cpp315 setLibcallCallingConv(RTLIB::MUL_I64, CallingConv::MSP430_BUILTIN); in MSP430TargetLowering()
319 setLibcallCallingConv(RTLIB::UDIV_I64, CallingConv::MSP430_BUILTIN); in MSP430TargetLowering()
320 setLibcallCallingConv(RTLIB::UREM_I64, CallingConv::MSP430_BUILTIN); in MSP430TargetLowering()
321 setLibcallCallingConv(RTLIB::SDIV_I64, CallingConv::MSP430_BUILTIN); in MSP430TargetLowering()
322 setLibcallCallingConv(RTLIB::SREM_I64, CallingConv::MSP430_BUILTIN); in MSP430TargetLowering()
323 setLibcallCallingConv(RTLIB::ADD_F64, CallingConv::MSP430_BUILTIN); in MSP430TargetLowering()
324 setLibcallCallingConv(RTLIB::SUB_F64, CallingConv::MSP430_BUILTIN); in MSP430TargetLowering()
325 setLibcallCallingConv(RTLIB::MUL_F64, CallingConv::MSP430_BUILTIN); in MSP430TargetLowering()
326 setLibcallCallingConv(RTLIB::DIV_F64, CallingConv::MSP430_BUILTIN); in MSP430TargetLowering()
327 setLibcallCallingConv(RTLIB::OEQ_F64, CallingConv::MSP430_BUILTIN); in MSP430TargetLowering()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.h681 MF->getFunction().getCallingConv() == CallingConv::CXX_FAST_TLS && in supportSplitCSR()
925 const MCPhysReg *getScratchRegisters(CallingConv::ID CC) const override;
940 Type *Ty, CallingConv::ID CallConv, bool isVarArg) const override { in functionArgumentNeedsConsecutiveRegisters()
1030 CallingConv::ID CalleeCC,
1038 CallingConv::ID CalleeCC,
1099 CallingConv::ID CallConv, bool isVarArg,
1103 SDValue FinishCall(CallingConv::ID CallConv, const SDLoc &dl,
1114 LowerFormalArguments(SDValue Chain, CallingConv::ID CallConv, bool isVarArg,
1122 bool CanLowerReturn(CallingConv::ID CallConv, MachineFunction &MF,
1127 SDValue LowerReturn(SDValue Chain, CallingConv::ID CallConv, bool isVarArg,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiISelLowering.h114 CallingConv::ID CallConv, bool IsVarArg,
122 SDValue LowerCCCArguments(SDValue Chain, CallingConv::ID CallConv,
129 CallingConv::ID CallConv, bool IsVarArg,
137 SDValue LowerFormalArguments(SDValue Chain, CallingConv::ID CallConv,
143 SDValue LowerReturn(SDValue Chain, CallingConv::ID CallConv, bool IsVarArg,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRCallingConv.td15 def RetCC_AVR : CallingConv
25 def RetCC_AVR_BUILTIN : CallingConv
38 def ArgCC_AVR_Vararg : CallingConv
46 def ArgCC_AVR_BUILTIN_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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCISelLowering.h81 SDValue LowerCallArguments(SDValue Chain, CallingConv::ID CallConv,
95 SDValue LowerFormalArguments(SDValue Chain, CallingConv::ID CallConv,
104 SDValue LowerReturn(SDValue Chain, CallingConv::ID CallConv, bool isVarArg,
109 bool CanLowerReturn(CallingConv::ID CallConv, MachineFunction &MF,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcISelLowering.h127 LowerFormalArguments(SDValue Chain, CallingConv::ID CallConv, bool isVarArg,
131 SDValue LowerFormalArguments_32(SDValue Chain, CallingConv::ID CallConv,
136 SDValue LowerFormalArguments_64(SDValue Chain, CallingConv::ID CallConv,
150 SDValue LowerReturn(SDValue Chain, CallingConv::ID CallConv, bool isVarArg,
154 SDValue LowerReturn_32(SDValue Chain, CallingConv::ID CallConv,
159 SDValue LowerReturn_64(SDValue Chain, CallingConv::ID CallConv,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFCallingConv.td14 def RetCC_BPF64 : CallingConv<[CCIfType<[i64], CCAssignToReg<[R0]>>]>;
17 def CC_BPF64 : CallingConv<[
29 def RetCC_BPF32 : CallingConv<[
35 def CC_BPF32 : CallingConv<[

123456789