| /freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| D | APSIntType.cpp | 28 MinBits = Value.getActiveBits(); in testInRange() 38 MinBits = Value.getActiveBits() + !IsUnsigned; in testInRange()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
| D | APInt.h | 457 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/ |
| D | APSInt.cpp | 34 unsigned ActiveBits = Tmp.getActiveBits(); in APSInt()
|
| D | APInt.cpp | 809 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/ |
| D | LoopUnrollAnalyzer.cpp | 125 if (SimplifiedAddrOp->getValue().getActiveBits() > 64) in visitLoad()
|
| D | DemandedBits.cpp | 204 AB = APInt::getLowBitsSet(BitWidth, AOut.getActiveBits()); in determineLiveOperandBits()
|
| D | MemoryBuiltins.cpp | 657 if (I.getBitWidth() > IntTyBits && I.getActiveBits() > IntTyBits) in CheckedZextOrTrunc()
|
| D | BranchProbabilityInfo.cpp | 338 assert(Weight->getValue().getActiveBits() <= 32 && in calcMetadataWeights()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
| D | ConstantRange.h | 270 unsigned getActiveBits() const;
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/ |
| D | ConstantRange.cpp | 421 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()
|
| D | ConstantFold.cpp | 1328 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/ |
| D | ARMAddressingModes.h | 693 if (Imm.getActiveBits() > 16) in getFP32FP16Imm()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| D | InstCombineSimplifyDemanded.cpp | 322 if (match(RHS, m_APInt(C)) && CTZ >= C->getActiveBits()) in SimplifyDemandedUseBits() 431 if (DemandedMask.getActiveBits() > SrcBitWidth) in SimplifyDemandedUseBits() 441 DemandedMask.getActiveBits() <= SrcBitWidth) { in SimplifyDemandedUseBits()
|
| D | InstCombineLoadStoreAlloca.cpp | 184 if (C->getValue().getActiveBits() <= 64) { in simplifyAllocaArraySize()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| D | CallPromotionUtils.cpp | 573 if (!(VTableGVOffset.getActiveBits() <= 64)) in tryPromoteCall()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| D | LoopPredication.cpp | 464 return Start->getAPInt().getActiveBits() < RangeCheckTypeBitSize && in isSafeToTruncateWideIVType() 465 Limit->getAPInt().getActiveBits() < RangeCheckTypeBitSize; in isSafeToTruncateWideIVType()
|
| D | CorrelatedValuePropagation.cpp | 740 MaxActiveBits = std::max(CR.getActiveBits(), MaxActiveBits); in processUDivOrURem()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/utils/TableGen/ |
| D | PredicateExpander.cpp | 455 for (unsigned I = 0, E = ProcModelMask.getActiveBits(); I < E; ++I) { in expandOpcodeGroup()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
| D | ImplicitNullChecks.cpp | 442 if (DisplacementC.getActiveBits() > 64) in isSuitableMemoryOp()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/AsmParser/ |
| D | LLLexer.cpp | 983 uint32_t activeBits = Tmp.getActiveBits(); in LexIdentifier()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| D | TargetLowering.cpp | 571 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/ |
| D | AMDGPUInstCombineIntrinsic.cpp | 931 const unsigned ActiveBits = DemandedElts.getActiveBits(); in simplifyAMDGCNMemoryIntrinsicDemanded()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| D | GlobalOpt.cpp | 1185 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/ |
| D | MIParser.cpp | 1933 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/ |
| D | Type.cpp | 153 return NumElements.getActiveBits() + llvm::Log2_64(ElementSize); in getNumAddressingBits() 173 return TotalSize.getActiveBits(); in getNumAddressingBits()
|