| /llvm-project-15.0.7/libc/test/src/math/ |
| H A D | SqrtTest.h | 70 EXPECT_MPFR_MATCH(mpfr::Operation::Sqrt, x, func(x), 0.5, in test_all_rounding_modes() 74 EXPECT_MPFR_MATCH(mpfr::Operation::Sqrt, x, func(x), 0.5, in test_all_rounding_modes() 78 EXPECT_MPFR_MATCH(mpfr::Operation::Sqrt, x, func(x), 0.5, in test_all_rounding_modes() 82 EXPECT_MPFR_MATCH(mpfr::Operation::Sqrt, x, func(x), 0.5, in test_all_rounding_modes()
|
| /llvm-project-15.0.7/libc/test/src/math/exhaustive/ |
| H A D | sqrtf_test.cpp | 23 ASSERT_MPFR_MATCH(mpfr::Operation::Sqrt, x, __llvm_libc::sqrtf(x), 0.5); in TEST()
|
| /llvm-project-15.0.7/mlir/test/Conversion/SPIRVToLLVM/ |
| H A D | gl-ops-to-llvm.mlir | 147 // spv.GL.Sqrt 153 %0 = spv.GL.Sqrt %arg0 : f32 155 %1 = spv.GL.Sqrt %arg1 : vector<3xf16>
|
| /llvm-project-15.0.7/third-party/benchmark/src/ |
| H A D | statistics.cc | 61 auto Sqrt = [](const double dat) { in __anon3405df360402() variable 75 return Sqrt(v.size() / (v.size() - 1.0) * (avg_squares - Sqr(mean))); in StatisticsStdDev()
|
| /llvm-project-15.0.7/mlir/test/Target/SPIRV/ |
| H A D | gl-ops.mlir | 7 // CHECK: {{%.*}} = spv.GL.Sqrt {{%.*}} : f32 8 %2 = spv.GL.Sqrt %arg0 : f32
|
| /llvm-project-15.0.7/mlir/test/Dialect/SPIRV/IR/ |
| H A D | gl-ops.mlir | 114 // spv.GL.Sqrt 118 // CHECK: spv.GL.Sqrt {{%.*}} : f32 119 %2 = spv.GL.Sqrt %arg0 : f32 124 // CHECK: spv.GL.Sqrt {{%.*}} : vector<3xf16> 125 %2 = spv.GL.Sqrt %arg0 : vector<3xf16>
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 1947 if (!Sqrt) in replacePowWithSqrt() 1953 Sqrt = B.CreateCall(FAbsFn, Sqrt, "abs"); in replacePowWithSqrt() 1956 Sqrt = copyFlags(*Pow, Sqrt); in replacePowWithSqrt() 1964 Sqrt = B.CreateSelect(FCmp, PosInf, Sqrt); in replacePowWithSqrt() 1969 Sqrt = B.CreateFDiv(ConstantFP::get(Ty, 1.0), Sqrt, "reciprocal"); in replacePowWithSqrt() 1971 return Sqrt; in replacePowWithSqrt() 2023 return Sqrt; in optimizePow() 2033 Value *Sqrt = nullptr; in optimizePow() local 2054 if (!Sqrt) in optimizePow() 2070 if (PowI && Sqrt) in optimizePow() [all …]
|
| /llvm-project-15.0.7/mlir/test/Conversion/MathToSPIRV/ |
| H A D | math-to-gl-spirv.mlir | 25 // CHECK: spv.GL.Sqrt %{{.*}}: f32 58 // CHECK: spv.GL.Sqrt %{{.*}}: vector<3xf32>
|
| /llvm-project-15.0.7/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 462 Function *Sqrt = Intrinsic::getDeclaration(M, Intrinsic::sqrt, Ty); in foldSqrt() local 463 Value *NewSqrt = Builder.CreateCall(Sqrt, Call->getArgOperand(0), "sqrt"); in foldSqrt()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMScheduleM4.td | 105 // Most FP instructions are single-cycle latency, except MAC's, Div's and Sqrt's.
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | arm_fp16.td | 22 // Reciprocal/Sqrt
|
| H A D | arm_neon.td | 390 // E.3.10 Reciprocal/Sqrt 816 // Reciprocal/Sqrt 1739 // Reciprocal/Sqrt
|
| H A D | BuiltinsNVPTX.def | 350 // Sqrt
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64SchedThunderX.td | 43 def THXT8XUnitFPMDS : ProcResource<1> { let BufferSize = 0; } // FP Mul/Div/Sqrt 161 // FP Mul, Div, Sqrt
|
| H A D | AArch64SchedA53.td | 48 def A53UnitFPMDS : ProcResource<1> { let BufferSize = 0; } // FP Mult/Div/Sqrt 134 // FP Mul, Div, Sqrt
|
| H A D | AArch64SchedA55.td | 187 // FP Mul, Div, Sqrt. Div/Sqrt are not pipelined
|
| H A D | AArch64SchedTSV110.td | 92 // FP Div, Sqrt
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVSchedSiFive7.td | 36 def SiFive7FDiv : ProcResource<1> { let Super = SiFive7PipeB; } // FP Division/Sqrt
|
| H A D | RISCVSchedRocket.td | 43 def RocketUnitFPDivSqrt : ProcResource<1>; // FP Divide/Sqrt
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/ |
| H A D | SPIRVGLOps.td | 826 def SPV_GLSqrtOp : SPV_GLUnaryArithmeticOp<"Sqrt", 31, SPV_Float> { 842 sqrt-op ::= ssa-id `=` `spv.GL.Sqrt` ssa-use `:` 848 %2 = spv.GL.Sqrt %0 : f32 849 %3 = spv.GL.Sqrt %1 : vector<3xf16>
|
| /llvm-project-15.0.7/libc/utils/MPFRWrapper/ |
| H A D | MPFRUtils.h | 43 Sqrt, enumerator
|
| H A D | MPFRUtils.cpp | 510 case Operation::Sqrt: in unary_operation()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineMulDivRem.cpp | 563 Value *Sqrt = Builder.CreateUnaryIntrinsic(Intrinsic::sqrt, XY, &I); in visitFMul() local 564 return replaceInstUsesWith(I, Sqrt); in visitFMul()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 15292 SDValue Sqrt, Y; in visitFDIV() local 15294 Sqrt = N1.getOperand(0); in visitFDIV() 15297 Sqrt = N1.getOperand(1); in visitFDIV() 15300 if (Sqrt.getNode()) { in visitFDIV() 15308 else if (Y == Sqrt.getOperand(0)) in visitFDIV() 15547 SDValue Sqrt = DAG.getNode(ISD::FSQRT, DL, VT, N->getOperand(0)); in visitFPOW() local 15548 SDValue SqrtSqrt = DAG.getNode(ISD::FSQRT, DL, VT, Sqrt); in visitFPOW() 15552 return DAG.getNode(ISD::FMUL, DL, VT, Sqrt, SqrtSqrt); in visitFPOW() 23701 SDValue Sqrt = RHS; in SimplifySelectOps() local 23720 Sqrt.getOperand(0) == CmpLHS && (CC == ISD::SETOLT || in SimplifySelectOps() [all …]
|
| /llvm-project-15.0.7/mlir/docs/ |
| H A D | SPIRVToLLVMDialectConversion.md | 742 `spv.GL.Sqrt` | `llvm.intr.sqrt`
|