Home
last modified time | relevance | path

Searched refs:ScaleFactor (Results 1 – 10 of 10) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp512 APFloat ScaleFactor(std::pow(2, Sema.getLsbWeight())); in convertToFloat() local
514 ScaleFactor.convert(*OpSema, LosslessRM, &Ignored); in convertToFloat()
515 Flt.multiply(ScaleFactor, LosslessRM); in convertToFloat()
567 APFloat ScaleFactor(std::pow(2, -DstFXSema.getLsbWeight())); in getFromFloatValue() local
568 ScaleFactor.convert(*OpSema, LosslessRM, &Ignored); in getFromFloatValue()
569 Val.multiply(ScaleFactor, LosslessRM); in getFromFloatValue()
581 ScaleFactor = APFloat(std::pow(2, DstFXSema.getLsbWeight())); in getFromFloatValue()
582 ScaleFactor.convert(*OpSema, LosslessRM, &Ignored); in getFromFloatValue()
584 Val.multiply(ScaleFactor, LosslessRM); in getFromFloatValue()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNSchedStrategy.h150 unsigned Metric = (BubbleCycles * ScaleFactor) / ScheduleLength; in getMetric()
155 static const unsigned ScaleFactor; variable
160 << ScheduleMetrics::ScaleFactor
H A DGCNSchedStrategy.cpp61 const unsigned ScheduleMetrics::ScaleFactor = 100; member in ScheduleMetrics
1065 ? (SumBubbles * ScheduleMetrics::ScaleFactor) / CurrCycle in getScheduleMetrics()
1101 ? (SumBubbles * ScheduleMetrics::ScaleFactor) / CurrCycle in getScheduleMetrics()
1158 ((WavesAfter * ScheduleMetrics::ScaleFactor) / WavesBefore * in shouldRevertScheduling()
1159 ((OldMetric + ScheduleMetricBias) * ScheduleMetrics::ScaleFactor) / in shouldRevertScheduling()
1161 ScheduleMetrics::ScaleFactor; in shouldRevertScheduling()
1164 return Profit < ScheduleMetrics::ScaleFactor; in shouldRevertScheduling()
H A DAMDGPUCodeGenPrepare.cpp805 Value *ScaleFactor = Builder.CreateNeg(FrexpExp); in emitRcpIEEE1ULP() local
807 return Builder.CreateCall(getLdexpF32(), {Rcp, ScaleFactor}); in emitRcpIEEE1ULP()
H A DAMDGPULegalizerInfo.cpp3182 auto ScaleFactor = in getScaledLogInput() local
3184 auto ScaledInput = B.buildFMul(F32, Src, ScaleFactor, Flags); in getScaledLogInput()
H A DAMDGPUISelLowering.cpp2601 SDValue ScaleFactor = in getScaledLogInput() local
2604 SDValue ScaledInput = DAG.getNode(ISD::FMUL, SL, VT, Src, ScaleFactor, Flags); in getScaledLogInput()
H A DSIISelLowering.cpp6825 SDValue ScaleFactor = DAG.getConstant(Log2_32(EltSize), SL, MVT::i32); in lowerINSERT_VECTOR_ELT() local
6826 SDValue ScaledIdx = DAG.getNode(ISD::SHL, SL, MVT::i32, Idx, ScaleFactor); in lowerINSERT_VECTOR_ELT()
6935 SDValue ScaleFactor = DAG.getConstant(Log2_32(EltSize), SL, MVT::i32); in lowerEXTRACT_VECTOR_ELT() local
6938 SDValue ScaledIdx = DAG.getNode(ISD::SHL, SL, MVT::i32, Idx, ScaleFactor); in lowerEXTRACT_VECTOR_ELT()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp946 float ScaleFactor = LatchExitProbabilityScale; in isLoopProfitableToPredicate() local
947 if (ScaleFactor < 1) { in isLoopProfitableToPredicate()
953 ScaleFactor = 1.0; in isLoopProfitableToPredicate()
955 const auto LatchProbabilityThreshold = LatchExitProbability * ScaleFactor; in isLoopProfitableToPredicate()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp1036 unsigned ScaleFactor = getImplicitScaleFactor(VT); in simplifyAddress() local
1037 if (!ScaleFactor) in simplifyAddress()
1045 else if (Offset > 0 && !(Offset & (ScaleFactor - 1)) && in simplifyAddress()
1046 !isUInt<12>(Offset / ScaleFactor)) in simplifyAddress()
1129 int64_t Offset = Addr.getOffset() / ScaleFactor; in addLoadStoreOperands()
1760 unsigned ScaleFactor = getImplicitScaleFactor(VT); in emitLoad() local
1761 if (!ScaleFactor) in emitLoad()
1769 ScaleFactor = 1; in emitLoad()
2085 unsigned ScaleFactor = getImplicitScaleFactor(VT); in emitStore() local
2086 if (!ScaleFactor) in emitStore()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp711 unsigned ScaleFactor = SrcEltSize / DestEltSize; in foldBitcastShuffle() local
712 narrowShuffleMaskElts(ScaleFactor, Mask, NewMask); in foldBitcastShuffle()
717 unsigned ScaleFactor = DestEltSize / SrcEltSize; in foldBitcastShuffle() local
718 if (!widenShuffleMaskElts(ScaleFactor, Mask, NewMask)) in foldBitcastShuffle()