| /llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/ |
| H A D | CodeTemplate.cpp | 66 bool isEnumValue(ExecutionMode Execution) { in isEnumValue() 70 StringRef getName(ExecutionMode Bit) { in getName() 73 case ExecutionMode::UNKNOWN: in getName() 79 case ExecutionMode::SERIAL_VIA_MEMORY_INSTR: in getName() 81 case ExecutionMode::SERIAL_VIA_EXPLICIT_REGS: in getName() 93 ArrayRef<ExecutionMode> getAllExecutionBits() { in getAllExecutionBits() 97 ExecutionMode::SERIAL_VIA_MEMORY_INSTR, in getAllExecutionBits() 98 ExecutionMode::SERIAL_VIA_EXPLICIT_REGS, in getAllExecutionBits() 101 ExecutionMode::PARALLEL_VIA_EXPLICIT_REGS, in getAllExecutionBits() 106 SmallVector<ExecutionMode, 4> getExecutionModeBits(ExecutionMode Execution) { in getExecutionModeBits() [all …]
|
| H A D | SerialSnippetGenerator.cpp | 22 ExecutionMode Mask; 25 {ExecutionMode::ALWAYS_SERIAL_IMPLICIT_REGS_ALIAS | 26 ExecutionMode::ALWAYS_SERIAL_TIED_REGS_ALIAS, 28 {ExecutionMode::SERIAL_VIA_EXPLICIT_REGS, 30 {ExecutionMode::SERIAL_VIA_MEMORY_INSTR | 31 ExecutionMode::SERIAL_VIA_NON_MEMORY_INSTR, 73 ExecutionMode EM = ExecutionMode::UNKNOWN; in getExecutionModes() 79 EM |= ExecutionMode::SERIAL_VIA_MEMORY_INSTR; in getExecutionModes() 110 case ExecutionMode::SERIAL_VIA_MEMORY_INSTR: { in appendCodeTemplates() 115 case ExecutionMode::SERIAL_VIA_EXPLICIT_REGS: { in appendCodeTemplates() [all …]
|
| H A D | CodeTemplate.h | 57 enum class ExecutionMode : uint8_t { enum 99 bool isEnumValue(ExecutionMode Execution); 102 StringRef getName(ExecutionMode Execution); 106 ArrayRef<ExecutionMode> getAllExecutionBits(); 109 SmallVector<ExecutionMode, 4> getExecutionModeBits(ExecutionMode); 125 ExecutionMode Execution = ExecutionMode::UNKNOWN;
|
| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/MCTargetDesc/ |
| H A D | SPIRVBaseInfo.cpp | 226 CASE(ExecutionMode, Invocations) in getExecutionModeName() 236 CASE(ExecutionMode, PointMode) in getExecutionModeName() 237 CASE(ExecutionMode, Xfb) in getExecutionModeName() 240 CASE(ExecutionMode, DepthLess) in getExecutionModeName() 242 CASE(ExecutionMode, LocalSize) in getExecutionModeName() 244 CASE(ExecutionMode, InputPoints) in getExecutionModeName() 245 CASE(ExecutionMode, InputLines) in getExecutionModeName() 247 CASE(ExecutionMode, Triangles) in getExecutionModeName() 249 CASE(ExecutionMode, Quads) in getExecutionModeName() 250 CASE(ExecutionMode, Isolines) in getExecutionModeName() [all …]
|
| H A D | SPIRVBaseInfo.h | 202 enum class ExecutionMode : uint32_t { enum 253 StringRef getExecutionModeName(ExecutionMode e);
|
| /llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/X86/ |
| H A D | SnippetGeneratorTest.cpp | 80 EXPECT_THAT(CT.Execution, ExecutionMode::ALWAYS_SERIAL_IMPLICIT_REGS_ALIAS); in TEST_F() 103 EXPECT_THAT(CT.Execution, ExecutionMode::ALWAYS_SERIAL_TIED_REGS_ALIAS); in TEST_F() 125 EXPECT_THAT(CT.Execution, ExecutionMode::SERIAL_VIA_EXPLICIT_REGS); in TEST_F() 168 EXPECT_THAT(CT.Execution, ExecutionMode::SERIAL_VIA_NON_MEMORY_INSTR); in TEST_F() 189 EXPECT_THAT(CT.Execution, ExecutionMode::SERIAL_VIA_NON_MEMORY_INSTR); in TEST_F() 228 EXPECT_THAT(CT.Execution, ExecutionMode::UNKNOWN); in TEST_F() 254 EXPECT_THAT(CT.Execution, ExecutionMode::UNKNOWN); in TEST_F() 286 EXPECT_THAT(CT.Execution, ExecutionMode::UNKNOWN); in TEST_F() 322 EXPECT_THAT(CT.Execution, ExecutionMode::UNKNOWN); in TEST_F()
|
| /llvm-project-15.0.7/mlir/test/Target/SPIRV/ |
| H A D | entry-point.mlir | 8 // CHECK-NEXT: spv.ExecutionMode @noop "ContractionOff" 10 spv.ExecutionMode @noop "ContractionOff" 26 spv.ExecutionMode @noop "ContractionOff"
|
| H A D | execution-mode.mlir | 8 // CHECK: spv.ExecutionMode @foo "LocalSizeHint", 3, 4, 5 9 spv.ExecutionMode @foo "LocalSizeHint", 3, 4, 5
|
| H A D | selection.mlir | 51 spv.ExecutionMode @main "LocalSize", 1, 1, 1 89 spv.ExecutionMode @main "LocalSize", 1, 1, 1
|
| /llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/PowerPC/ |
| H A D | SnippetGeneratorTest.cpp | 67 EXPECT_THAT(CT.Execution, ExecutionMode::SERIAL_VIA_EXPLICIT_REGS); in TEST_F() 97 EXPECT_THAT(CT.Execution, ExecutionMode::ALWAYS_SERIAL_TIED_REGS_ALIAS); in TEST_F() 122 EXPECT_THAT(CT.Execution, ExecutionMode::UNKNOWN); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVAsmPrinter.cpp | 67 SPIRV::ExecutionMode EM); 379 SPIRV::ExecutionMode EM) { in outputExecutionModeFromMDNode() 406 SPIRV::ExecutionMode::LocalSize); in outputExecutionMode() 409 SPIRV::ExecutionMode::LocalSizeHint); in outputExecutionMode() 412 SPIRV::ExecutionMode::SubgroupSize); in outputExecutionMode() 417 unsigned EM = static_cast<unsigned>(SPIRV::ExecutionMode::VecTypeHint); in outputExecutionMode()
|
| H A D | SPIRVEnums.td | 27 def ExecutionMode : EnumOperand<"ExecutionMode">;
|
| /llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/Mips/ |
| H A D | SnippetGeneratorTest.cpp | 67 EXPECT_THAT(CT.Execution, ExecutionMode::SERIAL_VIA_EXPLICIT_REGS); in TEST_F() 114 EXPECT_THAT(CT.Execution, ExecutionMode::UNKNOWN); in TEST_F()
|
| /llvm-project-15.0.7/mlir/test/Conversion/SPIRVToLLVM/ |
| H A D | misc-ops-to-llvm.mlir | 88 // spv.EntryPoint and spv.ExecutionMode 107 spv.ExecutionMode @empty "ContractionOff" 133 spv.ExecutionMode @bar "ContractionOff" 134 spv.ExecutionMode @bar "LocalSizeHint", 32, 1, 1
|
| H A D | lower-host-to-llvm-calls.mlir | 13 // CHECK: spv.ExecutionMode @__spv__foo_bar "LocalSize", 1, 1, 1 31 spv.ExecutionMode @bar "LocalSize", 1, 1, 1
|
| /llvm-project-15.0.7/mlir/test/Dialect/SPIRV/Linking/ModuleCombiner/ |
| H A D | basic.mlir | 13 // CHECK-NEXT: spv.ExecutionMode @no_op "LocalSize", 32, 1, 1 33 spv.ExecutionMode @no_op "LocalSize", 32, 1, 1
|
| H A D | conflict-resolution.mlir | 172 // CHECK-NEXT: spv.ExecutionMode @foo_1 "ContractionOff" 189 spv.ExecutionMode @foo "ContractionOff" 202 // CHECK-NEXT: spv.ExecutionMode @foo "ContractionOff" 209 // CHECK-NEXT: spv.ExecutionMode @foo_1 "ContractionOff" 220 spv.ExecutionMode @foo "ContractionOff" 229 spv.ExecutionMode @foo "ContractionOff"
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntimeGPU.h | 27 enum ExecutionMode { enum 43 ExecutionMode getExecutionMode() const; 387 ExecutionMode CurrentExecutionMode = EM_Unknown;
|
| /llvm-project-15.0.7/mlir/test/Dialect/SPIRV/Transforms/ |
| H A D | abi-interface-opencl.mlir | 10 // CHECK: spv.ExecutionMode [[FN]] "LocalSize", 32, 1, 1
|
| H A D | abi-interface.mlir | 28 // CHECK: spv.ExecutionMode [[FN]] "LocalSize", 32, 1, 1
|
| /llvm-project-15.0.7/openmp/libomptarget/plugins/cuda/src/ |
| H A D | rtl.cpp | 88 llvm::omp::OMPTgtExecModeFlags ExecutionMode; member 93 KernelTy(CUfunction Func, llvm::omp::OMPTgtExecModeFlags ExecutionMode) in KernelTy() 94 : Func(Func), ExecutionMode(ExecutionMode) {} in KernelTy() 1129 KernelInfo->ExecutionMode == llvm::omp::OMP_TGT_EXEC_MODE_GENERIC_SPMD; in runTargetTeamRegion() 1131 KernelInfo->ExecutionMode == llvm::omp::OMP_TGT_EXEC_MODE_SPMD; in runTargetTeamRegion() 1133 KernelInfo->ExecutionMode == llvm::omp::OMP_TGT_EXEC_MODE_GENERIC; in runTargetTeamRegion() 1204 static_cast<int8_t>(KernelInfo->ExecutionMode)); in runTargetTeamRegion()
|
| /llvm-project-15.0.7/openmp/libomptarget/plugins/amdgpu/src/ |
| H A D | rtl.cpp | 218 llvm::omp::OMPTgtExecModeFlags ExecutionMode; member 224 KernelTy(llvm::omp::OMPTgtExecModeFlags ExecutionMode, int16_t ConstWgSize, in KernelTy() 228 : ExecutionMode(ExecutionMode), ConstWGSize(ConstWgSize), in KernelTy() 230 DP("Construct kernelinfo: ExecMode %d\n", ExecutionMode); in KernelTy() 1208 llvm::omp::OMPTgtExecModeFlags ExecutionMode, in getLaunchVals() argument 1235 if (ExecutionMode == in getLaunchVals() 1297 if (ExecutionMode == in getLaunchVals() 1301 } else if (ExecutionMode == in getLaunchVals() 1406 KernelInfo->ConstWGSize, KernelInfo->ExecutionMode, in runRegionLocked() 1423 DeviceId, KernelInfo->ExecutionMode, KernelInfo->ConstWGSize, in runRegionLocked()
|
| /llvm-project-15.0.7/mlir/test/Dialect/SPIRV/IR/ |
| H A D | structure-ops.mlir | 218 // spv.ExecutionMode 226 // CHECK: spv.ExecutionMode {{@.*}} "ContractionOff" 227 spv.ExecutionMode @do_nothing "ContractionOff" 235 // CHECK: spv.ExecutionMode {{@.*}} "LocalSizeHint", 3, 4, 5 236 spv.ExecutionMode @do_nothing "LocalSizeHint", 3, 4, 5 246 …// expected-error @+1 {{custom op 'spv.ExecutionMode' invalid execution_mode attribute specificati… 247 spv.ExecutionMode @do_nothing "GLCompute", 3, 4, 5
|
| /llvm-project-15.0.7/mlir/test/Conversion/GPUToVulkan/ |
| H A D | lower-gpu-launch-vulkan-launch.mlir | 19 spv.ExecutionMode @kernel "LocalSize", 1, 1, 1
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/ |
| H A D | SPIRVStructureOps.td | 205 def SPV_ExecutionModeOp : SPV_Op<"ExecutionMode", [InModuleScope]> { 224 execution-mode-op ::= `spv.ExecutionMode ` ssa-use execution-mode 231 spv.ExecutionMode @foo "ContractionOff" 232 spv.ExecutionMode @bar "LocalSizeHint", 3, 4, 5 250 "spirv::ExecutionMode":$executionMode, "ArrayRef<int32_t>":$params)>];
|