Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DAPFixedPoint.cpp481 APFloat ScaleFactor(std::pow(2, -(int)Sema.getScale())); in convertToFloat() local
483 ScaleFactor.convert(*OpSema, LosslessRM, &Ignored); in convertToFloat()
484 Flt.multiply(ScaleFactor, LosslessRM); in convertToFloat()
536 APFloat ScaleFactor(std::pow(2, DstFXSema.getScale())); in getFromFloatValue() local
537 ScaleFactor.convert(*OpSema, LosslessRM, &Ignored); in getFromFloatValue()
538 Val.multiply(ScaleFactor, LosslessRM); in getFromFloatValue()
550 ScaleFactor = APFloat(std::pow(2, -(int)DstFXSema.getScale())); in getFromFloatValue()
551 ScaleFactor.convert(*OpSema, LosslessRM, &Ignored); in getFromFloatValue()
553 Val.multiply(ScaleFactor, LosslessRM); in getFromFloatValue()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp942 float ScaleFactor = LatchExitProbabilityScale; in isLoopProfitableToPredicate() local
943 if (ScaleFactor < 1) { in isLoopProfitableToPredicate()
949 ScaleFactor = 1.0; in isLoopProfitableToPredicate()
952 LatchExitProbability * ScaleFactor; in isLoopProfitableToPredicate()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp531 unsigned ScaleFactor = DestNumElts / SrcNumElts; in foldBitcastShuf() local
532 narrowShuffleMaskElts(ScaleFactor, Mask, NewMask); in foldBitcastShuf()
537 unsigned ScaleFactor = SrcNumElts / DestNumElts; in foldBitcastShuf() local
538 if (!widenShuffleMaskElts(ScaleFactor, Mask, NewMask)) in foldBitcastShuf()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp190 unsigned ScaleFactor, MachineMemOperand *MMO);
1009 unsigned ScaleFactor = getImplicitScaleFactor(VT); in simplifyAddress() local
1010 if (!ScaleFactor) in simplifyAddress()
1016 if (((Offset < 0) || (Offset & (ScaleFactor - 1))) && !isInt<9>(Offset)) in simplifyAddress()
1018 else if (Offset > 0 && !(Offset & (ScaleFactor - 1)) && in simplifyAddress()
1019 !isUInt<12>(Offset / ScaleFactor)) in simplifyAddress()
1100 unsigned ScaleFactor, in addLoadStoreOperands() argument
1102 int64_t Offset = Addr.getOffset() / ScaleFactor; in addLoadStoreOperands()
1742 unsigned ScaleFactor = getImplicitScaleFactor(VT); in emitLoad() local
1743 if (!ScaleFactor) in emitLoad()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp5450 SDValue ScaleFactor = DAG.getConstant(Log2_32(EltSize), SL, MVT::i32); in lowerINSERT_VECTOR_ELT() local
5453 SDValue ScaledIdx = DAG.getNode(ISD::SHL, SL, MVT::i32, Idx, ScaleFactor); in lowerINSERT_VECTOR_ELT()
5493 SDValue ScaleFactor = DAG.getConstant(Log2_32(EltSize), SL, MVT::i32); in lowerEXTRACT_VECTOR_ELT() local
5496 SDValue ScaledIdx = DAG.getNode(ISD::SHL, SL, MVT::i32, Idx, ScaleFactor); in lowerEXTRACT_VECTOR_ELT()