Home
last modified time | relevance | path

Searched refs:F32 (Results 1 – 25 of 109) sorted by relevance

12345

/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrConv.td100 def : Pat<(fp_to_sint_sat F32:$src, i32), (I32_TRUNC_S_SAT_F32 F32:$src)>;
101 def : Pat<(fp_to_uint_sat F32:$src, i32), (I32_TRUNC_U_SAT_F32 F32:$src)>;
104 def : Pat<(fp_to_sint_sat F32:$src, i64), (I64_TRUNC_S_SAT_F32 F32:$src)>;
105 def : Pat<(fp_to_uint_sat F32:$src, i64), (I64_TRUNC_U_SAT_F32 F32:$src)>;
166 def : Pat<(int_wasm_trunc_signed F32:$src),
167 (I32_TRUNC_S_F32 F32:$src)>;
168 def : Pat<(int_wasm_trunc_unsigned F32:$src),
169 (I32_TRUNC_U_F32 F32:$src)>;
174 def : Pat<(int_wasm_trunc_signed F32:$src),
175 (I64_TRUNC_S_F32 F32:$src)>;
[all …]
H A DWebAssemblyInstrFloat.td16 defm _F32 : I<(outs F32:$dst), (ins F32:$src), (outs), (ins),
17 [(set F32:$dst, (node F32:$src))],
27 defm _F32 : I<(outs F32:$dst), (ins F32:$lhs, F32:$rhs), (outs), (ins),
28 [(set F32:$dst, (node F32:$lhs, F32:$rhs))],
38 [(set I32:$dst, (setcc F32:$lhs, F32:$rhs, cond))],
102 defm SELECT_F32 : I<(outs F32:$dst), (ins F32:$lhs, F32:$rhs, I32:$cond),
104 [(set F32:$dst, (select I32:$cond, F32:$lhs, F32:$rhs))],
114 def : Pat<(select (i32 (setne I32:$cond, 0)), F32:$lhs, F32:$rhs),
115 (SELECT_F32 F32:$lhs, F32:$rhs, I32:$cond)>;
120 def : Pat<(select (i32 (seteq I32:$cond, 0)), F32:$lhs, F32:$rhs),
[all …]
H A DWebAssemblyRuntimeLibcallSignatures.cpp534 Rets.push_back(wasm::ValType::F32); in getLibcallSignature()
535 Params.push_back(wasm::ValType::F32); in getLibcallSignature()
538 Rets.push_back(wasm::ValType::F32); in getLibcallSignature()
542 Rets.push_back(wasm::ValType::F32); in getLibcallSignature()
546 Rets.push_back(wasm::ValType::F32); in getLibcallSignature()
550 Rets.push_back(wasm::ValType::F32); in getLibcallSignature()
555 Params.push_back(wasm::ValType::F32); in getLibcallSignature()
594 Rets.push_back(wasm::ValType::F32); in getLibcallSignature()
599 Rets.push_back(wasm::ValType::F32); in getLibcallSignature()
604 Rets.push_back(wasm::ValType::F32); in getLibcallSignature()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dinlineasm-error-t-toofewregs.ll6 …F32 $0, $9, $10\0A\09vadd.F32 $1, $9, $10\0A\09vadd.F32 $2, $9, $10\0A\09vadd.F32 $3, $9, $10\0A\0…
/llvm-project-15.0.7/mlir/include/mlir/Dialect/X86Vector/
H A DX86Vector.td149 let arguments = (ins VectorOfLengthAndType<[16], [F32]>:$src,
151 VectorOfLengthAndType<[16], [F32]>:$a,
207 VectorOfLengthAndType<[16], [F32]>:$a,
208 VectorOfLengthAndType<[16], [F32]>:$b,
302 let arguments = (ins VectorOfLengthAndType<[8], [F32]>:$a);
303 let results = (outs VectorOfLengthAndType<[8], [F32]>:$b);
309 let arguments = (ins VectorOfLengthAndType<[8], [F32]>:$a);
334 let arguments = (ins VectorOfLengthAndType<[8], [F32]>:$a,
335 VectorOfLengthAndType<[8], [F32]>:$b);
336 let results = (outs VectorOfLengthAndType<[8], [F32]>:$res);
[all …]
/llvm-project-15.0.7/llvm/test/ObjectYAML/wasm/
H A Dtype_section.yaml10 - F32
11 - F32
29 # CHECK: - F32
30 # CHECK: - F32
H A Dcode_section.yaml12 - F32
66 # CHECK: - F32
/llvm-project-15.0.7/llvm/test/CodeGen/SPIRV/instructions/
H A Dfloat-casts.ll25 ; CHECK-DAG: [[F32:%.*]] = OpTypeFloat 32
27 ; CHECK-DAG: [[F32v2:%.*]] = OpTypeVector [[F32]] 2
29 ; CHECK-DAG: [[F32v3:%.*]] = OpTypeVector [[F32]] 3
40 ; CHECK-NEXT: [[A:%.*]] = OpFunctionParameter [[F32]]
50 ; CHECK: [[EXT16_32]] = OpFunction [[F32]]
53 ; CHECK: [[R:%.*]] = OpFConvert [[F32]] [[A]]
84 ; CHECK-NEXT: [[A:%.*]] = OpFunctionParameter [[F32]]
95 ; CHECK-NEXT: [[A:%.*]] = OpFunctionParameter [[F32]]
106 ; CHECK-NEXT: [[A:%.*]] = OpFunctionParameter [[F32]]
/llvm-project-15.0.7/mlir/python/mlir/dialects/linalg/opdsl/lang/
H A Dtypes.py75 F32 = TV.F32 variable
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/Utils/
H A DWebAssemblyTypeUtilities.cpp32 return wasm::ValType::F32; in parseType()
50 .Case("f32", WebAssembly::BlockType::F32) in parseBlockType()
132 return wasm::ValType::F32; in toValType()
158 return wasm::ValType::F32; in regClassToValType()
H A DWebAssemblyTypeUtilities.h36 F32 = unsigned(wasm::ValType::F32), enumerator
/llvm-project-15.0.7/llvm/test/Analysis/CostModel/X86/
H A Darith-fp.ll106 %F32 = fadd float undef, undef
208 %F32 = fsub float undef, undef
310 %F32 = fsub float -0.0, undef
412 %F32 = fneg float undef
514 %F32 = fmul float undef, undef
616 %F32 = fdiv float undef, undef
707 %F32 = frem float undef, undef
809 %F32 = call float @llvm.sqrt.f32(float undef)
900 %F32 = call float @llvm.fabs.f32(float undef)
991 %F32 = call float @llvm.copysign.f32(float undef, float undef)
[all …]
H A Dfround.ll18 ; SSE2-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %F32 = call float @llvm.ce…
29 ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.ce…
40 ; AVX-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.ceil…
51 ; AVX512-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.c…
61 %F32 = call float @llvm.ceil.f32(float undef)
98 ; AVX-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.floo…
119 %F32 = call float @llvm.floor.f32(float undef)
177 %F32 = call float @llvm.nearbyint.f32(float undef)
214 ; AVX-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.rint…
235 %F32 = call float @llvm.rint.f32(float undef)
[all …]
H A Dfcmp.ll108 %F32 = fcmp oeq float undef, undef
215 %F32 = fcmp one float undef, undef
322 %F32 = fcmp ord float undef, undef
429 %F32 = fcmp oge float undef, undef
536 %F32 = fcmp ogt float undef, undef
643 %F32 = fcmp ole float undef, undef
750 %F32 = fcmp olt float undef, undef
857 %F32 = fcmp ueq float undef, undef
964 %F32 = fcmp une float undef, undef
1071 %F32 = fcmp uno float undef, undef
[all …]
H A Dpowi.ll9 ; SSE-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.powi…
22 ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.pow…
35 ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.pow…
60 %F32 = call float @llvm.powi.f32(float poison, i32 %arg)
77 ; SSE-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %F32 = call float @llvm.powi…
90 ; AVX1-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %F32 = call float @llvm.pow…
103 ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %F32 = call float @llvm.pow…
128 %F32 = call float @llvm.powi.f32(float poison, i32 3)
196 %F32 = call float @llvm.powi.f32(float poison, i32 -3)
264 %F32 = call float @llvm.powi.f32(float poison, i32 6)
[all …]
/llvm-project-15.0.7/mlir/test/python/dialects/linalg/opdsl/
H A Demit_misc.py19 def test_const(O=TensorDef(F32, S.M, S.N, output=True)):
20 O[D.m, D.n] = TypeFn.cast_unsigned(F32, const(42)) + TypeFn.cast_unsigned(
21 F32, const(2.3283064e-10))
/llvm-project-15.0.7/mlir/include/mlir/Dialect/AMX/
H A DAMX.td97 VectorOfRankAndType<[2], [F32, BF16, I32, I8]>:$res);
128 VectorOfRankAndType<[2], [F32, BF16, I32, I8]>:$res);
158 VectorOfRankAndType<[2], [F32, BF16, I32, I8]>:$val);
191 let arguments = (ins VectorOfRankAndType<[2], [F32, BF16]>:$lhs,
192 VectorOfRankAndType<[2], [F32, BF16]>:$rhs,
193 VectorOfRankAndType<[2], [F32, BF16]>:$acc);
194 let results = (outs VectorOfRankAndType<[2], [F32, BF16]>:$res);
/llvm-project-15.0.7/llvm/test/Analysis/CostModel/AArch64/
H A Darith-fp.ll24 %F32 = fadd float undef, undef
56 %F32 = fsub float undef, undef
86 %F32 = fsub float -0.0, undef
120 %F32 = fneg float undef
152 %F32 = fmul float undef, undef
184 %F32 = fdiv float undef, undef
216 %F32 = frem float undef, undef
248 %F32 = call float @llvm.sqrt.f32(float undef)
280 %F32 = call float @llvm.fabs.f32(float undef)
312 %F32 = call float @llvm.copysign.f32(float undef, float undef)
[all …]
/llvm-project-15.0.7/llvm/test/Analysis/CostModel/AMDGPU/
H A Dfmul.ll3 …n-amdhsa -mcpu=gfx900 -mattr=+half-rate-64-ops < %s | FileCheck -check-prefixes=GFX9,F32,FASTF64 %s
4 …mtriple=amdgcn-unknown-amdhsa -mattr=-half-rate-64-ops < %s | FileCheck -check-prefixes=F32,SLOW %s
21 ; F32-LABEL: 'fmul_f32'
22 ; F32-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %f32 = fmul float undef, und…
23 ; F32-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %v2f32 = fmul <2 x float> un…
24 ; F32-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %v3f32 = fmul <3 x float> un…
25 ; F32-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %v4f32 = fmul <4 x float> un…
26 ; F32-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %v5f32 = fmul <5 x float> un…
27 ; F32-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %v8f32 = fmul <8 x float> un…
28 ; F32-NEXT: Cost Model: Found an estimated cost of 48 for instruction: %v9f32 = fmul <9 x float> u…
[all …]
H A Dfround.ll15 ; FAST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.cei…
26 ; SLOW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.cei…
37 ; FAST-SIZE-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llv…
58 %F32 = call float @llvm.ceil.f32(float undef)
73 ; ALL-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.floo…
94 %F32 = call float @llvm.floor.f32(float undef)
130 %F32 = call float @llvm.nearbyint.f32(float undef)
145 ; FAST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.rin…
156 ; SLOW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.rin…
188 %F32 = call float @llvm.rint.f32(float undef)
[all …]
H A Darith-fp.ll15 ; ALL-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.copy…
26 ; ALL-SIZE-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm…
36 %F32 = call float @llvm.copysign.f32(float undef, float undef)
51 ; ALL-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.sqrt…
62 ; ALL-SIZE-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm…
72 %F32 = call float @llvm.sqrt.f32(float undef)
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonPatterns.td461 def: Pat<(i32 (bitconvert F32:$v)), (I32:$v)>;
879 def: Pat<(select I1:$Pu, F32:$Rs, F32:$Rt),
880 (C2_mux I1:$Pu, F32:$Rs, F32:$Rt)>;
885 def: Pat<(select (i1 (setult F32:$Ra, F32:$Rb)), F32:$Rs, F32:$Rt),
886 (C2_mux (F2_sfcmpgt F32:$Rb, F32:$Ra), F32:$Rs, F32:$Rt)>;
1371 def: Pat<(fabs F32:$Rs), (S2_clrbit_i F32:$Rs, 31)>;
1372 def: Pat<(fneg F32:$Rs), (S2_togglebit_i F32:$Rs, 31)>;
1712 def: Pat<(fma F32:$Rs, F32:$Rt, F32:$Rx),
1713 (F2_sffma F32:$Rx, F32:$Rs, F32:$Rt)>;
1714 def: Pat<(fma (fneg F32:$Rs), F32:$Rt, F32:$Rx),
[all …]
/llvm-project-15.0.7/llvm/lib/Target/VE/
H A DVEInstrVec.td480 defm VBRDU : VBRDm<"vbrdu", 0x8c, V64, F32, VM>;
1114 defm VFADDS : RVm<"vfadd.s", 0xcc, V64, F32, VM, simm7fp>;
1128 defm VFSUBS : RVm<"vfsub.s", 0xdc, V64, F32, VM, simm7fp>;
1142 defm VFMULS : RVm<"vfmul.s", 0xcd, V64, F32, VM, simm7fp>;
1151 defm VFDIVS : RVDIVm<"vfdiv.s", 0xdd, V64, F32, VM, simm7fp>;
1166 defm VFCMPS : RVm<"vfcmp.s", 0xfc, V64, F32, VM, simm7fp>;
1180 defm VFMAXS : RVm<"vfmax.s", 0xbd, V64, F32, VM, simm7fp>;
1208 defm VFMADS : RVMm<"vfmad.s", 0xe2, V64, F32, VM, simm7fp>;
1408 let cx = 1 in defm VFIAS : RVI2m<"vfia.s", 0xce, V64, F32>;
1412 let cx = 1 in defm VFISS : RVI2m<"vfis.s", 0xde, V64, F32>;
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Dialect/AMDGPU/
H A DAMDGPU.td44 Results<(outs AnyTypeOf<[BF16, F16, F32, I32, I8,
45 VectorOfLengthAndType<[2, 4], [F32, I32]>,
92 Arguments<(ins AnyTypeOf<[BF16, F16, F32, I32, I8,
93 VectorOfLengthAndType<[2, 4], [F32, I32]>,
133 Arguments<(ins F32:$value,
/llvm-project-15.0.7/clang/test/Driver/
H A Dcl-denorms-are-zero.cl9 // Fast F32 denormals, but slow FMAF
13 // Fast F32 denormals and fast FMAF

12345