Lines Matching +full:dim +full:- +full:mode
1 //===-- SPIRVInstrInfo.td - Target Description for SPIR-V Target ----------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file describes the SPIR-V instructions in TableGen format.
11 //===----------------------------------------------------------------------===//
111 // - SPV_KHR_expect_assume : Expect assume instructions
158 // 3.42.5 Mode-Setting Instructions
165 def OpExecutionMode: Op<16, (outs), (ins ID:$entry, ExecutionMode:$mode, variable_ops),
166 "OpExecutionMode $entry $mode">;
168 def OpExecutionModeId: Op<331, (outs), (ins ID:$entry, ExecutionMode:$mode, variable_ops),
169 "OpExecutionModeId $entry $mode">;
171 // 3.42.6 Type-Declaration Instructions
183 def OpTypeImage: Op<25, (outs TYPE:$res), (ins TYPE:$sampTy, Dim:$dim, i32imm:$depth,
185 "$res = OpTypeImage $sampTy $dim $depth $arrayed $MS $sampled $imFormat">;
218 // 3.42.7 Constant-Creation Instructions
221 return CurDAG->getTargetConstant(
222 N->getValueAP().bitcastToAPInt().getZExtValue(), SDLoc(N), MVT::i32);
226 return CurDAG->getTargetConstant(
227 N->getValueAPF().bitcastToAPInt().getZExtValue(), SDLoc(N), MVT::i32);
310 // - SPV_INTEL_variable_length_array
618 // 3.42.17 Control-Flow Instructions
734 // TODO: 3.42.22. Device-Side Enqueue Instructions
756 // 3.42.24. Non-Uniform Instructions
815 // 3.49.7, Constant-Creation Instructions
817 // - SPV_INTEL_function_pointers
822 // - SPV_INTEL_function_pointers
827 // - SPV_INTEL_subgroups
845 // - SPV_KHR_uniform_group_instructions