| /llvm-project-15.0.7/libc/src/math/aarch64/ |
| H A D | CMakeLists.txt | 52 truncf 54 truncf.cpp 56 ../truncf.h
|
| H A D | truncf.cpp | 14 LLVM_LIBC_FUNCTION(float, truncf, (float x)) {
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARM/ |
| H A D | floorf.ll | 19 ; CHECK-NOT: truncf 20 %foo = call float @truncf(float 0x4000CCCCC0000000) nounwind readnone 26 declare float @truncf(float) nounwind readnone
|
| H A D | arm32-rounding.ll | 60 %call = call float @truncf(float %a) nounwind readnone 113 declare float @truncf(float) nounwind readnone
|
| H A D | call-tc.ll | 179 %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 D | truncf_perf.cpp | 15 SINGLE_INPUT_SINGLE_OUTPUT_PERF(float, __llvm_libc::truncf, ::truncf,
|
| H A D | truncf_diff.cpp | 15 SINGLE_INPUT_SINGLE_OUTPUT_DIFF(float, __llvm_libc::truncf, ::truncf,
|
| H A D | CMakeLists.txt | 416 libc.src.math.truncf 425 libc.src.math.truncf
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstSimplify/ConstProp/ |
| H A D | trunc.ll | 4 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 D | invalid.mlir | 393 %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 D | math_differential_fuzz.cpp | 92 SingleInputSingleOutputDiff<float>(&__llvm_libc::truncf, &::truncf, data, in LLVMFuzzerTestOneInput()
|
| H A D | CMakeLists.txt | 46 libc.src.math.truncf
|
| /llvm-project-15.0.7/libc/test/src/math/ |
| H A D | truncf_test.cpp | 13 LIST_TRUNC_TESTS(float, __llvm_libc::truncf)
|
| /llvm-project-15.0.7/libc/src/math/ |
| H A D | truncf.h | 14 float truncf(float x);
|
| /llvm-project-15.0.7/libc/src/math/generic/ |
| H A D | truncf.cpp | 15 LLVM_LIBC_FUNCTION(float, truncf, (float x)) { return fputil::trunc(x); }
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | round-conv.ll | 168 %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 D | arm64-rounding.ll | 92 %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 D | floatdp_1source.ll | 16 declare float @truncf(float) readonly 75 %r = call float @truncf(float %v)
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | rounding-ops.ll | 79 %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 D | rounding-ops.ll | 189 %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 D | convert-to-libm.mlir | 34 // 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 D | arith-to-llvm.mlir | 251 %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 D | mips64signextendsesf.ll | 38 %call = tail call float @truncf(float %0) #2 47 declare float @truncf(float) #1
|
| H A D | fp16instrinsmc.ll | 308 %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 D | libcall-declarations.c | 179 float truncf(float); 297 F(tgamma), F(tgammaf), F(tgammal), F(trunc), F(truncf),
|