/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | APSIntType.cpp | 28 MinBits = Value.getActiveBits(); in testInRange() 38 MinBits = Value.getActiveBits() + !IsUnsigned; in testInRange()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | APInt.h | 412 bool isIntN(unsigned N) const { return getActiveBits() <= N; } in isIntN() 1050 return (isSingleWord() || getActiveBits() <= 64) && getZExtValue() == Val; 1101 return (isSingleWord() || getActiveBits() <= 64) && getZExtValue() < RHS; in ult() 1172 return (!isSingleWord() && getActiveBits() > 64) || getZExtValue() > RHS; in ugt() 1472 unsigned getActiveBits() const { return BitWidth - countl_zero(); } in getActiveBits() function 1479 unsigned numActiveBits = getActiveBits(); in getActiveWords() 1503 assert(getActiveBits() <= 64 && "Too many bits for uint64_t"); in getZExtValue() 1513 return (getActiveBits() <= 64) ? std::optional<uint64_t>(getZExtValue()) in tryZExtValue() 1719 unsigned logBase2() const { return getActiveBits() - 1; } in logBase2() 1725 return temp.getActiveBits(); in ceilLogBase2()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | APSInt.cpp | 34 unsigned ActiveBits = Tmp.getActiveBits(); in APSInt()
|
H A D | APInt.cpp | 853 if (isSingleWord() || getActiveBits() <= APINT_BITS_PER_WORD) { in roundToDouble() 868 unsigned n = Tmp.getActiveBits(); in roundToDouble() 1172 unsigned magnitude = getActiveBits(); in sqrt() 1553 unsigned lhsWords = getNumWords(getActiveBits()); in udiv() 1554 unsigned rhsBits = RHS.getActiveBits(); in udiv() 1589 unsigned lhsWords = getNumWords(getActiveBits()); in udiv() 1644 unsigned lhsWords = getNumWords(getActiveBits()); in urem() 1647 unsigned rhsBits = RHS.getActiveBits(); in urem() 1681 unsigned lhsWords = getNumWords(getActiveBits()); in urem() 1744 unsigned lhsWords = getNumWords(LHS.getActiveBits()); in udivrem() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
H A D | TruncInstCombine.cpp | 319 std::max(MinBitWidth, KnownLHS.getMaxValue().getActiveBits()); in getBestTruncatedType() 335 std::max(Known.getMaxValue().getActiveBits(), MinBitWidth); in getBestTruncatedType()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | LoopUnrollAnalyzer.cpp | 128 if (SimplifiedAddrOp->getValue().getActiveBits() > 64) in visitLoad()
|
H A D | DemandedBits.cpp | 172 AB = APInt::getLowBitsSet(BitWidth, AOut.getActiveBits()); in determineLiveOperandBits()
|
H A D | MemoryBuiltins.cpp | 371 if (I.getBitWidth() > IntTyBits && I.getActiveBits() > IntTyBits) in CheckedZextOrTrunc()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | ProfDataUtils.cpp | 84 assert(Weight->getValue().getActiveBits() <= (sizeof(T) * 8) && in extractFromBranchWeightMD()
|
H A D | ConstantRange.cpp | 533 unsigned ConstantRange::getActiveBits() const { in getActiveBits() function in ConstantRange 537 return getUnsignedMax().getActiveBits(); in getActiveBits() 879 if (Upper.getActiveBits() > DstTySize || Upper.countr_one() == DstTySize) in truncate() 892 if (LowerDiv.getActiveBits() > DstTySize) { in truncate() 899 unsigned UpperDivWidth = UpperDiv.getActiveBits(); in truncate()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | ConstantRange.h | 305 unsigned getActiveBits() const;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMAddressingModes.h | 680 if (Imm.getActiveBits() > 16) in getFP32FP16Imm()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 466 if (DemandedMask.getActiveBits() > SrcBitWidth) in SimplifyDemandedUseBits() 476 DemandedMask.getActiveBits() <= SrcBitWidth) { in SimplifyDemandedUseBits() 555 C->isOneBitSet(DemandedMask.getActiveBits() - 1)) { in SimplifyDemandedUseBits() 1077 CTZ >= C->getActiveBits()) in SimplifyDemandedUseBits()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 635 if (!(VTableGVOffset.getActiveBits() <= 64)) in tryPromoteCall()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopPredication.cpp | 440 return Start->getAPInt().getActiveBits() < RangeCheckTypeBitSize && 441 Limit->getAPInt().getActiveBits() < RangeCheckTypeBitSize;
|
H A D | CorrelatedValuePropagation.cpp | 885 unsigned MaxActiveBits = std::max(XCR.getActiveBits(), YCR.getActiveBits()); in narrowUDivOrURem()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
H A D | PredicateExpander.cpp | 496 for (unsigned I = 0, E = ProcModelMask.getActiveBits(); I < E; ++I) { in expandOpcodeGroup()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ImplicitNullChecks.cpp | 440 if (DisplacementC.getActiveBits() > 64) in isSuitableMemoryOp()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfoImpl.h | 1347 if (CI->getValue().getActiveBits() <= 32) in getInstructionCost() 1466 if (CI->getValue().getActiveBits() <= 32) in getInstructionCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 379 if (Ptr != GV || Offset.getActiveBits() >= 64) in collectSRATypes() 1204 if (CI && CI->getValue().getActiveBits() <= 64) { in TryToShrinkGlobalToBoolean() 1208 if (CIInit && CIInit->getValue().getActiveBits() <= 64) { in TryToShrinkGlobalToBoolean()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
H A D | RISCVInstructionSelector.cpp | 273 unsigned Leading = XLen - Mask.getActiveBits(); in selectSHXADDOp() 315 unsigned Leading = XLen - Mask.getActiveBits(); in selectSHXADDOp()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUInstCombineIntrinsic.cpp | 87 return IntValue.getActiveBits() <= 16; in canSafelyConvertTo16Bit() 1306 const unsigned ActiveBits = DemandedElts.getActiveBits(); in simplifyAMDGCNMemoryIntrinsicDemanded()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86FixupVectorConstants.cpp | 310 (!IsSExt && Elt.getActiveBits() > SrcEltBitWidth)) in rebuildExtCst()
|
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
H A D | LLLexer.cpp | 992 uint32_t activeBits = Tmp.getActiveBits(); in LexIdentifier()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 602 unsigned DemandedSize = DemandedBits.getActiveBits(); in ShrinkDemandedOp() 837 if (DemandedBits.getActiveBits() <= ExBits && in SimplifyMultipleUseDemandedBits() 859 DemandedBits.getActiveBits() <= SrcVT.getScalarSizeInBits()) { in SimplifyMultipleUseDemandedBits() 1772 if (ShAmt < InnerBits && DemandedBits.getActiveBits() <= InnerBits && in SimplifyDemandedBits() 1793 DemandedBits.getActiveBits() <= in SimplifyDemandedBits() 1838 if (ShAmt < DemandedBits.getActiveBits() && !VT.isVector() && in SimplifyDemandedBits() 1842 unsigned DemandedSize = DemandedBits.getActiveBits(); in SimplifyDemandedBits() 2371 if (DemandedBits.getActiveBits() <= ExVTBits) in SimplifyDemandedBits() 2431 if (DemandedBits.getActiveBits() <= InBits) { in SimplifyDemandedBits() 2483 if (DemandedBits.getActiveBits() <= InBits) { in SimplifyDemandedBits() [all …]
|