Home
last modified time | relevance | path

Searched refs:getActiveBits (Results 1 – 25 of 34) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h456 return getActiveBits() <= N; in isIntN()
1164 return (isSingleWord() || getActiveBits() <= 64) && getZExtValue() == Val;
1215 return (isSingleWord() || getActiveBits() <= 64) && getZExtValue() < RHS; in ult()
1285 return (!isSingleWord() && getActiveBits() > 64) || getZExtValue() > RHS; in ugt()
1590 unsigned getActiveBits() const { return BitWidth - countLeadingZeros(); } in getActiveBits() function
1597 unsigned numActiveBits = getActiveBits(); in getActiveWords()
1612 return getActiveBits() + 1; in getMinSignedBits()
1623 assert(getActiveBits() <= 64 && "Too many bits for uint64_t"); in getZExtValue()
1805 unsigned logBase2() const { return getActiveBits() - 1; } in logBase2()
1811 return temp.getActiveBits(); in ceilLogBase2()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h379 return getActiveBits() <= N; in isIntN()
410 return (getActiveBits() > 64 || getZExtValue() > Limit) ? Limit
1024 return getActiveBits() > 64 ? false : getZExtValue() < RHS; in ult()
1092 return getActiveBits() > 64 ? true : getZExtValue() > RHS; in ugt()
1279 unsigned getActiveBits() const { return BitWidth - countLeadingZeros(); } in getActiveBits() function
1286 unsigned numActiveBits = getActiveBits(); in getActiveWords()
1301 return getActiveBits() + 1; in getMinSignedBits()
1312 assert(getActiveBits() <= 64 && "Too many bits for uint64_t"); in getZExtValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAPSInt.cpp33 unsigned ActiveBits = Tmp.getActiveBits(); in APSInt()
DAPInt.cpp812 if (isSingleWord() || getActiveBits() <= APINT_BITS_PER_WORD) { in roundToDouble()
827 unsigned n = Tmp.getActiveBits(); in roundToDouble()
1102 unsigned magnitude = getActiveBits(); in sqrt()
1611 unsigned lhsWords = getNumWords(getActiveBits()); in udiv()
1612 unsigned rhsBits = RHS.getActiveBits(); in udiv()
1647 unsigned lhsWords = getNumWords(getActiveBits()); in udiv()
1702 unsigned lhsWords = getNumWords(getActiveBits()); in urem()
1705 unsigned rhsBits = RHS.getActiveBits(); in urem()
1739 unsigned lhsWords = getNumWords(getActiveBits()); in urem()
1802 unsigned lhsWords = getNumWords(LHS.getActiveBits()); in udivrem()
[all …]
DAPFloat.cpp3398 unsigned bits = significand.getActiveBits(); in AdjustToPrecision()
3423 significand = significand.trunc(significand.getActiveBits()); in AdjustToPrecision()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DAPInt.cpp367 unsigned lhsBits = getActiveBits(); in operator *=()
374 unsigned rhsBits = RHS.getActiveBits(); in operator *=()
479 unsigned n = getActiveBits(); in EqualSlowCase()
492 unsigned n1 = getActiveBits(); in ult()
493 unsigned n2 = RHS.getActiveBits(); in ult()
844 if (isSingleWord() || getActiveBits() <= APINT_BITS_PER_WORD) { in roundToDouble()
859 unsigned n = Tmp.getActiveBits(); in roundToDouble()
1264 unsigned magnitude = getActiveBits(); in sqrt()
1812 unsigned rhsBits = RHS.getActiveBits(); in udiv()
1815 unsigned lhsBits = this->getActiveBits(); in udiv()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoopUnrollAnalyzer.cpp120 if (SimplifiedAddrOp->getValue().getActiveBits() > 64) in visitLoad()
DDemandedBits.cpp181 AB = APInt::getLowBitsSet(BitWidth, AOut.getActiveBits()); in determineLiveOperandBits()
DBasicAliasAnalysis.cpp1205 if (C1->getValue().getActiveBits() > 64 || in aliasSameBasePointerGEPs()
1206 C2->getValue().getActiveBits() > 64) in aliasSameBasePointerGEPs()
DBranchProbabilityInfo.cpp308 assert(Weight->getValue().getActiveBits() <= 32 && in calcMetadataWeights()
DMemoryBuiltins.cpp625 if (I.getBitWidth() > IntTyBits && I.getActiveBits() > IntTyBits) in CheckedZextOrTrunc()
DScalarEvolution.cpp6560 if (ExitConst->getValue().getActiveBits() > 32) in getConstantTripCount()
6636 if (!Result || Result->getValue().getActiveBits() > 32 || in getSmallConstantTripMultiple()
6637 Result->getValue().getActiveBits() == 0) in getSmallConstantTripMultiple()
7967 assert(BEs.getActiveBits() < CHAR_BIT * sizeof(unsigned) && in getConstantEvolutionLoopExitValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp327 if (match(RHS, m_APInt(C)) && CTZ >= C->getActiveBits()) in SimplifyDemandedUseBits()
433 if (DemandedMask.getActiveBits() > SrcBitWidth) in SimplifyDemandedUseBits()
443 DemandedMask.getActiveBits() <= SrcBitWidth) { in SimplifyDemandedUseBits()
1008 DemandedElts.getActiveBits() == 3) in simplifyAMDGCNMemoryIntrinsicDemanded()
1020 DemandedElts = (1 << DemandedElts.getActiveBits()) - 1; in simplifyAMDGCNMemoryIntrinsicDemanded()
DInstCombineLoadStoreAlloca.cpp197 if (C->getValue().getActiveBits() <= 64) { in simplifyAllocaArraySize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopPredication.cpp463 return Start->getAPInt().getActiveBits() < RangeCheckTypeBitSize && in isSafeToTruncateWideIVType()
464 Limit->getAPInt().getActiveBits() < RangeCheckTypeBitSize; in isSafeToTruncateWideIVType()
DCorrelatedValuePropagation.cpp636 PowerOf2Ceil(OperandRange.getUnsignedMax().getActiveBits()), 8); in processUDivOrURem()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantRange.cpp720 if (Upper.getActiveBits() > DstTySize || in truncate()
734 if (LowerDiv.getActiveBits() > DstTySize) { in truncate()
741 unsigned UpperDivWidth = UpperDiv.getActiveBits(); in truncate()
DConstantFold.cpp1436 if (cast<ConstantInt>(C1)->getValue().getActiveBits() > 64 || in IdxCompare()
1437 cast<ConstantInt>(C2)->getValue().getActiveBits() > 64) in IdxCompare()
DConstants.cpp408 if (CI->getValue().getActiveBits() > 64) in getAggregateElement()
1248 (CI->getValue().getActiveBits() > 64 || in isGEPWithNoNotionalOverIndexing()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DLLLexer.cpp960 uint32_t activeBits = Tmp.getActiveBits(); in LexIdentifier()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp559 unsigned DemandedSize = Demanded.getActiveBits(); in ShrinkDemandedOp()
746 if (DemandedBits.getActiveBits() <= ExVT.getScalarSizeInBits()) in SimplifyMultipleUseDemandedBits()
1364 if ((ShAmt < DemandedBits.getActiveBits()) && in SimplifyDemandedBits()
1374 if (ShAmt < InnerBits && DemandedBits.getActiveBits() <= InnerBits && in SimplifyDemandedBits()
1396 DemandedBits.getActiveBits() <= in SimplifyDemandedBits()
1624 if (DemandedBits.getActiveBits() <= ExVTBits) in SimplifyDemandedBits()
1686 if (DemandedBits.getActiveBits() <= InBits) { in SimplifyDemandedBits()
1719 if (DemandedBits.getActiveBits() <= InBits) { in SimplifyDemandedBits()
3253 C1.getActiveBits(); in SimplifySetCC()
DFastISel.cpp406 if (CI->getValue().getActiveBits() <= 64) in materializeConstant()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp1663 if (CI && CI->getValue().getActiveBits() <= 64) { in TryToShrinkGlobalToBoolean()
1667 if (CIInit && CIInit->getValue().getActiveBits() <= 64) { in TryToShrinkGlobalToBoolean()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp74 if (Bits == 0 || Imm.getActiveBits() >= 64) in getIntImmCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/MIRParser/
DMIParser.cpp1732 unsigned NumBits = (A == 0) ? 32 : A.getActiveBits(); in getHexUint()
2759 if (Token.integerValue().getActiveBits() > 64) in getUint64()

12