| /freebsd-14.2/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-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 410 bool isIntN(unsigned N) const { return getActiveBits() <= N; } in isIntN() 1042 return (isSingleWord() || getActiveBits() <= 64) && getZExtValue() == Val; 1093 return (isSingleWord() || getActiveBits() <= 64) && getZExtValue() < RHS; in ult() 1164 return (!isSingleWord() && getActiveBits() > 64) || getZExtValue() > RHS; in ugt() 1457 unsigned getActiveBits() const { return BitWidth - countl_zero(); } in getActiveBits() function 1464 unsigned numActiveBits = getActiveBits(); in getActiveWords() 1488 assert(getActiveBits() <= 64 && "Too many bits for uint64_t"); in getZExtValue() 1498 return (getActiveBits() <= 64) ? std::optional<uint64_t>(getZExtValue()) in tryZExtValue() 1696 unsigned logBase2() const { return getActiveBits() - 1; } in logBase2() 1702 return temp.getActiveBits(); in ceilLogBase2()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | APSInt.cpp | 34 unsigned ActiveBits = Tmp.getActiveBits(); in APSInt()
|
| H A D | APInt.cpp | 868 unsigned n = Tmp.getActiveBits(); in roundToDouble() 1172 unsigned magnitude = getActiveBits(); in sqrt() 1589 unsigned lhsWords = getNumWords(getActiveBits()); in udiv() 1590 unsigned rhsBits = RHS.getActiveBits(); in udiv() 1625 unsigned lhsWords = getNumWords(getActiveBits()); in udiv() 1680 unsigned lhsWords = getNumWords(getActiveBits()); in urem() 1683 unsigned rhsBits = RHS.getActiveBits(); in urem() 1717 unsigned lhsWords = getNumWords(getActiveBits()); in urem() 1780 unsigned lhsWords = getNumWords(LHS.getActiveBits()); in udivrem() 1781 unsigned rhsBits = RHS.getActiveBits(); in udivrem() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ProfDataUtils.cpp | 115 assert(Weight->getValue().getActiveBits() <= 32 && in extractFromBranchWeightMD()
|
| H A D | ConstantRange.cpp | 477 unsigned ConstantRange::getActiveBits() const { in getActiveBits() function in ConstantRange 481 return getUnsignedMax().getActiveBits(); in getActiveBits() 823 if (Upper.getActiveBits() > DstTySize || Upper.countr_one() == DstTySize) in truncate() 836 if (LowerDiv.getActiveBits() > DstTySize) { in truncate() 843 unsigned UpperDivWidth = UpperDiv.getActiveBits(); in truncate()
|
| /freebsd-14.2/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-14.2/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()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ConstantRange.h | 297 unsigned getActiveBits() const;
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | BitwiseShiftChecker.cpp | 258 const unsigned UsedBitsInLeftOperand = Left->getValue().getActiveBits(); in checkLeftShiftOverflow()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSimplifyDemanded.cpp | 469 if (DemandedMask.getActiveBits() > SrcBitWidth) in SimplifyDemandedUseBits() 479 DemandedMask.getActiveBits() <= SrcBitWidth) { in SimplifyDemandedUseBits() 559 C->isOneBitSet(DemandedMask.getActiveBits() - 1)) { in SimplifyDemandedUseBits() 1026 CTZ >= C->getActiveBits()) in SimplifyDemandedUseBits()
|
| H A D | InstCombineLoadStoreAlloca.cpp | 211 if (C->getValue().getActiveBits() <= 64) { in simplifyAllocaArraySize()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
| H A D | ARMAddressingModes.h | 680 if (Imm.getActiveBits() > 16) in getFP32FP16Imm()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CallPromotionUtils.cpp | 602 if (!(VTableGVOffset.getActiveBits() <= 64)) in tryPromoteCall()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopPredication.cpp | 440 return Start->getAPInt().getActiveBits() < RangeCheckTypeBitSize && in isSafeToTruncateWideIVType() 441 Limit->getAPInt().getActiveBits() < RangeCheckTypeBitSize; in isSafeToTruncateWideIVType()
|
| H A D | CorrelatedValuePropagation.cpp | 820 unsigned MaxActiveBits = std::max(XCR.getActiveBits(), YCR.getActiveBits()); in narrowUDivOrURem()
|
| /freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | PredicateExpander.cpp | 496 for (unsigned I = 0, E = ProcModelMask.getActiveBits(); I < E; ++I) { in expandOpcodeGroup()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ImplicitNullChecks.cpp | 440 if (DisplacementC.getActiveBits() > 64) in isSuitableMemoryOp()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 1304 if (CI->getValue().getActiveBits() <= 32) in getInstructionCost() 1399 if (CI->getValue().getActiveBits() <= 32) in getInstructionCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstCombineIntrinsic.cpp | 87 return IntValue.getActiveBits() <= 16; in canSafelyConvertTo16Bit() 1224 const unsigned ActiveBits = DemandedElts.getActiveBits(); in simplifyAMDGCNMemoryIntrinsicDemanded()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | GlobalOpt.cpp | 369 if (Ptr != GV || Offset.getActiveBits() >= 64) in collectSRATypes() 1193 if (CI && CI->getValue().getActiveBits() <= 64) { in TryToShrinkGlobalToBoolean() 1197 if (CIInit && CIInit->getValue().getActiveBits() <= 64) { in TryToShrinkGlobalToBoolean()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
| H A D | RISCVInstructionSelector.cpp | 261 unsigned Leading = XLen - Mask.getActiveBits(); in selectSHXADDOp() 303 unsigned Leading = XLen - Mask.getActiveBits(); in selectSHXADDOp()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/AsmParser/ |
| H A D | LLLexer.cpp | 966 uint32_t activeBits = Tmp.getActiveBits(); in LexIdentifier()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 596 unsigned DemandedSize = DemandedBits.getActiveBits(); in ShrinkDemandedOp() 824 if (DemandedBits.getActiveBits() <= ExBits && in SimplifyMultipleUseDemandedBits() 846 DemandedBits.getActiveBits() <= SrcVT.getScalarSizeInBits()) { in SimplifyMultipleUseDemandedBits() 1762 if (ShAmt < InnerBits && DemandedBits.getActiveBits() <= InnerBits && in SimplifyDemandedBits() 1783 DemandedBits.getActiveBits() <= in SimplifyDemandedBits() 1828 if ((ShAmt < DemandedBits.getActiveBits()) && in SimplifyDemandedBits() 2341 if (DemandedBits.getActiveBits() <= ExVTBits) in SimplifyDemandedBits() 2402 if (DemandedBits.getActiveBits() <= InBits) { in SimplifyDemandedBits() 2455 if (DemandedBits.getActiveBits() <= InBits) { in SimplifyDemandedBits() 3946 AndC->getAPIntValue().getActiveBits()); in foldSetCCWithAnd() [all …]
|