reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/APInt.h
  457     return getMinSignedBits() <= N;
 1216     return (!isSingleWord() && getMinSignedBits() > 64) ? isNegative()
 1286     return (!isSingleWord() && getMinSignedBits() > 64) ? !isNegative()
 1590     assert(getMinSignedBits() <= 64 && "Too many bits for int64_t");
include/llvm/ADT/APSInt.h
   94     assert(getMinSignedBits() <= 64 && "Too many bits for int64_t");
include/llvm/Analysis/TargetTransformInfoImpl.h
  628             IntElement->getValue().getMinSignedBits() - 1;
  644       return CI->getValue().getMinSignedBits() - 1;
lib/Analysis/BasicAliasAnalysis.cpp
  595       if (WideScaledOffset.getMinSignedBits() > MaxPointerSize) {
lib/CodeGen/CodeGenPrepare.cpp
 4144           if (CVal.getMinSignedBits() <= 64) {
lib/CodeGen/MIRParser/MIParser.cpp
 1481   if (Int.getMinSignedBits() > 64)
 2010   if (Token.integerValue().getMinSignedBits() > 32)
 2552   if (Token.integerValue().getMinSignedBits() > 64)
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 4583         if (ADDC.getMinSignedBits() <= 64 &&
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 3357       if (C1.getMinSignedBits() > ExtSrcTyBits)
 3643     if (C1.getMinSignedBits() <= 64 &&
 3681         if (ShiftBits && NewC.getMinSignedBits() <= 64 &&
lib/IR/ConstantFold.cpp
 2151   if (CI->getValue().getMinSignedBits() > 64)
lib/IR/Value.cpp
  583       if (GEPOffset.getMinSignedBits() > BitWidth)
lib/Support/APSInt.cpp
   27     unsigned MinBits = Tmp.getMinSignedBits();
lib/Target/RISCV/RISCVISelLowering.cpp
 1042       if (ShiftedC1Int.getMinSignedBits() <= 64 &&
 1048       if (C1Int.getMinSignedBits() <= 64 &&
lib/Target/RISCV/RISCVTargetTransformInfo.cpp
   74       if (Imm.getMinSignedBits() <= 64 &&
lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
 1381   if (OperandV.getMinSignedBits() > 8)
lib/Target/X86/X86ISelDAGToDAG.cpp
 3921   unsigned MinWidth = NegMaskVal.getMinSignedBits();
 3922   if (MinWidth > 32 || (MinWidth > 8 && MaskVal.getMinSignedBits() <= 32))
lib/Target/X86/X86ISelLowering.cpp
38400   unsigned OldMaskSize = MaskVal.getMinSignedBits();
38401   unsigned NewMaskSize = NewMaskVal.getMinSignedBits();
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
 1085         Op0Src->getType()->getScalarSizeInBits() >= Op1C->getMinSignedBits()) {
lib/Transforms/Scalar/Float2Int.cpp
  400     unsigned MinBW = std::max(R.getLower().getMinSignedBits(),
  401                               R.getUpper().getMinSignedBits()) + 1;
lib/Transforms/Scalar/LoopStrengthReduce.cpp
  747     if (C->getAPInt().getMinSignedBits() <= 64) {
 1371       C.ImmCost += APInt(64, Offset, true).getMinSignedBits();
 2446             if (C->getValue().getMinSignedBits() >= 64 ||
 2695         if (Factor->getAPInt().getMinSignedBits() <= 64)
 2701         if (Factor->getAPInt().getMinSignedBits() <= 64)
 3124   if (IncConst->getAPInt().getMinSignedBits() > 64)
lib/Transforms/Utils/BypassSlowDivision.cpp
  207     return C && C->getValue().getMinSignedBits() > BypassType->getBitWidth();
lib/Transforms/Utils/SimplifyCFG.cpp
 4473         (CaseVal.getMinSignedBits() > MaxSignificantBitsInCond)) {
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
  355   assert(OffsetA.getMinSignedBits() <= NewPtrBitWidth &&
  356          OffsetB.getMinSignedBits() <= NewPtrBitWidth);
tools/clang/lib/AST/ExprConstant.cpp
10563     return Success(Val.getBitWidth() - Val.getMinSignedBits(), E);
tools/clang/lib/Sema/SemaChecking.cpp
10159     return IntRange(value.getMinSignedBits(), false);
10999         OriginalWidth = Value.getMinSignedBits();
tools/clang/lib/Sema/SemaDecl.cpp
16865   return Value.getMinSignedBits() <= BitWidth;
17396                                  (unsigned)InitVal.getMinSignedBits());
tools/clang/lib/Sema/SemaExpr.cpp
 8861                            ? (Result.isNegative() ? Result.getMinSignedBits()
 9847       static_cast<llvm::APInt&>(Right) + Left.getMinSignedBits();
 9870     << HexResult.str() << Result.getMinSignedBits() << LHSType
tools/clang/lib/Sema/SemaTemplate.cpp
 6713         RequiredBits = OldValue.getMinSignedBits();
tools/clang/lib/StaticAnalyzer/Core/APSIntType.cpp
   26       MinBits = Value.getMinSignedBits();
   36       MinBits = Value.getMinSignedBits() - IsUnsigned;
tools/polly/lib/Support/GICHelper.cpp
   77   if (A.getMinSignedBits() < A.getBitWidth())
   78     A = A.trunc(A.getMinSignedBits());
tools/polly/unittests/Isl/IslTest.cpp
  255     EXPECT_EQ(502u, APLargePow2.getMinSignedBits());
  263     EXPECT_EQ(501u, APLargeNPow2.getMinSignedBits());
  273     EXPECT_EQ(514u, APLargePow2.getMinSignedBits());
  281     EXPECT_EQ(513u, APLargeNPow2.getMinSignedBits());
unittests/ADT/APIntTest.cpp
  167   EXPECT_EQ(33u, s128.getMinSignedBits());
  177   EXPECT_EQ(63u, s128.getMinSignedBits());
  201   EXPECT_EQ(67u, s256.getMinSignedBits());
  210   EXPECT_EQ(61u, s256.getMinSignedBits());