Searched refs:ScaleFactor (Results 1 – 7 of 7) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | APFixedPoint.cpp | 512 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | GCNSchedStrategy.h | 150 unsigned Metric = (BubbleCycles * ScaleFactor) / ScheduleLength; in getMetric() 155 static const unsigned ScaleFactor; variable 160 << ScheduleMetrics::ScaleFactor
|
| H A D | GCNSchedStrategy.cpp | 48 const unsigned ScheduleMetrics::ScaleFactor = 100; member in ScheduleMetrics 1029 ? (SumBubbles * ScheduleMetrics::ScaleFactor) / CurrCycle in getScheduleMetrics() 1065 ? (SumBubbles * ScheduleMetrics::ScaleFactor) / CurrCycle in getScheduleMetrics() 1118 ((WavesAfter * ScheduleMetrics::ScaleFactor) / WavesBefore * in shouldRevertScheduling() 1119 ((OldMetric + ScheduleMetricBias) * ScheduleMetrics::ScaleFactor) / in shouldRevertScheduling() 1121 ScheduleMetrics::ScaleFactor; in shouldRevertScheduling() 1124 return Profit < ScheduleMetrics::ScaleFactor; in shouldRevertScheduling()
|
| H A D | SIISelLowering.cpp | 5789 SDValue ScaleFactor = DAG.getConstant(Log2_32(EltSize), SL, MVT::i32); in lowerINSERT_VECTOR_ELT() local 5790 SDValue ScaledIdx = DAG.getNode(ISD::SHL, SL, MVT::i32, Idx, ScaleFactor); in lowerINSERT_VECTOR_ELT() 5885 SDValue ScaleFactor = DAG.getConstant(Log2_32(EltSize), SL, MVT::i32); in lowerEXTRACT_VECTOR_ELT() local 5888 SDValue ScaledIdx = DAG.getNode(ISD::SHL, SL, MVT::i32, Idx, ScaleFactor); in lowerEXTRACT_VECTOR_ELT()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | LoopPredication.cpp | 1011 float ScaleFactor = LatchExitProbabilityScale; in isLoopProfitableToPredicate() local 1012 if (ScaleFactor < 1) { in isLoopProfitableToPredicate() 1018 ScaleFactor = 1.0; in isLoopProfitableToPredicate() 1020 const auto LatchProbabilityThreshold = LatchExitProbability * ScaleFactor; in isLoopProfitableToPredicate()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/ |
| H A D | AArch64FastISel.cpp | 191 unsigned ScaleFactor, MachineMemOperand *MMO); 1033 unsigned ScaleFactor = getImplicitScaleFactor(VT); in simplifyAddress() local 1034 if (!ScaleFactor) in simplifyAddress() 1040 if (((Offset < 0) || (Offset & (ScaleFactor - 1))) && !isInt<9>(Offset)) in simplifyAddress() 1042 else if (Offset > 0 && !(Offset & (ScaleFactor - 1)) && in simplifyAddress() 1043 !isUInt<12>(Offset / ScaleFactor)) in simplifyAddress() 1124 unsigned ScaleFactor, in addLoadStoreOperands() argument 1126 int64_t Offset = Addr.getOffset() / ScaleFactor; in addLoadStoreOperands() 1766 unsigned ScaleFactor = getImplicitScaleFactor(VT); in emitLoad() local 1767 if (!ScaleFactor) in emitLoad() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/ |
| H A D | VectorCombine.cpp | 707 unsigned ScaleFactor = DestNumElts / SrcNumElts; in foldBitcastShuf() local 708 narrowShuffleMaskElts(ScaleFactor, Mask, NewMask); in foldBitcastShuf() 713 unsigned ScaleFactor = SrcNumElts / DestNumElts; in foldBitcastShuf() local 714 if (!widenShuffleMaskElts(ScaleFactor, Mask, NewMask)) in foldBitcastShuf()
|