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

References

include/llvm/ADT/APInt.h
  555     return getSignedMinValue(BitWidth);
include/llvm/ADT/APSInt.h
  296                            : APInt::getSignedMinValue(numBits), Unsigned);
lib/Analysis/ConstantFolding.cpp
 2326               APInt::getSignedMinValue(Width).sextOrSelf(ExtendedWidth);
lib/Analysis/DependenceAnalysis.cpp
 1543   APInt TL(APInt::getSignedMinValue(Bits));
 1951   APInt TL(APInt::getSignedMinValue(Bits));
lib/Analysis/ScalarEvolution.cpp
 1202   APInt Mod = APInt::getSignedMinValue(W+1);
 1351     return SE->getConstant(APInt::getSignedMinValue(BitWidth) -
 5567           APInt::getSignedMinValue(BitWidth),
 5668                         APInt::getSignedMinValue(BitWidth)), RangeType);
 5671           ConstantRange(APInt::getSignedMinValue(BitWidth),
 5723             ConstantRange(APInt::getSignedMinValue(BitWidth).ashr(NS - 1),
 9995     FoundRHSLimit = APInt::getSignedMinValue(getTypeSizeInBits(RHS->getType())) - *RDiff;
10515     APInt MinValue = APInt::getSignedMinValue(BitWidth);
10775   APInt Limit = IsSigned ? APInt::getSignedMinValue(BitWidth) + (MinStride - 1)
lib/Analysis/ValueTracking.cpp
 5432           Lower = APInt::getSignedMinValue(Width);
 5436           Lower = APInt::getSignedMinValue(Width) + *C;
 5458       Lower = APInt::getSignedMinValue(Width).ashr(*C);
 5514       APInt IntMin = APInt::getSignedMinValue(Width);
 5589         Lower = APInt::getSignedMinValue(Width);
 5593         Lower = APInt::getSignedMinValue(Width) + *C;
 5610         Lower = APInt::getSignedMinValue(Width);
 5611         Upper = *C - APInt::getSignedMinValue(Width) + 1;
 5620         Lower = APInt::getSignedMinValue(Width) - *C;
 5624         Lower = APInt::getSignedMinValue(Width);
 5652       Upper = APInt::getSignedMinValue(BitWidth) + 1;
 5658     Lower = APInt::getSignedMinValue(BitWidth);
 5675       Lower = APInt::getSignedMinValue(BitWidth);
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
  715     APInt MinVal = APInt::getSignedMinValue(OldBits).sext(NewBits);
 2895         APInt MinVal = APInt::getSignedMinValue(VTSize);
 3078   APInt MinHi = APInt::getSignedMinValue(NVTSize);
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
 4607         APInt::getSignedMinValue(ElemVT.getSizeInBits()), dl, ElemVT);
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 3492       MinVal = APInt::getSignedMinValue(OperandBitSize);
 3597           C1 == APInt::getSignedMinValue(OperandBitSize)) {
 4982                   .multiplicativeInverse(APInt::getSignedMinValue(W + 1))
 5169                   .multiplicativeInverse(APInt::getSignedMinValue(W + 1))
 5305       APInt::getSignedMinValue(SVT.getScalarSizeInBits()), DL, VT);
 6952     APInt MinVal = APInt::getSignedMinValue(BitWidth);
 6994       APInt MinVal = APInt::getSignedMinValue(VTSize);
 7070   SDValue SatMin = DAG.getConstant(APInt::getSignedMinValue(VTSize), dl, VT);
lib/FuzzMutate/OpDescriptor.cpp
   21     Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMinValue(W)));
lib/IR/ConstantRange.cpp
  102     return ConstantRange(APInt::getSignedMinValue(W), std::move(SMax));
  107     return getNonEmpty(APInt::getSignedMinValue(W), CR.getSignedMax() + 1);
  118     return ConstantRange(std::move(SMin) + 1, APInt::getSignedMinValue(W));
  123     return getNonEmpty(CR.getSignedMin(), APInt::getSignedMinValue(W));
  204   APInt MinValue = APInt::getSignedMinValue(BitWidth);
  248     APInt SignedMinVal = APInt::getSignedMinValue(BitWidth);
  259     APInt SignedMinVal = APInt::getSignedMinValue(BitWidth);
  290     return getNonEmpty(APInt::getSignedMinValue(BitWidth).ashr(ShAmtUMax),
  384     return APInt::getSignedMinValue(getBitWidth());
  655     APInt SMin = APInt::getSignedMinValue(BW).sextOrSelf(ResultBitWidth);
 1049   APInt SignedMin = APInt::getSignedMinValue(getBitWidth());
 1349     return ConstantRange(Lo, APInt::getSignedMinValue(getBitWidth()) + 1);
 1391   APInt SignedMin = APInt::getSignedMinValue(getBitWidth());
 1437   APInt SignedMin = APInt::getSignedMinValue(getBitWidth());
lib/Support/APInt.cpp
 1205   APInt signedMin = APInt::getSignedMinValue(d.getBitWidth());
 1252   APInt signedMin = APInt::getSignedMinValue(d.getBitWidth());
 2019   return isNegative() ? APInt::getSignedMinValue(BitWidth)
 2038   return isNegative() ? APInt::getSignedMinValue(BitWidth)
 2060   return ResIsNegative ? APInt::getSignedMinValue(BitWidth)
 2079   return isNegative() ? APInt::getSignedMinValue(BitWidth)
lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
  400     return APInt::getSignedMinValue(BitWidth);
lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
  393     const APInt IntMin = APInt::getSignedMinValue(bits+align_bits);
lib/Target/X86/X86ISelLowering.cpp
24996     SDValue Sign = DAG.getConstant(APInt::getSignedMinValue(16), DL, VT);
35791     Mask = DAG.getConstant(APInt::getSignedMinValue(MaskEltsBits), DL, SrcVT);
38465             Val = APInt::getSignedMinValue(DstBitsPerElt);
39947     SignedMin = APInt::getSignedMinValue(NumDstBits).sext(NumSrcBits);
lib/Transforms/InstCombine/InstCombineCalls.cpp
  578         APInt::getSignedMinValue(DstScalarSizeInBits).sext(SrcScalarSizeInBits);
lib/Transforms/InstCombine/InstCombineCompares.cpp
 5741     SMin.convertFromAPInt(APInt::getSignedMinValue(IntWidth), true,
lib/Transforms/InstCombine/InstCombineSelect.cpp
 1429     APInt MinSignedValue = APInt::getSignedMinValue(BitWidth);
lib/Transforms/Scalar/GuardWidening.cpp
  729             .ugt(APInt::getSignedMinValue(BitWidth)))
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
  678   APInt Min = IsSigned ? APInt::getSignedMinValue(BitWidth) :
lib/Transforms/Utils/LoopUtils.cpp
 1015   APInt Min = Signed ? APInt::getSignedMinValue(BitWidth) :
tools/clang/lib/CodeGen/CGExprScalar.cpp
 2979       Builder.getInt(llvm::APInt::getSignedMinValue(Ty->getBitWidth()));
tools/clang/lib/Sema/SemaOpenMP.cpp
13462               (BOK != BO_LT) ? IsSigned ? llvm::APInt::getSignedMinValue(Size)
tools/clang/utils/TableGen/MveEmitter.cpp
  786         typelo = llvm::APInt::getSignedMinValue(IA.ArgType->sizeInBits());
unittests/ADT/APIntTest.cpp
 2401   const APInt signmin32(APInt::getSignedMinValue(32));
 2409   const APInt signmin128(APInt::getSignedMinValue(128));
 2488   APInt i32_min(APInt::getSignedMinValue(32).sext(63));
 2712               .multiplicativeInverse(APInt::getSignedMinValue(BitWidth + 1))
unittests/IR/ConstantRangeTest.cpp
  107     APInt Max = APInt::getSignedMinValue(Bits);
  293   ConstantRange CR2(APInt(8, 42), APInt::getSignedMinValue(8));
  653     APInt Max = APInt::getSignedMinValue(Bits);
  724         APInt SMax = APInt::getSignedMinValue(Bits);
  992                                            APInt::getSignedMinValue(16)));
  995                                           APInt::getSignedMinValue(16)));
 1177   EXPECT_EQ(Full.srem(Full), ConstantRange(APInt::getSignedMinValue(16) + 1,
 1178                                            APInt::getSignedMinValue(16)));
 1182   ConstantRange IntMinMod(APInt::getSignedMinValue(16));
 1473             ConstantRange(APInt::getSignedMinValue(32),
 1480             ConstantRange(APInt::getSignedMinValue(32) + 5,
 1481                           APInt::getSignedMinValue(32)));
 1489             ConstantRange(APInt::getSignedMinValue(32) + 5,
 1490                           APInt::getSignedMinValue(32)));
 1496             ConstantRange(APInt::getSignedMinValue(32),
 1506             ConstantRange(APInt::getSignedMinValue(32) + 1,
 1507                           APInt::getSignedMinValue(32) - 1));
 1513             ConstantRange(APInt::getSignedMinValue(32) + 1,
 1514                           APInt::getSignedMinValue(32) - 1));
 1523             ConstantRange(APInt::getSignedMinValue(32),
 1530             ConstantRange(APInt::getSignedMinValue(32) + 1,
 1531                           APInt::getSignedMinValue(32)));
 1701   EXPECT_TRUE(ConstantRange(APInt::getSignedMinValue(32), APInt(32, 100))
 1711   EXPECT_TRUE(ConstantRange(APInt(32, 100), APInt::getSignedMinValue(32))
 1729   EXPECT_FALSE(ConstantRange(APInt::getSignedMinValue(32) - APInt(32, 100),
 1730                              APInt::getSignedMinValue(32) + APInt(32, 100))
 2112       APInt MaxSigned = APInt::getSignedMinValue(Bits);
unittests/IR/PatternMatch.cpp
  520   Value *CIntMin = IRB.getInt64(APSInt::getSignedMinValue(64).getSExtValue());