Home
last modified time | relevance | path

Searched refs:truncf (Results 1 – 25 of 83) sorted by relevance

1234

/llvm-project-15.0.7/libc/src/math/aarch64/
H A DCMakeLists.txt52 truncf
54 truncf.cpp
56 ../truncf.h
H A Dtruncf.cpp14 LLVM_LIBC_FUNCTION(float, truncf, (float x)) {
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dfloorf.ll19 ; CHECK-NOT: truncf
20 %foo = call float @truncf(float 0x4000CCCCC0000000) nounwind readnone
26 declare float @truncf(float) nounwind readnone
H A Darm32-rounding.ll60 %call = call float @truncf(float %a) nounwind readnone
113 declare float @truncf(float) nounwind readnone
H A Dcall-tc.ll179 %call1 = tail call float @truncf(float %b)
184 declare float @truncf(float) readnone
/llvm-project-15.0.7/libc/test/src/math/differential_testing/
H A Dtruncf_perf.cpp15 SINGLE_INPUT_SINGLE_OUTPUT_PERF(float, __llvm_libc::truncf, ::truncf,
H A Dtruncf_diff.cpp15 SINGLE_INPUT_SINGLE_OUTPUT_DIFF(float, __llvm_libc::truncf, ::truncf,
H A DCMakeLists.txt416 libc.src.math.truncf
425 libc.src.math.truncf
/llvm-project-15.0.7/llvm/test/Transforms/InstSimplify/ConstProp/
H A Dtrunc.ll4 declare float @truncf(float) #0
13 %x = call float @truncf(float 1.25) #0
29 %x = call float @truncf(float 1.5) #0
45 %x = call float @truncf(float 2.75) #0
/llvm-project-15.0.7/mlir/test/Dialect/Arithmetic/
H A Dinvalid.mlir393 %0 = arith.truncf %arg0 : f16 to f32
401 %0 = arith.truncf %arg0 : f32 to f32
409 %0 = arith.truncf %arg0 : i32 to f32
417 %0 = arith.truncf %arg0 : f32 to i32
425 %0 = arith.truncf %arg0 : vector<2xf16> to vector<3xf32>
433 %0 = arith.truncf %arg0 : vector<2xf16> to vector<2xf32>
441 %0 = arith.truncf %arg0 : vector<2xf32> to vector<2xf32>
449 %0 = arith.truncf %arg0 : vector<2xi32> to vector<2xf32>
457 %0 = arith.truncf %arg0 : vector<2xf32> to vector<2xi32>
569 %0 = arith.truncf %arg0 : vector<[4]xf64> to vector<4xf32>
[all …]
/llvm-project-15.0.7/libc/fuzzing/math/
H A Dmath_differential_fuzz.cpp92 SingleInputSingleOutputDiff<float>(&__llvm_libc::truncf, &::truncf, data, in LLVMFuzzerTestOneInput()
H A DCMakeLists.txt46 libc.src.math.truncf
/llvm-project-15.0.7/libc/test/src/math/
H A Dtruncf_test.cpp13 LIST_TRUNC_TESTS(float, __llvm_libc::truncf)
/llvm-project-15.0.7/libc/src/math/
H A Dtruncf.h14 float truncf(float x);
/llvm-project-15.0.7/libc/src/math/generic/
H A Dtruncf.cpp15 LLVM_LIBC_FUNCTION(float, truncf, (float x)) { return fputil::trunc(x); }
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Dround-conv.ll168 %call = call float @truncf(float %a) nounwind readnone
178 %call = call float @truncf(float %a) nounwind readnone
208 %call = call float @truncf(float %a) nounwind readnone
218 %call = call float @truncf(float %a) nounwind readnone
327 declare float @truncf(float) nounwind readnone
H A Darm64-rounding.ll92 %call = tail call float @truncf(float %a) nounwind readnone
96 declare float @truncf(float) nounwind readnone
172 %call = tail call float @truncf(float %a) nounwind readnone
H A Dfloatdp_1source.ll16 declare float @truncf(float) readonly
75 %r = call float @truncf(float %v)
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Drounding-ops.ll79 %call = tail call float @truncf(float %x) nounwind readnone
88 declare float @truncf(float) nounwind readnone
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Drounding-ops.ll189 %call = tail call float @truncf(float %x) nounwind readnone
193 declare float @truncf(float) nounwind readnone
232 %call = tail call float @truncf(float %x) nounwind readnone
272 %call = tail call float @truncf(float %x) nounwind readnone
/llvm-project-15.0.7/mlir/test/Conversion/MathToLibm/
H A Dconvert-to-libm.mlir34 // CHECK: %[[HALF_RESULT:.*]] = arith.truncf %[[HALF_CALL]] : f32 to f16
38 // CHECK: %[[BFLOAT_RESULT:.*]] = arith.truncf %[[BFLOAT_CALL]] : f32 to bf16
94 // CHECK: %[[HALF_RESULT:.*]] = arith.truncf %[[HALF_CALL]] : f32 to f16
99 // CHECK: %[[BFLOAT_RESULT:.*]] = arith.truncf %[[BFLOAT_CALL]] : f32 to bf16
272 // CHECK: %[[HALF_RESULT:.*]] = arith.truncf %[[HALF_CALL]] : f32 to f16
276 // CHECK: %[[BFLOAT_RESULT:.*]] = arith.truncf %[[BFLOAT_CALL]] : f32 to bf16
/llvm-project-15.0.7/mlir/test/Conversion/ArithmeticToLLVM/
H A Darith-to-llvm.mlir251 %0 = arith.truncf %arg0: f32 to f16
253 %1 = arith.truncf %arg1: f64 to f16
255 %2 = arith.truncf %arg1: f64 to f32
263 %0 = arith.truncf %arg0: vector<2xf32> to vector<2xf16>
265 %1 = arith.truncf %arg1: vector<2xf64> to vector<2xf16>
267 %2 = arith.truncf %arg1: vector<2xf64> to vector<2xf32>
/llvm-project-15.0.7/llvm/test/CodeGen/Mips/
H A Dmips64signextendsesf.ll38 %call = tail call float @truncf(float %0) #2
47 declare float @truncf(float) #1
H A Dfp16instrinsmc.ll308 %call = call float @truncf(float %0) #2
309 ;pic: lw ${{[0-9]+}}, %call16(truncf)(${{[0-9]+}})
316 declare float @truncf(float) #1
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dlibcall-declarations.c179 float truncf(float);
297 F(tgamma), F(tgammaf), F(tgammal), F(trunc), F(truncf),

1234