/llvm-project/mlir/test/Dialect/Tosa/ |
H A D | constant-reciprocal-fold.mlir | 6 // CHECK-NOT: tosa.reciprocal 9 %1 = "tosa.reciprocal"(%0) : (tensor<f32>) -> tensor<f32> 16 // CHECK-NOT: tosa.reciprocal 19 %1 = "tosa.reciprocal"(%0) : (tensor<12x7xf32>) -> tensor<12x7xf32> 27 // CHECK-NOT: tosa.reciprocal 30 %1 = "tosa.reciprocal"(%0) : (tensor<f32>) -> tensor<f32> 38 // CHECK-NOT: tosa.reciprocal 41 %1 = "tosa.reciprocal"(%0) : (tensor<f32>) -> tensor<f32> 49 // CHECK-NOT: tosa.reciprocal 52 %1 = "tosa.reciprocal"(%0) : (tensor<f32>) -> tensor<f32> [all …]
|
/llvm-project/clang/test/CodeGen/ |
H A D | fp-reciprocal-pragma.cpp | 23 #pragma clang fp reciprocal(on) in fp_recip_simple() 34 #pragma clang fp reciprocal(off) in fp_recip_disable() 44 #pragma clang fp reciprocal(on) reassociate(on) in fp_recip_with_reassoc_simple() 57 #pragma clang fp reciprocal(on) in fp_recip_scoped() 67 #pragma clang fp reciprocal(on) in template_recip() 80 #pragma clang fp reciprocal(on) 98 #pragma clang fp reciprocal(off) in fp_file_scope_stop() 103 #pragma clang fp reciprocal(off) 118 #pragma clang fp reciprocal(off) reciprocal(o in fp_recip_many() [all...] |
H A D | attr-mrecip.c | 6 // CHECK: #0 = {{.*}}"reciprocal-estimates"="!sqrtf,vec-divf:3,divh"
|
/llvm-project/llvm/test/Transforms/InstCombine/ |
H A D | pow-sqrt.ll | 168 ; -0.5 means take the reciprocal. 187 ; CHECK-NEXT: [[RECIPROCAL:%.*]] = fdiv reassoc ninf float 1.000000e+00, [[ABS]] 188 ; CHECK-NEXT: ret float [[RECIPROCAL]] 226 ; CHECK-NEXT: [[RECIPROCAL:%.*]] = select <2 x i1> [[ISINF]], <2 x double> zeroinitializer, <2 x double> [[TMP1]] 227 ; CHECK-NEXT: ret <2 x double> [[RECIPROCAL]] 243 ; CHECK-NEXT: [[RECIPROCAL:%.*]] = select <2 x i1> [[ISINF]], <2 x double> zeroinitializer, <2 x double> [[TMP1]] 244 ; CHECK-NEXT: ret <2 x double> [[RECIPROCAL]] 256 ; CHECK-NEXT: [[RECIPROCAL:%.*]] = fdiv ninf afn double 1.000000e+00, [[ABS]] 257 ; CHECK-NEXT: ret double [[RECIPROCAL]] 267 ; CHECK-NEXT: [[RECIPROCAL [all...] |
H A D | pow-1.ll | 1250 ; ANY-NEXT: [[RECIPROCAL:%.*]] = fdiv float 1.000000e+00, [[X]] 1251 ; ANY-NEXT: ret float [[RECIPROCAL]] 1265 ; VC64-NEXT: [[RECIPROCAL:%.*]] = fdiv float 1.000000e+00, [[X]] 1266 ; VC64-NEXT: ret float [[RECIPROCAL]] 1270 ; VC83-NEXT: [[RECIPROCAL:%.*]] = fdiv float 1.000000e+00, [[X]] 1271 ; VC83-NEXT: ret float [[RECIPROCAL]] 1285 ; ANY-NEXT: [[RECIPROCAL:%.*]] = fdiv float 1.000000e+00, [[X]] 1286 ; ANY-NEXT: ret float [[RECIPROCAL]] 1300 ; VC64-NEXT: [[RECIPROCAL:%.*]] = fdiv float 1.000000e+00, [[X]] 1301 ; VC64-NEXT: ret float [[RECIPROCAL]] [all...] |
/llvm-project/clang/test/Sema/ |
H A D | eval-method-with-unsafe-math.c | 63 // CHECK-PRGM: '#pragma clang fp eval_method' cannot be used with '#pragma clang fp reciprocal' in f4_reciprocal() 64 #pragma clang fp reciprocal(on) in f4_reciprocal() 74 // CHECK-PRGM: '#pragma clang fp eval_method' cannot be used with '#pragma clang fp reciprocal' in f4_reciprocal_reassociate() 75 #pragma clang fp reciprocal(on) reassociate(on) in f4_reciprocal_reassociate() 80 // CHECK-FFP-OPT: option 'ffp-eval-method' cannot be used with '#pragma clang fp reciprocal' in f2_reciprocal() 81 #pragma clang fp reciprocal(on) in f2_reciprocal() 86 #pragma clang fp reciprocal(off) in f3_reciprocal()
|
/llvm-project/llvm/test/MC/AArch64/ |
H A D | neon-scalar-recip.s | 6 // Floating-point Reciprocal Step 18 // Floating-point Reciprocal Square Root Step 30 // Scalar Floating-point Reciprocal Estimate 42 // Scalar Floating-point Reciprocal Exponent 54 // Scalar Floating-point Reciprocal Square Root Estimate
|
H A D | neon-frsqrt-frecp.s | 6 // Vector Reciprocal Square Root Step (Floating Point) 21 // Vector Reciprocal Step (Floating Point)
|
/llvm-project/clang/test/Parser/ |
H A D | pragma-fp-contract.c | 46 #pragma clang fp reciprocal(off) in fp_recip_fail() 52 // expected-error@+1{{unexpected argument 'fast' to '#pragma clang fp reciprocal'; expected 'on' or… in fp_recip_no_fast() 53 #pragma clang fp reciprocal(fast) in fp_recip_no_fast()
|
H A D | pragma-fp.cpp | 4 /* expected-error@+1 {{missing option; expected 'contract', 'reassociate', 'reciprocal', or 'except… in test_0() 11 /* expected-error@+1 {{invalid option 'blah'; expected 'contract', 'reassociate', 'reciprocal', or … in test_1()
|
/llvm-project/clang/include/clang/Basic/ |
H A D | arm_fp16.td | 22 // Reciprocal/Sqrt 27 // Reciprocal Estimate 30 // Reciprocal Exponent 33 // Reciprocal Square Root Estimate
|
H A D | PragmaKinds.h | 41 PFK_Reciprocal, // #pragma clang fp reciprocal
|
/llvm-project/llvm/test/CodeGen/NVPTX/ |
H A D | sqrt-approx.ll | 13 ; -- reciprocal sqrt -- 88 ; reciprocal(rsqrt.approx.f64(x)). There's no non-ftz approximate reciprocal, 210 attributes #2 = { "reciprocal-estimates" = "rsqrtf:1,rsqrtd:1,sqrtf:1,sqrtd:1" }
|
/llvm-project/llvm/lib/Target/X86/ |
H A D | X86Schedule.td | 287 defm WriteFRcp : X86SchedWritePair<ReadAfterVecLd>; // Floating point reciprocal estimate. 288 defm WriteFRcpX : X86SchedWritePair<ReadAfterVecXLd>; // Floating point reciprocal estimate (XMM). 289 defm WriteFRcpY : X86SchedWritePair<ReadAfterVecYLd>; // Floating point reciprocal estimate (YMM). 290 defm WriteFRcpZ : X86SchedWritePair<ReadAfterVecYLd>; // Floating point reciprocal estimate (ZMM). 291 defm WriteFRsqrt : X86SchedWritePair<ReadAfterVecLd>; // Floating point reciprocal square root est… 292 defm WriteFRsqrtX: X86SchedWritePair<ReadAfterVecXLd>; // Floating point reciprocal square root est… 293 defm WriteFRsqrtY: X86SchedWritePair<ReadAfterVecYLd>; // Floating point reciprocal square root est… 294 defm WriteFRsqrtZ: X86SchedWritePair<ReadAfterVecYLd>; // Floating point reciprocal square root est…
|
/llvm-project/mlir/lib/Dialect/LLVMIR/Transforms/ |
H A D | OptimizeForNVVM.cpp | 27 // Replaces fdiv on fp16 with fp32 multiplication with reciprocal plus one 32 // for e.g. denormals, and allows reuse of the reciprocal for multiple divisions
|
/llvm-project/llvm/test/MC/Hexagon/instructions/ |
H A D | xtype_fp.s | 108 # Floating point reciprocal square root approximation 140 # Floating point reciprocal approximation
|
/llvm-project/llvm/include/llvm/MCA/ |
H A D | Support.h | 105 /// Compute the reciprocal block throughput from a set of processor resource 106 /// cycles. The reciprocal block throughput is computed as the MAX between:
|
/llvm-project/llvm/test/MC/Disassembler/Hexagon/ |
H A D | xtype_fp.txt | 108 # Floating point reciprocal square root approximation 140 # Floating point reciprocal approximation
|
/llvm-project/llvm/test/CodeGen/X86/ |
H A D | fdiv-combine.ll | 5 ; should be converted into a reciprocal and multiplication. 82 ; If the reciprocal is already calculated, we should not
|
/llvm-project/polly/lib/External/isl/imath/tests/ |
H A D | qmisc.tc | 17 # Reciprocal tests
|
/llvm-project/compiler-rt/lib/builtins/ |
H A D | fp_div_impl.inc | 104 // [1.0, 2.0) and get a UQ0.n approximate reciprocal using a small minimax 111 // Then, refine the reciprocal estimate using a quadratically converging 163 // reciprocal of b_hw (that is, **truncated** version of b). 205 // any number of iterations, so just subtract 2 from the reciprocal
|
/llvm-project/lld/test/MachO/ |
H A D | lto-mattrs.ll | 36 attributes #0 = { "unsafe-fp-math"="true" "reciprocal-estimates"="divf,vec-divf" }
|
/llvm-project/polly/lib/External/isl/imath/ |
H A D | imrat.h | 126 /** Sets `c` to the reciprocal of `a` if the reciprocal is defined.
|
/llvm-project/libc/src/math/generic/ |
H A D | coshf.cpp | 48 // TODO: We should be able to reduce the latency and reciprocal throughput
|
/llvm-project/mlir/include/mlir/Dialect/Linalg/IR/ |
H A D | LinalgEnums.td | 26 I32EnumAttrCase<"reciprocal", 6>,
|