Home
last modified time | relevance | path

Searched refs:Sqrt (Results 1 – 24 of 24) sorted by relevance

/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp2064 if (!Sqrt) in replacePowWithSqrt()
2070 Sqrt = B.CreateCall(FAbsFn, Sqrt, "abs"); in replacePowWithSqrt()
2073 Sqrt = copyFlags(*Pow, Sqrt); in replacePowWithSqrt()
2081 Sqrt = B.CreateSelect(FCmp, PosInf, Sqrt); in replacePowWithSqrt()
2086 Sqrt = B.CreateFDiv(ConstantFP::get(Ty, 1.0), Sqrt, "reciprocal"); in replacePowWithSqrt()
2088 return Sqrt; in replacePowWithSqrt()
2140 return Sqrt; in optimizePow()
2150 Value *Sqrt = nullptr; in optimizePow() local
2171 if (!Sqrt) in optimizePow()
2187 if (PowI && Sqrt) in optimizePow()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/ARM/
H A DARMScheduleM4.td105 // Most FP instructions are single-cycle latency, except MAC's, Div's and Sqrt's.
/openbsd/gnu/llvm/clang/include/clang/Basic/
H A Darm_fp16.td22 // Reciprocal/Sqrt
H A Darm_neon.td390 // E.3.10 Reciprocal/Sqrt
816 // Reciprocal/Sqrt
1741 // Reciprocal/Sqrt
H A DBuiltinsNVPTX.def362 // Sqrt
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64SchedThunderX.td43 def THXT8XUnitFPMDS : ProcResource<1> { let BufferSize = 0; } // FP Mul/Div/Sqrt
161 // FP Mul, Div, Sqrt
H A DAArch64SchedA53.td48 def A53UnitFPMDS : ProcResource<1> { let BufferSize = 0; } // FP Mult/Div/Sqrt
134 // FP Mul, Div, Sqrt
H A DAArch64SchedA55.td187 // FP Mul, Div, Sqrt. Div/Sqrt are not pipelined
H A DAArch64SchedTSV110.td96 // FP Div, Sqrt
H A DAArch64SchedThunderX2T99.td1110 // FP Mul, Div, Sqrt
H A DAArch64SchedThunderX3T110.td1218 // FP Mul, Div, Sqrt
H A DAArch64SchedA64FX.td1271 // FP Div, Sqrt
/openbsd/gnu/llvm/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp433 Function *Sqrt = Intrinsic::getDeclaration(M, Intrinsic::sqrt, Ty); in foldSqrt() local
434 Value *NewSqrt = Builder.CreateCall(Sqrt, Arg, "sqrt"); in foldSqrt()
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVSchedSiFive7.td36 def SiFive7FDiv : ProcResource<1> { let Super = SiFive7PipeB; } // FP Division/Sqrt
H A DRISCVSchedRocket.td43 def RocketUnitFPDivSqrt : ProcResource<1>; // FP Divide/Sqrt
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp630 Value *Sqrt = Builder.CreateUnaryIntrinsic(Intrinsic::sqrt, XY, &I); in visitFMul() local
631 return replaceInstUsesWith(I, Sqrt); in visitFMul()
/openbsd/gnu/gcc/gcc/config/arm/
H A Dvfp.md679 ;; Sqrt insns.
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp15931 SDValue Sqrt, Y; in visitFDIV() local
15933 Sqrt = N1.getOperand(0); in visitFDIV()
15936 Sqrt = N1.getOperand(1); in visitFDIV()
15939 if (Sqrt.getNode()) { in visitFDIV()
15947 else if (Y == Sqrt.getOperand(0)) in visitFDIV()
16184 SDValue Sqrt = DAG.getNode(ISD::FSQRT, DL, VT, N->getOperand(0)); in visitFPOW() local
16185 SDValue SqrtSqrt = DAG.getNode(ISD::FSQRT, DL, VT, Sqrt); in visitFPOW()
16189 return DAG.getNode(ISD::FMUL, DL, VT, Sqrt, SqrtSqrt); in visitFPOW()
25148 SDValue Sqrt = RHS; in SimplifySelectOps() local
25167 Sqrt.getOperand(0) == CmpLHS && (CC == ISD::SETOLT || in SimplifySelectOps()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVInstructionSelector.cpp390 return selectExtInst(ResVReg, ResType, I, CL::sqrt, GL::Sqrt); in spvSelect()
H A DSPIRVBuiltins.td377 defm : DemangledExtendedBuiltin<"Sqrt", GLSL_std_450, 31>;
/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DIntrinsicsNVVM.td942 // Sqrt
/openbsd/gnu/gcc/gcc/config/m68k/
H A Dm68k.md3832 ;; Sqrt instruction for the 68881
/openbsd/gnu/usr.bin/gcc/gcc/config/m68k/
H A Dm68k.md4347 ;; Sqrt instruction for the 68881
/openbsd/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXIntrinsics.td1043 // Sqrt