Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp535 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 DGCNSchedStrategy.h177 unsigned Metric = (BubbleCycles * ScaleFactor) / ScheduleLength; in getMetric()
182 static const unsigned ScaleFactor; variable
187 << ScheduleMetrics::ScaleFactor
H A DGCNSchedStrategy.cpp71 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 DAMDGPUCodeGenPrepare.cpp811 Value *ScaleFactor = Builder.CreateNeg(FrexpExp); in emitRcpIEEE1ULP() local
813 return Builder.CreateCall(getLdexpF32(), {Rcp, ScaleFactor}); in emitRcpIEEE1ULP()
H A DAMDGPUISelLowering.cpp2699 SDValue ScaleFactor = in getScaledLogInput() local
2702 SDValue ScaledInput = DAG.getNode(ISD::FMUL, SL, VT, Src, ScaleFactor, Flags); in getScaledLogInput()
H A DAMDGPULegalizerInfo.cpp3336 auto ScaleFactor = in getScaledLogInput() local
3338 auto ScaledInput = B.buildFMul(F32, Src, ScaleFactor, Flags); in getScaledLogInput()
H A DSIISelLowering.cpp7794 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 DLoopPredication.cpp945 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 DVPRecipeBuilder.h176 unsigned ScaleFactor);
H A DVPlanAnalysis.cpp569 unsigned ScaleFactor = getVFScaleFactor(R); in calculateRegisterUsageForPlan() local
570 ElementCount VF = VFs[J].divideCoefficientBy(ScaleFactor); in calculateRegisterUsageForPlan()
H A DVectorCombine.cpp914 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 DLoopVectorize.cpp8218 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 DVPlan.h2564 VPValue *Cond, unsigned ScaleFactor,
2569 Opcode(Opcode), VFScaleFactor(ScaleFactor) {
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp188 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 DTargetLowering.cpp12056 unsigned ScaleFactor = MulOpVT.getVectorMinNumElements() / Stride; in expandPartialReduceMLA() local
12060 for (unsigned I = 0; I < ScaleFactor; I++) in expandPartialReduceMLA()