Home
last modified time | relevance | path

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

12

/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
DAPSIntType.cpp28 MinBits = Value.getActiveBits(); in testInRange()
38 MinBits = Value.getActiveBits() + !IsUnsigned; in testInRange()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ADT/
DAPInt.h457 return getActiveBits() <= N;
1164 return (isSingleWord() || getActiveBits() <= 64) && getZExtValue() == Val;
1215 return (isSingleWord() || getActiveBits() <= 64) && getZExtValue() < RHS;
1285 return (!isSingleWord() && getActiveBits() > 64) || getZExtValue() > RHS;
1605 unsigned getActiveBits() const { return BitWidth - countLeadingZeros(); }
1612 unsigned numActiveBits = getActiveBits();
1634 assert(getActiveBits() <= 64 && "Too many bits for uint64_t");
1811 unsigned logBase2() const { return getActiveBits() - 1; }
1817 return temp.getActiveBits();
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/
DAPSInt.cpp34 unsigned ActiveBits = Tmp.getActiveBits(); in APSInt()
DAPInt.cpp809 if (isSingleWord() || getActiveBits() <= APINT_BITS_PER_WORD) { in roundToDouble()
824 unsigned n = Tmp.getActiveBits(); in roundToDouble()
1105 unsigned magnitude = getActiveBits(); in sqrt()
1614 unsigned lhsWords = getNumWords(getActiveBits()); in udiv()
1615 unsigned rhsBits = RHS.getActiveBits(); in udiv()
1650 unsigned lhsWords = getNumWords(getActiveBits()); in udiv()
1705 unsigned lhsWords = getNumWords(getActiveBits()); in urem()
1708 unsigned rhsBits = RHS.getActiveBits(); in urem()
1742 unsigned lhsWords = getNumWords(getActiveBits()); in urem()
1805 unsigned lhsWords = getNumWords(LHS.getActiveBits()); in udivrem()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DLoopUnrollAnalyzer.cpp125 if (SimplifiedAddrOp->getValue().getActiveBits() > 64) in visitLoad()
DDemandedBits.cpp204 AB = APInt::getLowBitsSet(BitWidth, AOut.getActiveBits()); in determineLiveOperandBits()
DMemoryBuiltins.cpp657 if (I.getBitWidth() > IntTyBits && I.getActiveBits() > IntTyBits) in CheckedZextOrTrunc()
DBranchProbabilityInfo.cpp338 assert(Weight->getValue().getActiveBits() <= 32 && in calcMetadataWeights()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
DConstantRange.h270 unsigned getActiveBits() const;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
DConstantRange.cpp421 unsigned ConstantRange::getActiveBits() const { in getActiveBits() function in ConstantRange
425 return getUnsignedMax().getActiveBits(); in getActiveBits()
741 if (Upper.getActiveBits() > DstTySize || in truncate()
755 if (LowerDiv.getActiveBits() > DstTySize) { in truncate()
762 unsigned UpperDivWidth = UpperDiv.getActiveBits(); in truncate()
DConstantFold.cpp1328 if (cast<ConstantInt>(C1)->getValue().getActiveBits() > 64 || in IdxCompare()
1329 cast<ConstantInt>(C2)->getValue().getActiveBits() > 64) in IdxCompare()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
DARMAddressingModes.h693 if (Imm.getActiveBits() > 16) in getFP32FP16Imm()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp322 if (match(RHS, m_APInt(C)) && CTZ >= C->getActiveBits()) in SimplifyDemandedUseBits()
431 if (DemandedMask.getActiveBits() > SrcBitWidth) in SimplifyDemandedUseBits()
441 DemandedMask.getActiveBits() <= SrcBitWidth) { in SimplifyDemandedUseBits()
DInstCombineLoadStoreAlloca.cpp184 if (C->getValue().getActiveBits() <= 64) { in simplifyAllocaArraySize()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
DCallPromotionUtils.cpp573 if (!(VTableGVOffset.getActiveBits() <= 64)) in tryPromoteCall()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DLoopPredication.cpp464 return Start->getAPInt().getActiveBits() < RangeCheckTypeBitSize && in isSafeToTruncateWideIVType()
465 Limit->getAPInt().getActiveBits() < RangeCheckTypeBitSize; in isSafeToTruncateWideIVType()
DCorrelatedValuePropagation.cpp740 MaxActiveBits = std::max(CR.getActiveBits(), MaxActiveBits); in processUDivOrURem()
/freebsd-12-stable/contrib/llvm-project/llvm/utils/TableGen/
DPredicateExpander.cpp455 for (unsigned I = 0, E = ProcModelMask.getActiveBits(); I < E; ++I) { in expandOpcodeGroup()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
DImplicitNullChecks.cpp442 if (DisplacementC.getActiveBits() > 64) in isSuitableMemoryOp()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/AsmParser/
DLLLexer.cpp983 uint32_t activeBits = Tmp.getActiveBits(); in LexIdentifier()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp571 unsigned DemandedSize = Demanded.getActiveBits(); in ShrinkDemandedOp()
788 if (DemandedBits.getActiveBits() <= ExBits) in SimplifyMultipleUseDemandedBits()
806 DemandedBits.getActiveBits() <= SrcVT.getScalarSizeInBits()) { in SimplifyMultipleUseDemandedBits()
1472 if (ShAmt < InnerBits && DemandedBits.getActiveBits() <= InnerBits && in SimplifyDemandedBits()
1496 DemandedBits.getActiveBits() <= in SimplifyDemandedBits()
1522 if ((ShAmt < DemandedBits.getActiveBits()) && in SimplifyDemandedBits()
1818 if (DemandedBits.getActiveBits() <= ExVTBits) in SimplifyDemandedBits()
1879 if (DemandedBits.getActiveBits() <= InBits) { in SimplifyDemandedBits()
1917 if (DemandedBits.getActiveBits() <= InBits) { in SimplifyDemandedBits()
3616 C1.getActiveBits(); in SimplifySetCC()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUInstCombineIntrinsic.cpp931 const unsigned ActiveBits = DemandedElts.getActiveBits(); in simplifyAMDGCNMemoryIntrinsicDemanded()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp1185 if (CI && CI->getValue().getActiveBits() <= 64) { in TryToShrinkGlobalToBoolean()
1189 if (CIInit && CIInit->getValue().getActiveBits() <= 64) { in TryToShrinkGlobalToBoolean()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
DMIParser.cpp1933 unsigned NumBits = (A == 0) ? 32 : A.getActiveBits(); in getHexUint()
2984 if (Token.integerValue().getActiveBits() > 64) in getUint64()
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
DType.cpp153 return NumElements.getActiveBits() + llvm::Log2_64(ElementSize); in getNumAddressingBits()
173 return TotalSize.getActiveBits(); in getNumAddressingBits()

12