Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrInteger.td16 defm _I32 : I<(outs I32:$dst), (ins I32:$src), (outs), (ins),
17 [(set I32:$dst, (node I32:$src))],
27 defm _I32 : I<(outs I32:$dst), (ins I32:$lhs, I32:$rhs), (outs), (ins),
28 [(set I32:$dst, (node I32:$lhs, I32:$rhs))],
37 defm _I32 : I<(outs I32:$dst), (ins I32:$lhs, I32:$rhs), (outs), (ins),
38 [(set I32:$dst, (setcc I32:$lhs, I32:$rhs, cond))],
41 defm _I64 : I<(outs I32:$dst), (ins I64:$lhs, I64:$rhs), (outs), (ins),
42 [(set I32:$dst, (setcc I64:$lhs, I64:$rhs, cond))],
89 defm EQZ_I32 : I<(outs I32:$dst), (ins I32:$src), (outs), (ins),
90 [(set I32:$dst, (setcc I32:$src, 0, SETEQ))],
[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))],
23 defm I64_EXTEND_U_I32 : I<(outs I64:$dst), (ins I32:$src), (outs), (ins),
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))],
[all …]
H A DWebAssemblyInstrTable.td25 defm TABLE_GET_#rc : I<(outs rc:$res), (ins table32_op:$table, I32:$i),
27 …cast<Intrinsic>("int_wasm_table_get_" # suffix) (WebAssemblyWrapper tglobaladdr:$table), I32:$i))],
33 defm TABLE_SET_#rc : I<(outs), (ins table32_op:$table, I32:$i, rc:$val),
35 …rinsic>("int_wasm_table_set_" # suffix) (WebAssemblyWrapper tglobaladdr:$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)],
74 defm TABLE_SIZE : I<(outs I32:$sz), (ins table32_op:$table),
76 [(set I32:$sz, (int_wasm_table_size (WebAssemblyWrapper tglobaladdr:$table)))],
[all …]
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),
44 (ins P2Align:$p2align, offset64_op:$off, I64:$addr, I32:$count),
50 ATOMIC_I<(outs I32:$dst),
51 (ins P2Align:$p2align, offset32_op:$off, I32:$addr, I32:$exp,
57 ATOMIC_I<(outs I32:$dst),
58 (ins P2Align:$p2align, offset64_op:$off, I64:$addr, I32:$exp,
64 ATOMIC_I<(outs I32:$dst),
65 (ins P2Align:$p2align, offset32_op:$off, I32:$addr, I64:$exp,
[all …]
H A DWebAssemblyInstrRef.td24 defm SELECT_#rc: I<(outs rc:$dst), (ins rc:$lhs, rc:$rhs, I32:$cond),
27 (select I32:$cond, rc:$lhs, rc:$rhs))],
32 : I<(outs I32:$dst), (ins rc:$ref), (outs), (ins),
33 [(set I32:$dst, (!cast<Intrinsic>("int_wasm_ref_is_null_" # ht) rc:$ref))],
44 def : Pat<(select (i32 (setne I32:$cond, 0)), rc:$lhs, rc:$rhs),
45 (!cast<Instruction>("SELECT_"#rc) rc:$lhs, rc:$rhs, I32:$cond)>;
46 def : Pat<(select (i32 (seteq I32:$cond, 0)), rc:$lhs, rc:$rhs),
47 (!cast<Instruction>("SELECT_"#rc) rc:$rhs, rc:$lhs, I32:$cond)>;
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))],
41 defm _F64 : I<(outs I32:$dst), (ins F64:$lhs, F64:$rhs), (outs), (ins),
42 [(set I32:$dst, (setcc F64:$lhs, F64:$rhs, cond))],
106 defm SELECT_F32 : I<(outs F32:$dst), (ins F32:$lhs, F32:$rhs, I32:$cond),
108 [(set F32:$dst, (select I32:$cond, F32:$lhs, F32:$rhs))],
110 defm SELECT_F64 : I<(outs F64:$dst), (ins F64:$lhs, F64:$rhs, I32:$cond),
112 [(set F64:$dst, (select I32:$cond, F64:$lhs, F64:$rhs))],
118 def : Pat<(select (i32 (setne I32:$cond, 0)), F32:$lhs, F32:$rhs),
119 (SELECT_F32 F32:$lhs, F32:$rhs, I32:$cond)>;
[all …]
H A DWebAssemblyRuntimeLibcallSignatures.cpp557 Subtarget.hasAddr64() ? wasm::ValType::I64 : wasm::ValType::I32; in getLibcallSignature()
573 Params.push_back(wasm::ValType::I32); in getLibcallSignature()
581 Params.push_back(wasm::ValType::I32); in getLibcallSignature()
593 Params.push_back(wasm::ValType::I32); in getLibcallSignature()
600 Rets.push_back(wasm::ValType::I32); in getLibcallSignature()
604 Rets.push_back(wasm::ValType::I32); in getLibcallSignature()
608 Rets.push_back(wasm::ValType::I32); in getLibcallSignature()
609 Params.push_back(wasm::ValType::I32); in getLibcallSignature()
631 Params.push_back(wasm::ValType::I32); in getLibcallSignature()
646 Params.push_back(wasm::ValType::I32); in getLibcallSignature()
[all …]
H A DWebAssemblyInstrMemory.td41 (ins P2Align:$p2align, offset32_op:$off, I32:$addr),
58 defm LOAD_I32 : WebAssemblyLoad<I32, "i32.load", 0x28, []>;
64 defm LOAD8_S_I32 : WebAssemblyLoad<I32, "i32.load8_s", 0x2c, []>;
65 defm LOAD8_U_I32 : WebAssemblyLoad<I32, "i32.load8_u", 0x2d, []>;
66 defm LOAD16_S_I32 : WebAssemblyLoad<I32, "i32.load16_s", 0x2e, []>;
67 defm LOAD16_U_I32 : WebAssemblyLoad<I32, "i32.load16_u", 0x2f, []>;
82 def : Pat<(ty (kind (AddrOps32 offset32_op:$offset, I32:$addr))),
85 I32:$addr)>,
125 (ins P2Align:$p2align, offset32_op:$off, I32:$addr, rc:$val),
143 defm STORE_I32 : WebAssemblyStore<I32, "i32.store", 0x36>;
[all …]
H A DWebAssemblyInstrControl.td16 defm BR_IF : I<(outs), (ins bb_op:$dst, I32:$cond),
18 [(brcond I32:$cond, bb:$dst)],
21 defm BR_UNLESS : I<(outs), (ins bb_op:$dst, I32:$cond),
29 def : Pat<(brcond (i32 (setne I32:$cond, 0)), bb:$dst),
30 (BR_IF bb_op:$dst, I32:$cond)>;
31 def : Pat<(brcond (i32 (seteq I32:$cond, 0)), bb:$dst),
32 (BR_UNLESS bb_op:$dst, I32:$cond)>;
34 (BR_UNLESS bb_op:$dst, I32:$cond)>;
50 defm BR_TABLE_I32 : I<(outs), (ins I32:$index, variable_ops),
52 [(WebAssemblybr_table I32:$index)],
[all …]
H A DWebAssemblyInstrBulkMemory.td42 I32:$offset, I32:$size),
67 BULK_I<(outs), (ins i32imm_op:$idx, rc:$dst, I32:$value, rc:$size),
69 [(wasm_memset (i32 imm:$idx), rc:$dst, I32:$value, rc:$size)],
74 defm : BulkMemoryOps<I32, "32">;
H A DWebAssemblyInstrSIMD.td85 let lane_rc = I32;
97 let lane_rc = I32;
110 let lane_rc = I32;
179 SIMD_I<(outs V128:$dst), (ins P2Align:$p2align, offset32_op:$off, I32:$addr),
200 (ins P2Align:$p2align, offset32_op:$off, I32:$addr),
234 (ins P2Align:$p2align, offset32_op:$off, I32:$addr),
240 (ins P2Align:$p2align, offset32_op:$off, I32:$addr),
278 (ins P2Align:$p2align, offset32_op:$off, I32:$addr),
317 I32:$addr, V128:$vec),
340 def : Pat<(vec.vt (kind (i32 I32:$addr),
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonPatterns.td449 def: OpR_R_pat<F2_conv_w2sf, pf1<sint_to_fp>, f32, I32>;
451 def: OpR_R_pat<F2_conv_w2df, pf1<sint_to_fp>, f64, I32>;
454 def: OpR_R_pat<F2_conv_uw2sf, pf1<uint_to_fp>, f32, I32>;
456 def: OpR_R_pat<F2_conv_uw2df, pf1<uint_to_fp>, f64, I32>;
470 def: Pat<(i32 (bitconvert F32:$v)), (I32:$v)>;
471 def: Pat<(f32 (bitconvert I32:$v)), (F32:$v)>;
492 def: Pat<(sext_inreg I32:$Rs, i8), (A2_sxtb I32:$Rs)>;
493 def: Pat<(sext_inreg I32:$Rs, i16), (A2_sxth I32:$Rs)>;
498 def: Pat<(i64 (sext I32:$Rs)), (A2_sxtw I32:$Rs)>;
499 def: Pat<(Zext64 I32:$Rs), (ToZext64 $Rs)>;
[all …]
H A DHexagonIntrinsics.td12 : Pat <(IntID I32:$Rs),
13 (MI I32:$Rs)>;
16 : Pat <(IntID I32:$Rs, I32:$Rt),
17 (MI I32:$Rs, I32:$Rt)>;
20 : Pat <(IntID I32:$Rs, I64:$Rt),
21 (MI I32:$Rs, I64:$Rt)>;
82 def : Pat <(int_hexagon_A2_not I32:$Rs),
83 (A2_subri -1, I32:$Rs)>;
86 def : Pat <(int_hexagon_A2_neg I32:$Rs),
87 (A2_subri 0, I32:$Rs)>;
[all …]
H A DHexagonPatternsHVX.td135 def: Pat<(ResType (Load (add I32:$Rt, ImmPred:$Off))),
136 (MI I32:$Rt, imm:$Off)>;
137 def: Pat<(ResType (Load I32:$Rt)),
138 (MI I32:$Rt, 0)>;
162 def: Pat<(ResType (Load (valignaddr I32:$Rt))),
163 (MI I32:$Rt, 0)>;
164 def: Pat<(ResType (Load (add (valignaddr I32:$Rt), ImmPred:$Off))),
165 (MI I32:$Rt, imm:$Off)>;
207 def: Pat<(Store Value:$Vs, (add I32:$Rt, ImmPred:$Off)),
208 (MI I32:$Rt, imm:$Off, Value:$Vs)>;
[all …]
/freebsd/sys/isa/
H A Dpnpparse.c44 #define I32(p) (I16(p) + (I16((p)+2) << 16)) macro
277 if (I32(res + 13) == 0) { in pnp_parse_desc()
290 I32(res + 1), in pnp_parse_desc()
291 I32(res + 5) + I32(res + 13) - 1, in pnp_parse_desc()
292 I32(res + 13), I32(res + 9)); in pnp_parse_desc()
294 config->ic_mem[config->ic_nmem].ir_start = I32(res + 1); in pnp_parse_desc()
296 I32(res + 5) + I32(res + 13) - 1; in pnp_parse_desc()
297 config->ic_mem[config->ic_nmem].ir_size = I32(res + 13); in pnp_parse_desc()
298 config->ic_mem[config->ic_nmem].ir_align = I32(res + 9); in pnp_parse_desc()
307 if (I32(res + 5) == 0) { in pnp_parse_desc()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmTypeCheck.cpp207 Type = is64 ? wasm::ValType::I64 : wasm::ValType::I32; in getGlobal()
281 if (popType(ErrorLoc, wasm::ValType::I32)) in typeCheck()
289 if (popType(ErrorLoc, wasm::ValType::I32)) in typeCheck()
294 Stack.push_back(wasm::ValType::I32); in typeCheck()
298 if (popType(ErrorLoc, wasm::ValType::I32)) in typeCheck()
302 Stack.push_back(wasm::ValType::I32); in typeCheck()
306 if (popType(ErrorLoc, wasm::ValType::I32)) in typeCheck()
310 if (popType(ErrorLoc, wasm::ValType::I32)) in typeCheck()
313 Type = is64 ? wasm::ValType::I64 : wasm::ValType::I32; in typeCheck()
316 if (popType(ErrorLoc, wasm::ValType::I32)) in typeCheck()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerModuleLDSPass.cpp319 Type *I32 = Type::getInt32Ty(Ctx); in getAddressesOfVariablesInKernel() local
321 ArrayType *KernelOffsetsType = ArrayType::get(I32, Variables.size()); in getAddressesOfVariablesInKernel()
327 auto elt = ConstantExpr::getPtrToInt(ConstantGepIt->second, I32); in getAddressesOfVariablesInKernel()
330 Elements.push_back(PoisonValue::get(I32)); in getAddressesOfVariablesInKernel()
380 Type *I32 = Type::getInt32Ty(Ctx); in replaceUseWithTableLookup() local
393 ConstantInt::get(I32, 0), in replaceUseWithTableLookup()
402 Value *loaded = Builder.CreateLoad(I32, Address); in replaceUseWithTableLookup()
416 Type *I32 = Type::getInt32Ty(Ctx); in replaceUsesInInstructionsWithTableLookup() local
427 ConstantInt::get(I32, Index)); in replaceUsesInInstructionsWithTableLookup()
873 Type *I32 = Type::getInt32Ty(Ctx); in lowerDynamicLDSVariables() local
[all …]
/freebsd/contrib/arm-optimized-routines/math/test/rtest/
H A Dtypes.h16 #define I32 "" macro
20 #define I32 "l" macro
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEInstrVec.td55 def VFMKyal : Pseudo<(outs VM512:$vmx), (ins I32:$vl),
57 def VFMKynal : Pseudo<(outs VM512:$vmx), (ins I32:$vl),
60 (ins CCOp:$cf, V64:$vz, I32:$vl),
63 (ins CCOp:$cf, V64:$vz, VM512:$vm, I32:$vl),
66 (ins CCOp:$cf, V64:$vz, I32:$vl),
69 (ins CCOp:$cf, V64:$vz, VM512:$vm, I32:$vl),
119 // l: have an additional I32 register to represent the VL value.
142 defm l : VLDbm<opcStr, opc, RC, !con(dag_in, (ins I32:$vl)), "$vl,">;
186 def l : RVM<opc, (outs), !con(dag_in, (ins I32:$vl)),
248 defm l : VGTbm<opcStr, argStr, opc, RC, !con(dag_in, (ins I32:$vl)),
[all …]
H A DVEInstrInfo.td626 def rr : RR<opc, (outs RC:$sx), (ins RC:$sz, I32:$sy),
630 def mr : RR<opc, (outs RC:$sx), (ins mimm:$sz, I32:$sy),
647 def rrr : RR<opc, (outs RC:$sx), (ins RC:$hi, RC:$sz, I32:$sy),
650 def rmr : RR<opc, (outs RC:$sx), (ins RC:$hi, mimm:$sz, I32:$sy),
664 def rrr : RR<opc, (outs RC:$sx), (ins RC:$sz, RC:$low, I32:$sy),
667 def mrr : RR<opc, (outs RC:$sx), (ins mimm:$sz, RC:$low, I32:$sy),
1048 defm LDLSX : LOADm<"ldl.sx", 0x03, I32, i32, load>;
1050 defm LDLZX : LOADm<"ldl.zx", 0x03, I32, i32, load>;
1054 defm LD2BSX : LOADm<"ld2b.sx", 0x04, I32, i32, sextloadi16>;
1056 defm LD2BZX : LOADm<"ld2b.zx", 0x04, I32, i32, zextloadi16>;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyMCTypeUtilities.cpp22 .Case("i32", wasm::ValType::I32) in parseType()
37 .Case("i32", WebAssembly::BlockType::I32) in parseBlockType()
104 return wasm::ValType::I32; in regClassToValType()
H A DWebAssemblyMCTypeUtilities.h28 I32 = unsigned(wasm::ValType::I32), enumerator
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.cpp34 I32 = 1 << 7, enumerator
56 case OverloadKind::I32: in getOverloadTypeName()
91 return OverloadKind::I32; in getOverloadKind()
207 case ParameterKind::I32: in getTypeFromParameterKind()
301 case OverloadKind::I32: in getOverloadTy()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DDXILABI.h34 I32, enumerator
80 I32, enumerator
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopDataPrefetch.cpp407 Type *I32 = Type::getInt32Ty(BB->getContext()); in runOnLoop() local
413 ConstantInt::get(I32, P.Writes), in runOnLoop()
414 ConstantInt::get(I32, 3), ConstantInt::get(I32, 1)}); in runOnLoop()

123