Home
last modified time | relevance | path

Searched refs:I32 (Results 1 – 25 of 235) sorted by relevance

12345678910

/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dselect-mmx.ll30 ; I32-LABEL: test47:
31 ; I32: # %bb.0:
42 ; I32-NEXT: # %bb.2:
45 ; I32-NEXT: .LBB0_1:
48 ; I32-NEXT: .LBB0_3:
56 ; I32-NEXT: retl
88 ; I32-LABEL: test49:
89 ; I32: # %bb.0:
100 ; I32-NEXT: # %bb.2:
103 ; I32-NEXT: .LBB1_1:
[all …]
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrInteger.td28 [(set I32:$dst, (node I32:$lhs, I32:$rhs))],
38 [(set I32:$dst, (setcc I32:$lhs, I32:$rhs, cond))],
97 def : Pat<(shl I32:$lhs, (and I32:$rhs, 31)), (SHL_I32 I32:$lhs, I32:$rhs)>;
98 def : Pat<(sra I32:$lhs, (and I32:$rhs, 31)), (SHR_S_I32 I32:$lhs, I32:$rhs)>;
99 def : Pat<(srl I32:$lhs, (and I32:$rhs, 31)), (SHR_U_I32 I32:$lhs, I32:$rhs)>;
105 def : Pat<(rotl I32:$lhs, (and I32:$rhs, 31)), (ROTL_I32 I32:$lhs, I32:$rhs)>;
106 def : Pat<(rotr I32:$lhs, (and I32:$rhs, 31)), (ROTR_I32 I32:$lhs, I32:$rhs)>;
110 defm SELECT_I32 : I<(outs I32:$dst), (ins I32:$lhs, I32:$rhs, I32:$cond),
112 [(set I32:$dst, (select I32:$cond, I32:$lhs, I32:$rhs))],
123 (SELECT_I32 I32:$lhs, I32:$rhs, I32:$cond)>;
[all …]
H A DWebAssemblyInstrConv.td15 defm I32_WRAP_I64 : I<(outs I32:$dst), (ins I64:$src), (outs), (ins),
16 [(set I32:$dst, (trunc I64:$src))],
19 defm I64_EXTEND_S_I32 : I<(outs I64:$dst), (ins I32:$src), (outs), (ins),
20 [(set I64:$dst, (sext I32:$src))],
24 [(set I64:$dst, (zext I32:$src))],
29 defm I32_EXTEND8_S_I32 : I<(outs I32:$dst), (ins I32:$src), (outs), (ins),
30 [(set I32:$dst, (sext_inreg I32:$src, i8))],
33 defm I32_EXTEND16_S_I32 : I<(outs I32:$dst), (ins I32:$src), (outs), (ins),
34 [(set I32:$dst, (sext_inreg I32:$src, i16))],
54 def : Pat<(i64 (anyext I32:$src)), (I64_EXTEND_U_I32 I32:$src)>;
[all …]
H A DWebAssemblyInstrTable.td25 defm TABLE_GET_#rc : I<(outs rc:$res), (ins table32_op:$table, I32:$i),
33 defm TABLE_SET_#rc : I<(outs), (ins table32_op:$table, I32:$i, rc:$val),
40 defm TABLE_GROW_#rc : I<(outs I32:$sz), (ins table32_op:$table, rc:$val, I32:$n),
42 …[(set I32:$sz, (!cast<Intrinsic>("int_wasm_table_grow_" # suffix) (WebAssemblyWrapper tglobaladdr:…
47 defm TABLE_FILL_#rc : I<(outs), (ins table32_op:$table, I32:$i, rc:$val, I32:$n),
49 …int_wasm_table_fill_" # suffix) (WebAssemblyWrapper tglobaladdr:$table), I32:$i, rc:$val, I32:$n)],
72 defm TABLE_SIZE : I<(outs I32:$sz), (ins table32_op:$table),
74 [(set I32:$sz, (int_wasm_table_size (WebAssemblyWrapper tglobaladdr:$table)))],
81 defm TABLE_COPY : I<(outs), (ins table32_op:$table1, table32_op:$table2, I32:$d, I32:$s, I32:$n),
85 I32:$d, I32:$s, I32:$n)],
H A DWebAssemblyInstrRef.td23 defm SELECT_#rc: I<(outs rc:$dst), (ins rc:$lhs, rc:$rhs, I32:$cond),
26 (select I32:$cond, rc:$lhs, rc:$rhs))],
31 : I<(outs I32:$dst), (ins rc:$ref), (outs), (ins),
32 [(set I32:$dst, (!cast<Intrinsic>("int_wasm_ref_is_null_" # ht) rc:$ref))],
42 def : Pat<(select (i32 (setne I32:$cond, 0)), rc:$lhs, rc:$rhs),
43 (!cast<Instruction>("SELECT_"#rc) rc:$lhs, rc:$rhs, I32:$cond)>;
44 def : Pat<(select (i32 (seteq I32:$cond, 0)), rc:$lhs, rc:$rhs),
45 (!cast<Instruction>("SELECT_"#rc) rc:$rhs, rc:$lhs, I32:$cond)>;
H A DWebAssemblyInstrAtomics.td37 ATOMIC_I<(outs I32:$dst),
38 (ins P2Align:$p2align, offset32_op:$off, I32:$addr, I32:$count),
43 ATOMIC_I<(outs I32:$dst),
50 ATOMIC_I<(outs I32:$dst),
51 (ins P2Align:$p2align, offset32_op:$off, I32:$addr, I32:$exp,
57 ATOMIC_I<(outs I32:$dst),
64 ATOMIC_I<(outs I32:$dst),
71 ATOMIC_I<(outs I32:$dst),
82 Pat<(i32 (int_wasm_memory_atomic_notify I32:$addr, I32:$count)),
83 (MEMORY_ATOMIC_NOTIFY_A32 0, 0, I32:$addr, I32:$count)>,
[all …]
H A DWebAssemblyInstrFloat.td37 defm _F32 : I<(outs I32:$dst), (ins F32:$lhs, F32:$rhs), (outs), (ins),
38 [(set I32:$dst, (setcc F32:$lhs, F32:$rhs, cond))],
42 [(set I32:$dst, (setcc F64:$lhs, F64:$rhs, cond))],
114 def : Pat<(select (i32 (setne I32:$cond, 0)), F32:$lhs, F32:$rhs),
115 (SELECT_F32 F32:$lhs, F32:$rhs, I32:$cond)>;
116 def : Pat<(select (i32 (setne I32:$cond, 0)), F64:$lhs, F64:$rhs),
117 (SELECT_F64 F64:$lhs, F64:$rhs, I32:$cond)>;
120 def : Pat<(select (i32 (seteq I32:$cond, 0)), F32:$lhs, F32:$rhs),
121 (SELECT_F32 F32:$rhs, F32:$lhs, I32:$cond)>;
122 def : Pat<(select (i32 (seteq I32:$cond, 0)), F64:$lhs, F64:$rhs),
[all …]
H A DWebAssemblyRuntimeLibcallSignatures.cpp570 Rets.push_back(wasm::ValType::I32); in getLibcallSignature()
574 Rets.push_back(wasm::ValType::I32); in getLibcallSignature()
578 Rets.push_back(wasm::ValType::I32); in getLibcallSignature()
624 Rets.push_back(wasm::ValType::I32); in getLibcallSignature()
628 Rets.push_back(wasm::ValType::I32); in getLibcallSignature()
632 Rets.push_back(wasm::ValType::I32); in getLibcallSignature()
637 Rets.push_back(wasm::ValType::I32); in getLibcallSignature()
652 Rets.push_back(wasm::ValType::I32); in getLibcallSignature()
657 Rets.push_back(wasm::ValType::I32); in getLibcallSignature()
662 Rets.push_back(wasm::ValType::I32); in getLibcallSignature()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonPatterns.td993 def: Pat<(HexagonINSERT I32:$Rs, I32:$Rt, I32:$Width, I32:$Off),
1009 def: Pat<(HexagonEXTRACTU I32:$Rs, I32:$Width, I32:$Off),
1239 def: AccRRR_pat<S2_asr_r_r_acc, Add, Su<Sra>, I32, I32, I32>;
1240 def: AccRRR_pat<S2_asr_r_r_nac, Sub, Su<Sra>, I32, I32, I32>;
1241 def: AccRRR_pat<S2_asr_r_r_and, And, Su<Sra>, I32, I32, I32>;
1481 def: AccRRR_pat<M2_maci, Add, Su<Mul>, I32, I32, I32>;
1483 def: AccRRR_pat<M2_mnaci, Sub, Su<Mul>, I32, I32, I32>;
1488 def: AccRRR_pat<M2_acci, Add, Su<Add>, I32, I32, I32>;
1708 def: Pat<(add I32:$Ru, (Su<Mul> I32:$Ry, I32:$Rs)),
1899 def: Pat<(i1 (setne (and I32:$Rs, I32:$Rt), I32:$Rt)),
[all …]
H A DHexagonIntrinsics.td16 : Pat <(IntID I32:$Rs, I32:$Rt),
17 (MI I32:$Rs, I32:$Rt)>;
134 (C2_tfrpr (C2_cmpeq I32:$src, I32:$src))>;
135 def : Pat <(int_hexagon_C2_cmplt I32:$src1, I32:$src2),
136 (C2_tfrpr (C2_cmpgt I32:$src2, I32:$src1))>;
137 def : Pat <(int_hexagon_C2_cmpltu I32:$src1, I32:$src2),
138 (C2_tfrpr (C2_cmpgtu I32:$src2, I32:$src1))>;
187 : Pat<(IntID I32:$Rs, Val:$Rt, I32:$Ru),
188 (MI I32:$Rs, I32:$Ru, Val:$Rt)>;
197 : Pat<(IntID I32:$Rs, Val:$Rt, I32:$Ru, Imm:$s),
[all …]
H A DHexagonPatternsHVX.td125 (MI I32:$Rt, imm:$Off)>;
126 def: Pat<(ResType (Load I32:$Rt)),
127 (MI I32:$Rt, 0)>;
152 (MI I32:$Rt, 0)>;
154 (MI I32:$Rt, imm:$Off)>;
646 def: Pat<(HexagonVASL HVI16:$Vs, I32:$Rt), (V6_vaslh HvxVR:$Vs, I32:$Rt)>;
647 def: Pat<(HexagonVASL HVI32:$Vs, I32:$Rt), (V6_vaslw HvxVR:$Vs, I32:$Rt)>;
648 def: Pat<(HexagonVASR HVI16:$Vs, I32:$Rt), (V6_vasrh HvxVR:$Vs, I32:$Rt)>;
649 def: Pat<(HexagonVASR HVI32:$Vs, I32:$Rt), (V6_vasrw HvxVR:$Vs, I32:$Rt)>;
650 def: Pat<(HexagonVLSR HVI16:$Vs, I32:$Rt), (V6_vlsrh HvxVR:$Vs, I32:$Rt)>;
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/SPIRV/instructions/
H A Dcall-complex-function.ll10 ; CHECK-DAG: [[I32:%.+]] = OpTypeInt 32
12 ; CHECK-DAG: [[FN3:%.+]] = OpTypeFunction [[I32]] [[I32]] [[I16]] [[I64]]
13 ; CHECK-DAG: [[PAIR:%.+]] = OpTypeStruct [[I32]] [[I16]]
14 ; CHECK-DAG: [[FN1:%.+]] = OpTypeFunction [[I32]] [[I32]]
15 ; CHECK-DAG: [[FN2:%.+]] = OpTypeFunction [[I32]] [[PAIR]] [[I64]]
24 ; CHECK: [[FUN]] = OpFunction [[I32]] None [[FN1]]
25 ; CHECK-NEXT: OpFunctionParameter [[I32]]
35 ; CHECK: [[GOO]] = OpFunction [[I32]] None [[FN3]]
36 ; CHECK-NEXT: [[A:%.+]] = OpFunctionParameter [[I32]]
45 ; CHECK: [[FOO]] = OpFunction [[I32]] None [[FN2]]
[all …]
/llvm-project-15.0.7/openmp/libomptarget/plugins/remote/server/
H A DServer.h60 I32 *Reply) override;
64 I32 *Reply) override;
66 I32 *Reply) override;
70 I32 *IsValid) override;
75 I32 *Reply) override;
77 I32 *Reply) override;
82 I32 *Reply) override;
88 I32 *Reply) override;
93 I32 *Reply) override;
96 I32 *Reply) override;
[all …]
H A DServer.cpp26 I32 *Reply) { in Shutdown()
37 I32 *Reply) { in RegisterLib()
56 const Pointer *Request, I32 *Reply) { in UnregisterLib()
73 I32 *IsValid) { in IsValidBinary()
92 I32 *NumberOfDevices) { in GetNumberOfDevices()
108 const I32 *DeviceNum, I32 *Reply) { in InitDevice()
144 I32 *Reply) { in IsDataExchangeable()
172 I32 *Reply) { in DataSubmit()
265 I32 *Reply) { in DataExchange()
297 I32 *Reply) { in RunTargetRegion()
[all …]
/llvm-project-15.0.7/openmp/libomptarget/plugins/remote/include/
H A Dopenmp.proto7 rpc Shutdown(Null) returns (I32) {}
10 rpc UnregisterLib(Pointer) returns (I32) {}
13 rpc GetNumberOfDevices(Null) returns (I32) {}
15 rpc InitDevice(I32) returns (I32) {}
16 rpc InitRequires(I64) returns (I32) {}
21 rpc DataDelete(DeleteData) returns (I32) {}
23 rpc DataSubmit(stream SubmitData) returns (I32) {}
26 rpc IsDataExchangeable(DevicePair) returns (I32) {}
27 rpc DataExchange(ExchangeData) returns (I32) {}
29 rpc RunTargetRegion(TargetRegion) returns (I32) {}
[all …]
/llvm-project-15.0.7/flang/test/Fir/
H A Dtarget.fir6 // I32-LABEL: define i64 @gen4()
21 // I32: ret i64 %[[load]]
51 // I32: declare void @sink4(ptr)
57 // I32: declare void @sink8(ptr)
63 // I32-LABEL: define void @call4()
67 // I32: = call i64 @gen4()
72 // I32: call void @sink4(ptr %
84 // I32: call void @gen8(ptr %
89 // I32: call void @sink8(ptr %
110 // I32: ret i64 %[[add]]
[all …]
H A Dtarget-rewrite-complex.fir8 // I32-LABEL: func @returncomplex4() -> i64
13 // I32: fir.insert_value
34 // I32: return [[RES]] : i64
55 // I32-LABEL:func @returncomplex8
61 // I32: fir.insert_value
79 // I32: return{{ *$}}
106 // I32-LABEL: func @callcomplex4()
166 // I32-LABEL: func @callcomplex8()
333 // I32-SAME: -> i64
423 // I32: return [[RES]] : i64
[all …]
/llvm-project-15.0.7/mlir/test/mlir-tblgen/
H A Dop-format-verify.td45 }]>, Arguments<(ins AnyAttr:$attr, Optional<I32>:$a)>;
51 }]>, Arguments<(ins AnyAttr:$attr, Optional<I32>:$a)>;
77 Arguments<(ins AnyAttr:$attr, Optional<I32>:$a, Optional<I32>:$b)>;
86 Arguments<(ins AnyAttr:$attr, Optional<I32>:$a, Optional<I32>:$b)>;
95 Arguments<(ins AnyAttr:$attr, Optional<I32>:$a, Optional<I32>:$b)>;
105 Optional<I32>:$b)>;
115 Optional<I32>:$b)>;
124 Optional<I32>:$b, Variadic<I32>:$c);
148 Arguments<(ins AnyAttr:$attr, Optional<I32>:$a, Optional<I32>:$b)>;
156 Optional<I32>:$b)>;
[all …]
/llvm-project-15.0.7/polly/test/GPGPU/
H A Dspir-typesize.ll9 ; RUN: FileCheck -check-prefix=I32 %s
16 ; I32-NEXT: target triple = "spir-unknown-unknown"
19 ; I32-NEXT: entry:
20 ; I32-NEXT: %0 = call i32 @__gen_ocl_get_group_id0()
21 ; I32-NEXT: %__gen_ocl_get_group_id0 = zext i32 %0 to i64
22 ; I32-NEXT: %1 = call i32 @__gen_ocl_get_group_id1()
23 ; I32-NEXT: %__gen_ocl_get_group_id1 = zext i32 %1 to i64
24 ; I32-NEXT: %2 = call i32 @__gen_ocl_get_local_id0()
25 ; I32-NEXT: %__gen_ocl_get_local_id0 = zext i32 %2 to i64
26 ; I32-NEXT: %3 = call i32 @__gen_ocl_get_local_id1()
[all …]
/llvm-project-15.0.7/mlir/test/lib/Dialect/Test/
H A DTestOps.td938 let arguments = (ins I32, I32);
948 let arguments = (ins I32, I32, I32, I32, I32, I32);
1035 I32:$input1, I32:$input2, I32:$input3, I32:$input4, I32:$input5,
1036 I32:$input6, I32:$input7, I32:$input8, I32:$input9,
1064 I32:$input1, I32:$input2,
1108 let arguments = (ins I32:$input1, I32:$input2);
1190 let arguments = (ins I32:$op1, I32:$op2, I32:$op3, I32:$op4);
1195 let arguments = (ins I32:$op1, I32:$op2);
1209 let arguments = (ins I32:$op1, I32:$op2);
1670 Arguments<(ins I32)>, Results<(outs I32)>;
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/SPIRV/function/
H A Dtrivial-function-with-call.ll10 ; CHECK-DAG: [[I32:%.+]] = OpTypeInt 32
12 ; CHECK-DAG: [[FNVOID:%.+]] = OpTypeFunction [[VOID]] [[I32]]
13 ; CHECK-DAG: [[FNI32:%.+]] = OpTypeFunction [[I32]] [[I32]]
15 ; CHECK: [[BAR]] = OpFunction [[I32]] None [[FNI32]]
16 ; CHECK-NEXT: OpFunctionParameter [[I32]]
23 ; CHECK: OpFunctionCall [[I32]] [[BAR]]
/llvm-project-15.0.7/llvm/test/ObjectYAML/wasm/
H A Dcode_section.yaml10 - I32
15 - I32
33 - Type: I32
38 - Type: I32
64 # CHECK: - I32
69 # CHECK: - I32
83 # CHECK: - Type: I32
88 # CHECK: - Type: I32
H A Devent_section.yaml11 - I32
13 - I32
16 - I32
58 # CHECK-NEXT: - I32
60 # CHECK-NEXT: - I32
63 # CHECK-NEXT: - I32
/llvm-project-15.0.7/llvm/test/MC/WebAssembly/
H A Dlibcall.ll21 ; CHECK-NEXT: - I32
22 ; CHECK-NEXT: - I32
26 ; CHECK-NEXT: - I32
27 ; CHECK-NEXT: - I32
28 ; CHECK-NEXT: - I32
30 ; CHECK-NEXT: - I32
/llvm-project-15.0.7/llvm/test/CodeGen/SPIRV/branching/
H A Dif-merging.ll10 ; CHECK-DAG: [[I32:%.+]] = OpTypeInt 32
35 ; CHECK: [[A:%.+]] = OpFunctionParameter [[I32]]
36 ; CHECK: [[B:%.+]] = OpFunctionParameter [[I32]]
43 ; CHECK: [[V1:%.+]] = OpFunctionCall [[I32]] [[FOO]]
47 ; CHECK: [[V2:%.+]] = OpFunctionCall [[I32]] [[BAR]]
51 ; CHECK-NEXT: [[V:%.+]] = OpPhi [[I32]] [[V1]] [[TRUE_LABEL]] [[V2]] [[FALSE_LABEL]]

12345678910