Searched refs:NeedScale (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUCodeGenPrepare.cpp | 846 Value *NeedScale = in emitSqrtIEEE2ULP() local 851 Builder.CreateSelect(NeedScale, Builder.getInt32(32), Zero); in emitSqrtIEEE2ULP() 858 Builder.CreateSelect(NeedScale, Builder.getInt32(-16), Zero); in emitSqrtIEEE2ULP() 873 Value *NeedScale = in emitRsqIEEE1ULP() local 880 Value *InputScaleFactor = Builder.CreateSelect(NeedScale, InputScale, One); in emitRsqIEEE1ULP() 885 NeedScale, OutputScale, IsNegative ? ConstantFP::get(Ty, -1.0) : One); in emitRsqIEEE1ULP()
|
H A D | AMDGPULegalizerInfo.cpp | 5212 auto NeedScale = B.buildFCmp(CmpInst::FCMP_OGT, S1, ScaleThreshold, X, Flags); in legalizeFSQRTF32() local 5215 auto SqrtX = B.buildSelect(F32, NeedScale, ScaledX, X, Flags); in legalizeFSQRTF32() 5264 SqrtS = B.buildSelect(F32, NeedScale, ScaledDown, SqrtS, Flags).getReg(0); in legalizeFSQRTF32()
|
H A D | SIISelLowering.cpp | 10992 SDValue NeedScale = DAG.getSetCC(DL, MVT::i1, X, ScaleThreshold, ISD::SETOLT); in lowerFSQRTF32() local 10999 DAG.getNode(ISD::SELECT, DL, VT, NeedScale, ScaledX, X, Flags); in lowerFSQRTF32() 11059 SqrtS = DAG.getNode(ISD::SELECT, DL, VT, NeedScale, ScaledDown, SqrtS, Flags); in lowerFSQRTF32()
|