| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | APFixedPoint.cpp | 535 APFloat ScaleFactor(std::pow(2, Sema.getLsbWeight())); in convertToFloat() local 537 ScaleFactor.convert(*OpSema, LosslessRM, &Ignored); in convertToFloat() 538 Flt.multiply(ScaleFactor, LosslessRM); in convertToFloat() 590 APFloat ScaleFactor(std::pow(2, -DstFXSema.getLsbWeight())); in getFromFloatValue() local 591 ScaleFactor.convert(*OpSema, LosslessRM, &Ignored); in getFromFloatValue() 592 Val.multiply(ScaleFactor, LosslessRM); in getFromFloatValue() 604 ScaleFactor = APFloat(std::pow(2, DstFXSema.getLsbWeight())); in getFromFloatValue() 605 ScaleFactor.convert(*OpSema, LosslessRM, &Ignored); in getFromFloatValue() 607 Val.multiply(ScaleFactor, LosslessRM); in getFromFloatValue()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | GCNSchedStrategy.h | 177 unsigned Metric = (BubbleCycles * ScaleFactor) / ScheduleLength; in getMetric() 182 static const unsigned ScaleFactor; variable 187 << ScheduleMetrics::ScaleFactor
|
| H A D | GCNSchedStrategy.cpp | 71 const unsigned ScheduleMetrics::ScaleFactor = 100; member in ScheduleMetrics 1423 ? (SumBubbles * ScheduleMetrics::ScaleFactor) / CurrCycle in getScheduleMetrics() 1459 ? (SumBubbles * ScheduleMetrics::ScaleFactor) / CurrCycle in getScheduleMetrics() 1529 ((WavesAfter * ScheduleMetrics::ScaleFactor) / WavesBefore * in shouldRevertScheduling() 1530 ((OldMetric + ScheduleMetricBias) * ScheduleMetrics::ScaleFactor) / in shouldRevertScheduling() 1532 ScheduleMetrics::ScaleFactor; in shouldRevertScheduling() 1535 return Profit < ScheduleMetrics::ScaleFactor; in shouldRevertScheduling()
|
| H A D | AMDGPUCodeGenPrepare.cpp | 811 Value *ScaleFactor = Builder.CreateNeg(FrexpExp); in emitRcpIEEE1ULP() local 813 return Builder.CreateCall(getLdexpF32(), {Rcp, ScaleFactor}); in emitRcpIEEE1ULP()
|
| H A D | AMDGPUISelLowering.cpp | 2699 SDValue ScaleFactor = in getScaledLogInput() local 2702 SDValue ScaledInput = DAG.getNode(ISD::FMUL, SL, VT, Src, ScaleFactor, Flags); in getScaledLogInput()
|
| H A D | AMDGPULegalizerInfo.cpp | 3336 auto ScaleFactor = in getScaledLogInput() local 3338 auto ScaledInput = B.buildFMul(F32, Src, ScaleFactor, Flags); in getScaledLogInput()
|
| H A D | SIISelLowering.cpp | 7794 SDValue ScaleFactor = DAG.getConstant(Log2_32(EltSize), SL, MVT::i32); in lowerINSERT_VECTOR_ELT() local 7795 SDValue ScaledIdx = DAG.getNode(ISD::SHL, SL, MVT::i32, Idx, ScaleFactor); in lowerINSERT_VECTOR_ELT() 7904 SDValue ScaleFactor = DAG.getConstant(Log2_32(EltSize), SL, MVT::i32); in lowerEXTRACT_VECTOR_ELT() local 7907 SDValue ScaledIdx = DAG.getNode(ISD::SHL, SL, MVT::i32, Idx, ScaleFactor); in lowerEXTRACT_VECTOR_ELT()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopPredication.cpp | 945 float ScaleFactor = LatchExitProbabilityScale; in isLoopProfitableToPredicate() local 946 if (ScaleFactor < 1) { in isLoopProfitableToPredicate() 952 ScaleFactor = 1.0; in isLoopProfitableToPredicate() 954 const auto LatchProbabilityThreshold = LatchExitProbability * ScaleFactor; in isLoopProfitableToPredicate()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPRecipeBuilder.h | 176 unsigned ScaleFactor);
|
| H A D | VPlanAnalysis.cpp | 569 unsigned ScaleFactor = getVFScaleFactor(R); in calculateRegisterUsageForPlan() local 570 ElementCount VF = VFs[J].divideCoefficientBy(ScaleFactor); in calculateRegisterUsageForPlan()
|
| H A D | VectorCombine.cpp | 914 unsigned ScaleFactor = SrcEltSize / DestEltSize; in foldBitcastShuffle() local 915 narrowShuffleMaskElts(ScaleFactor, Mask, NewMask); in foldBitcastShuffle() 920 unsigned ScaleFactor = DestEltSize / SrcEltSize; in foldBitcastShuffle() local 921 if (!widenShuffleMaskElts(ScaleFactor, Mask, NewMask)) in foldBitcastShuffle() 2344 unsigned ScaleFactor = NumSrcElts / NumDstElts; in foldShuffleOfCastops() local 2345 narrowShuffleMaskElts(ScaleFactor, OldMask, NewMask); in foldShuffleOfCastops() 2350 unsigned ScaleFactor = NumDstElts / NumSrcElts; in foldShuffleOfCastops() local 2351 if (!widenShuffleMaskElts(ScaleFactor, OldMask, NewMask)) in foldShuffleOfCastops()
|
| H A D | LoopVectorize.cpp | 8218 unsigned ScaleFactor = in tryToCreateWidenRecipe() local 8222 CM.useOrderedReductions(RdxDesc), ScaleFactor); in tryToCreateWidenRecipe() 8254 if (std::optional<unsigned> ScaleFactor = getScalingForReduction(Instr)) in tryToCreateWidenRecipe() local 8255 return tryToCreatePartialReduction(Instr, Operands, ScaleFactor.value()); in tryToCreateWidenRecipe() 8278 unsigned ScaleFactor) { in tryToCreatePartialReduction() argument 8312 ScaleFactor, Reduction); in tryToCreatePartialReduction() 9282 unsigned ScaleFactor = in adjustRecipesForReductions() local 9287 Plan->getOrAddLiveIn(ConstantInt::get(I32Ty, ScaleFactor)); in adjustRecipesForReductions()
|
| H A D | VPlan.h | 2564 VPValue *Cond, unsigned ScaleFactor, 2569 Opcode(Opcode), VFScaleFactor(ScaleFactor) {
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64FastISel.cpp | 188 unsigned ScaleFactor, MachineMemOperand *MMO); 1032 unsigned ScaleFactor = getImplicitScaleFactor(VT); in simplifyAddress() local 1033 if (!ScaleFactor) in simplifyAddress() 1039 if (((Offset < 0) || (Offset & (ScaleFactor - 1))) && !isInt<9>(Offset)) in simplifyAddress() 1041 else if (Offset > 0 && !(Offset & (ScaleFactor - 1)) && in simplifyAddress() 1042 !isUInt<12>(Offset / ScaleFactor)) in simplifyAddress() 1123 unsigned ScaleFactor, in addLoadStoreOperands() argument 1125 int64_t Offset = Addr.getOffset() / ScaleFactor; in addLoadStoreOperands() 1757 unsigned ScaleFactor = getImplicitScaleFactor(VT); in emitLoad() local 1758 if (!ScaleFactor) in emitLoad() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 12056 unsigned ScaleFactor = MulOpVT.getVectorMinNumElements() / Stride; in expandPartialReduceMLA() local 12060 for (unsigned I = 0; I < ScaleFactor; I++) in expandPartialReduceMLA()
|