| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | APSIntType.cpp | 26 MinBits = Value.getMinSignedBits(); in testInRange() 36 MinBits = Value.getMinSignedBits() - IsUnsigned; in testInRange()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | APSInt.cpp | 28 unsigned MinBits = Tmp.getMinSignedBits(); in APSInt()
|
| /llvm-project-15.0.7/polly/lib/Support/ |
| H A D | GICHelper.cpp | 77 if (A.getMinSignedBits() < A.getBitWidth()) in APIntFromVal() 78 A = A.trunc(A.getMinSignedBits()); in APIntFromVal()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | Float2Int.cpp | 394 unsigned MinBW = std::max(R.getLower().getMinSignedBits(), in validateAndTransform() 395 R.getUpper().getMinSignedBits()) + 1; in validateAndTransform()
|
| H A D | LoopStrengthReduce.cpp | 789 if (C->getAPInt().getMinSignedBits() <= 64) { in ExtractImmediate() 1404 C.ImmCost += APInt(64, Offset, true).getMinSignedBits(); in RateFormula() 2486 if (C->getValue().getMinSignedBits() >= 64 || in OptimizeLoopTermCond() 2735 if (Factor->getAPInt().getMinSignedBits() <= 64 && !Factor->isZero()) in CollectInterestingTypesAndFactors() 2741 if (Factor->getAPInt().getMinSignedBits() <= 64 && !Factor->isZero()) in CollectInterestingTypesAndFactors() 3170 if (IncConst->getAPInt().getMinSignedBits() > 64) in canFoldIVIncExpr() 5962 if (C->getAPInt().getMinSignedBits() > 64) in pushConst() 6051 if (C->getAPInt().getMinSignedBits() > 64) in isIdentityFunction() 6399 if (Offset.value().getMinSignedBits() <= 64) in SalvageDVI()
|
| H A D | CorrelatedValuePropagation.cpp | 738 MinSignedBits = std::max(std::get<1>(I)->getMinSignedBits(), MinSignedBits); in narrowSDivOrSRem()
|
| /llvm-project-15.0.7/polly/unittests/Isl/ |
| H A D | IslTest.cpp | 247 EXPECT_EQ(502u, APLargePow2.getMinSignedBits()); in TEST() 255 EXPECT_EQ(501u, APLargeNPow2.getMinSignedBits()); in TEST() 265 EXPECT_EQ(514u, APLargePow2.getMinSignedBits()); in TEST() 273 EXPECT_EQ(513u, APLargeNPow2.getMinSignedBits()); in TEST()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | ConstantRange.h | 301 unsigned getMinSignedBits() const;
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | Hover.cpp | 399 if (V.isNegative() && V.getMinSignedBits() <= 32) in printHex() 432 if (T->isEnumeralType() && Constant.Val.getInt().getMinSignedBits() <= 64) { in printExprValue() 444 Constant.Val.getInt().getMinSignedBits() <= 64 && in printExprValue()
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | APSInt.h | 90 assert(getMinSignedBits() <= 64 && "Too many bits for int64_t"); in getExtValue()
|
| H A D | APInt.h | 1459 unsigned getMinSignedBits() const { return getSignificantBits(); } in getMinSignedBits() function
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetTransformInfo.cpp | 92 if (Imm.getMinSignedBits() <= 64 && in getIntImmCostInst()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | BypassSlowDivision.cpp | 207 return C && C->getValue().getMinSignedBits() > BypassType->getBitWidth(); in isHashLikeValue()
|
| H A D | SimplifyIndVar.cpp | 691 MaskBits = SE->getSignedRange(IV).getMinSignedBits(); in replaceFloatIVWithIntegerIV()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 849 IntElement->getValue().getMinSignedBits() - 1; in minRequiredElementSize() 864 return CI->getValue().getMinSignedBits() - 1; in minRequiredElementSize()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 483 unsigned ConstantRange::getMinSignedBits() const { in getMinSignedBits() function in ConstantRange 487 return std::max(getSignedMin().getMinSignedBits(), in getMinSignedBits() 488 getSignedMax().getMinSignedBits()); in getMinSignedBits()
|
| H A D | Value.cpp | 737 if (GEPOffset.getMinSignedBits() > BitWidth) in stripAndAccumulateConstantOffsets()
|
| H A D | ConstantFold.cpp | 1945 if (CI->getValue().getMinSignedBits() > 64) in isIndexInRangeOfArrayType()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | LoadStoreVectorizer.cpp | 346 assert(OffsetA.getMinSignedBits() <= NewPtrBitWidth && in areConsecutivePointers() 347 OffsetB.getMinSignedBits() <= NewPtrBitWidth); in areConsecutivePointers()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | ConstantRangeTest.cpp | 658 TEST_F(ConstantRangeTest, getMinSignedBits) { in TEST_F() argument 663 Exact = std::max(Exact, N.getMinSignedBits()); in TEST_F() 666 unsigned ResultCR = CR.getMinSignedBits(); in TEST_F() 673 unsigned MinBitWidth = CR.getMinSignedBits(); in TEST_F()
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | APIntTest.cpp | 167 EXPECT_EQ(33u, s128.getMinSignedBits()); in TEST() 177 EXPECT_EQ(63u, s128.getMinSignedBits()); in TEST() 201 EXPECT_EQ(67u, s256.getMinSignedBits()); in TEST() 210 EXPECT_EQ(61u, s256.getMinSignedBits()); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIParser.cpp | 1747 if (Int.getMinSignedBits() > 64) in parseImmediateOperand() 2358 if (Token.integerValue().getMinSignedBits() > 32) in parseCFIOffset() 2912 if (Token.integerValue().getMinSignedBits() > 64) in parseOffset()
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelDAGToDAG.cpp | 1387 if (OperandV.getMinSignedBits() > 8) in tryFoldLoadStoreIntoMemOperand()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineMulDivRem.cpp | 1147 Op0Src->getType()->getScalarSizeInBits() >= Op1C->getMinSignedBits()) { in visitSDiv()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAG.h | 977 assert(MulImm.getMinSignedBits() <= VT.getSizeInBits() &&
|