Home
last modified time | relevance | path

Searched full:reciprocal (Results 1 – 25 of 162) sorted by relevance

1234567

/llvm-project/mlir/test/Dialect/Tosa/
H A Dconstant-reciprocal-fold.mlir6 // 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 Dfp-reciprocal-pragma.cpp23 #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 Dattr-mrecip.c6 // CHECK: #0 = {{.*}}"reciprocal-estimates"="!sqrtf,vec-divf:3,divh"
/llvm-project/llvm/test/Transforms/InstCombine/
H A Dpow-sqrt.ll168 ; -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 Dpow-1.ll1250 ; 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 Deval-method-with-unsafe-math.c63 // 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 Dneon-scalar-recip.s6 // 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 Dneon-frsqrt-frecp.s6 // Vector Reciprocal Square Root Step (Floating Point)
21 // Vector Reciprocal Step (Floating Point)
/llvm-project/clang/test/Parser/
H A Dpragma-fp-contract.c46 #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 Dpragma-fp.cpp4 /* 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 Darm_fp16.td22 // Reciprocal/Sqrt
27 // Reciprocal Estimate
30 // Reciprocal Exponent
33 // Reciprocal Square Root Estimate
H A DPragmaKinds.h41 PFK_Reciprocal, // #pragma clang fp reciprocal
/llvm-project/llvm/test/CodeGen/NVPTX/
H A Dsqrt-approx.ll13 ; -- 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 DX86Schedule.td287 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 DOptimizeForNVVM.cpp27 // 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 Dxtype_fp.s108 # Floating point reciprocal square root approximation
140 # Floating point reciprocal approximation
/llvm-project/llvm/include/llvm/MCA/
H A DSupport.h105 /// 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 Dxtype_fp.txt108 # Floating point reciprocal square root approximation
140 # Floating point reciprocal approximation
/llvm-project/llvm/test/CodeGen/X86/
H A Dfdiv-combine.ll5 ; 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 Dqmisc.tc17 # Reciprocal tests
/llvm-project/compiler-rt/lib/builtins/
H A Dfp_div_impl.inc104 // [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 Dlto-mattrs.ll36 attributes #0 = { "unsafe-fp-math"="true" "reciprocal-estimates"="divf,vec-divf" }
/llvm-project/polly/lib/External/isl/imath/
H A Dimrat.h126 /** Sets `c` to the reciprocal of `a` if the reciprocal is defined.
/llvm-project/libc/src/math/generic/
H A Dcoshf.cpp48 // TODO: We should be able to reduce the latency and reciprocal throughput
/llvm-project/mlir/include/mlir/Dialect/Linalg/IR/
H A DLinalgEnums.td26 I32EnumAttrCase<"reciprocal", 6>,

1234567