Home
last modified time | relevance | path

Searched refs:si32 (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/mlir/test/Dialect/SPIRV/Transforms/
H A Dgl-canonicalize.mlir64 // CHECK-SAME: (%[[INPUT:.*]]: si32, %[[MIN:.*]]: si32, %[[MAX:.*]]: si32)
65 func.func @clamp_slessthan(%input: si32, %min: si32, %max: si32) -> si32 {
73 spv.ReturnValue %2 : si32
79 // CHECK-SAME: (%[[INPUT:.*]]: si32, %[[MIN:.*]]: si32, %[[MAX:.*]]: si32)
80 func.func @clamp_slessthan(%input: si32, %min: si32, %max: si32) -> si32 {
88 spv.ReturnValue %2 : si32
94 // CHECK-SAME: (%[[INPUT:.*]]: si32, %[[MIN:.*]]: si32, %[[MAX:.*]]: si32)
95 func.func @clamp_slessthanequal(%input: si32, %min: si32, %max: si32) -> si32 {
103 spv.ReturnValue %2 : si32
109 // CHECK-SAME: (%[[INPUT:.*]]: si32, %[[MIN:.*]]: si32, %[[MAX:.*]]: si32)
[all …]
/llvm-project-15.0.7/mlir/test/Target/SPIRV/
H A Dconstant.mlir32 // CHECK: spv.Constant 0 : si32
33 %0 = spv.Constant 0 : si32
34 // CHECK: spv.Constant 10 : si32
35 %1 = spv.Constant 10 : si32
36 // CHECK: spv.Constant -5 : si32
37 %2 = spv.Constant -5 : si32
39 %3 = spv.IAdd %0, %1 : si32
40 %4 = spv.IAdd %2, %3 : si32
211 // CHECK: spv.Constant [5 : si32, 6 : si32, 7 : si32] : !spv.array<3 x si32>
212 %0 = spv.Constant [5 : si32, 6 : si32, 7 : si32] : !spv.array<3 x si32>
H A Dgl-ops.mlir67 spv.func @sclamp(%arg0 : si32, %arg1 : si32, %arg2 : si32) "None" {
68 // CHECK: spv.GL.SClamp {{%[^,]*}}, {{%[^,]*}}, {{%[^,]*}} : si32
69 %13 = spv.GL.SClamp %arg0, %arg1, %arg2 : si32
H A Dcast-ops.mlir7 // CHECK: {{%.*}} = spv.Bitcast {{%.*}} : i32 to si32
8 %1 = spv.Bitcast %0 : i32 to si32
9 // CHECK: {{%.*}} = spv.Bitcast {{%.*}} : si32 to i32
10 %2 = spv.Bitcast %1 : si32 to ui32
H A Dimage.mlir7 …// CHECK: !spv.ptr<!spv.image<si32, Cube, IsDepth, NonArrayed, SingleSampled, NeedSampler, R8ui>, …
8 …spv.GlobalVariable @var1 : !spv.ptr<!spv.image<si32, Cube, IsDepth, NonArrayed, SingleSampled, Nee…
H A Dsampled-image.mlir7 …// CHECK: !spv.ptr<!spv.sampled_image<!spv.image<si32, SubpassData, DepthUnknown, Arrayed, MultiSa…
8 …spv.GlobalVariable @var1 bind(0, 0) : !spv.ptr<!spv.sampled_image<!spv.image<si32, SubpassData, De…
H A Ddecorations.mlir19 spv.GlobalVariable @var {flat} : !spv.ptr<si32, Input>
/llvm-project-15.0.7/mlir/test/Conversion/SPIRVToLLVM/
H A Dshift-ops-to-llvm.mlir8 spv.func @shift_right_arithmetic_scalar(%arg0: i32, %arg1: si32, %arg2 : i16, %arg3 : ui16) "None" {
13 %1 = spv.ShiftRightArithmetic %arg0, %arg1 : i32, si32
48 spv.func @shift_right_logical_scalar(%arg0: i32, %arg1: si32, %arg2 : si16, %arg3 : ui16) "None" {
53 %1 = spv.ShiftRightLogical %arg0, %arg1 : i32, si32
88 spv.func @shift_left_logical_scalar(%arg0: i32, %arg1: si32, %arg2 : i16, %arg3 : ui16) "None" {
93 %1 = spv.ShiftLeftLogical %arg0, %arg1 : i32, si32
/llvm-project-15.0.7/mlir/test/IR/
H A Dattribute.mlir44 // CHECK-SAME: si32_attr = 7 : si32
45 si32_attr = 7 : si32,
51 // CHECK: any_i32_attr = 5 : si32
52 any_i32_attr = 5 : si32,
54 si32_attr = 7 : si32,
62 si32_attr = 7 : si32,
103 attr_12 = -2147483647 : si32,
105 attr_13 = 2147483646 : si32,
220 si32_attr = 7 : si32,
221 ui32_attr = 6 : si32
[all …]
H A Dinvalid-builtin-attributes.mlir374 attr = -2147483649 : si32
384 attr = 2147483648 : si32
/llvm-project-15.0.7/clang/test/CodeGen/PowerPC/
H A Dvector-bool-pixel-altivec-init-no-parentheses.c81 int si32 = 99; in test_vector_bool_pixel_init_no_parentheses() local
82 vbi32_2 = (vector bool int)si32; in test_vector_bool_pixel_init_no_parentheses()
H A Dvector-bool-pixel-altivec-init.c83 int si32 = 99; in test_vector_bool_pixel_init() local
84 vbi32_2 = (vector bool int)(si32); in test_vector_bool_pixel_init()
H A Dvector-compat-ternary.c114 int si32(vector signed int a, vector signed int b) { in si32() function
H A Dvector-compat.c102 vector signed int si32(vector signed int a, vector signed int b) { in si32() function
/llvm-project-15.0.7/mlir/test/Dialect/SPIRV/IR/
H A Dgl-ops.mlir333 func.func @uclamp(%arg0 : si32, %min : si32, %max : si32) -> () {
335 %2 = spv.GL.UClamp %arg0, %min, %max : si32
345 func.func @sclamp(%arg0 : si32, %min : si32, %max : si32) -> () {
346 // CHECK: spv.GL.SClamp {{%[^,]*}}, {{%[^,]*}}, {{%[^,]*}} : si32
347 %2 = spv.GL.SClamp %arg0, %min, %max : si32
/llvm-project-15.0.7/mlir/test/mlir-tblgen/
H A Dtypes.mlir4 "test.int_types"() : () -> (i16, si32, ui64, i8)
5 "test.int_types"() : () -> (si16, si32, ui64, ui64)
6 "test.int_types"() : () -> (ui16, si32, ui64, si128)
22 "test.int_types"() : () -> (ui16, si32, si64, ui8)
30 "test.int_types"() : () -> (f16, si32, ui64, i16)
38 "test.int_types"() : () -> (i16, si32, ui64, f64)
/llvm-project-15.0.7/mlir/test/Conversion/FuncToSPIRV/
H A Dtypes-to-spirv.mlir16 // CHECK-SAME: si32
26 // CHECK-SAME: si32
36 // CHECK-SAME: si32
321 // CHECK-SAME: !spv.ptr<!spv.struct<(!spv.array<4 x si32, stride=4> [0])>, Uniform>
339 // CHECK-SAME: !spv.ptr<!spv.struct<(!spv.array<8 x si32, stride=4> [0])>, Uniform>
369 // CHECK-SAME: !spv.ptr<!spv.struct<(!spv.array<32 x si32, stride=4> [0])>, Uniform>
633 // CHECK-SAME: !spv.ptr<!spv.struct<(!spv.rtarray<si32, stride=4> [0])>, Uniform>
651 // CHECK-SAME: !spv.ptr<!spv.struct<(!spv.rtarray<si32, stride=4> [0])>, Uniform>
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Ddivrem.ll56 define void @si32(i32 %x, i32 %y, ptr %p, ptr %q) nounwind {
57 ; X32-LABEL: si32:
70 ; X64-LABEL: si32:
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/GlobalISel/
H A Dselect-extract-vector-elt-with-extend.mir107 name: si32
115 ; CHECK-LABEL: name: si32
/llvm-project-15.0.7/mlir/test/CAPI/
H A Dir.c635 MlirType si32 = mlirIntegerTypeSignedGet(ctx, 32); in printBuiltinTypes() local
639 if (!mlirTypeIsAInteger(si32) || !mlirIntegerTypeIsSigned(si32)) in printBuiltinTypes()
643 if (mlirTypeEqual(i32, ui32) || mlirTypeEqual(i32, si32)) in printBuiltinTypes()
645 if (mlirIntegerTypeGetWidth(i32) != mlirIntegerTypeGetWidth(si32)) in printBuiltinTypes()
650 mlirTypeDump(si32); in printBuiltinTypes()
/llvm-project-15.0.7/mlir/test/Dialect/OpenMP/
H A Dops.mlir91 …allel_pretty(%data_var : memref<i32>, %if_cond : i1, %num_threads : i32, %allocator : si32) -> () {
370 func.func @omp_target(%if_cond : i1, %device : si32, %num_threads : i32) -> () {
377 }) {nowait, operand_segment_sizes = dense<[1,1,1]>: vector<3xi32>} : ( i1, si32, i32 ) -> ()
386 func.func @omp_target_pretty(%if_cond : i1, %device : si32, %num_threads : i32) -> () {
388 omp.target if(%if_cond) device(%device : si32) {
393 omp.target if(%if_cond) device(%device : si32) thread_limit(%num_threads : i32) nowait {
H A Dinvalid.mlir23 func.func @num_threads_once(%n : si32) {
25 omp.parallel num_threads(%n : si32) num_threads(%n : si32) {
/llvm-project-15.0.7/mlir/include/mlir/Dialect/AMX/
H A DAMX.td215 into a "m x n" destination tile. Supports all "si32 <- s/ui8 x s/ui8"
/llvm-project-15.0.7/mlir/test/Dialect/Arithmetic/
H A Dinvalid.mlir37 %0 = arith.constant 0 : si32
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVGLOps.td1032 %2 = spv.GL.SClamp %x, %min, %max : si32

12