Home
last modified time | relevance | path

Searched refs:KernelCode (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.cpp1243 void initDefaultAMDKernelCodeT(AMDGPUMCKernelCodeT &KernelCode, in initDefaultAMDKernelCodeT() argument
1246 KernelCode.amd_kernel_code_version_major = 1; in initDefaultAMDKernelCodeT()
1247 KernelCode.amd_kernel_code_version_minor = 2; in initDefaultAMDKernelCodeT()
1248 KernelCode.amd_machine_kind = 1; // AMD_MACHINE_KIND_AMDGPU in initDefaultAMDKernelCodeT()
1249 KernelCode.amd_machine_version_major = Version.Major; in initDefaultAMDKernelCodeT()
1250 KernelCode.amd_machine_version_minor = Version.Minor; in initDefaultAMDKernelCodeT()
1251 KernelCode.amd_machine_version_stepping = Version.Stepping; in initDefaultAMDKernelCodeT()
1252 KernelCode.kernel_code_entry_byte_offset = sizeof(amd_kernel_code_t); in initDefaultAMDKernelCodeT()
1254 KernelCode.wavefront_size = 5; in initDefaultAMDKernelCodeT()
1255 KernelCode.code_properties |= AMD_CODE_PROPERTY_ENABLE_WAVEFRONT_SIZE32; in initDefaultAMDKernelCodeT()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAsmPrinter.cpp200 AMDGPUMCKernelCodeT KernelCode; in emitFunctionBodyStart() local
201 getAmdKernelCode(KernelCode, CurrentProgramInfo, *MF); in emitFunctionBodyStart()
202 KernelCode.validate(&STM, MF->getContext()); in emitFunctionBodyStart()
203 getTargetStreamer()->EmitAMDKernelCodeT(KernelCode); in emitFunctionBodyStart()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrPredicates.td210 def KernelCode : Predicate<"TM.getCodeModel() == CodeModel::Kernel">;
H A DX86InstrCompiler.td1240 (MOV64ri32 tconstpool :$dst)>, Requires<[KernelCode]>;
1242 (MOV64ri32 tjumptable :$dst)>, Requires<[KernelCode]>;
1244 (MOV64ri32 tglobaladdr :$dst)>, Requires<[KernelCode]>;
1246 (MOV64ri32 texternalsym:$dst)>, Requires<[KernelCode]>;
1248 (MOV64ri32 mcsym:$dst)>, Requires<[KernelCode]>;
1250 (MOV64ri32 tblockaddress:$dst)>, Requires<[KernelCode]>;
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp5961 AMDGPUMCKernelCodeT KernelCode; in ParseDirectiveAMDKernelCodeT() local
5962 KernelCode.initDefault(&getSTI(), getContext()); in ParseDirectiveAMDKernelCodeT()
5976 if (ParseAMDKernelCodeTValue(ID, KernelCode)) in ParseDirectiveAMDKernelCodeT()
5980 KernelCode.validate(&getSTI(), getContext()); in ParseDirectiveAMDKernelCodeT()
5981 getTargetStreamer().EmitAMDKernelCodeT(KernelCode); in ParseDirectiveAMDKernelCodeT()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kInstrInfo.td421 def KernelCode : Predicate<"TM.getCodeModel() == CodeModel::Kernel">;