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

References

include/llvm/ADT/APSInt.h
  289                            : APInt::getSignedMaxValue(numBits), Unsigned);
lib/Analysis/ConstantFolding.cpp
 2324               APInt::getSignedMaxValue(Width).sextOrSelf(ExtendedWidth);
lib/Analysis/DependenceAnalysis.cpp
 1542   APInt TU(APInt::getSignedMaxValue(Bits));
 1950   APInt TU(APInt::getSignedMaxValue(Bits));
lib/Analysis/ScalarEvolution.cpp
 1356     return SE->getConstant(APInt::getSignedMaxValue(BitWidth) -
 5568           APInt::getSignedMaxValue(BitWidth).ashr(TZ).shl(TZ) + 1);
 5724                           APInt::getSignedMaxValue(BitWidth).ashr(NS - 1) + 1),
10491     APInt MaxValue = APInt::getSignedMaxValue(BitWidth);
10563   APInt MaxValue = IsSigned ? APInt::getSignedMaxValue(BitWidth)
lib/Analysis/ValueTracking.cpp
 2181       APInt Mask = APInt::getSignedMaxValue(BitWidth);
 5433           Upper = APInt::getSignedMaxValue(Width) + *C + 1;
 5437           Upper = APInt::getSignedMaxValue(Width) + 1;
 5459       Upper = APInt::getSignedMaxValue(Width).ashr(*C) + 1;
 5515       APInt IntMax = APInt::getSignedMaxValue(Width);
 5590         Upper = APInt::getSignedMaxValue(Width) + *C + 1;
 5594         Upper = APInt::getSignedMaxValue(Width) + 1;
 5614         Lower = *C - APInt::getSignedMaxValue(Width);
 5615         Upper = APInt::getSignedMaxValue(Width) + 1;
 5621         Upper = APInt::getSignedMaxValue(Width) + 1;
 5625         Upper = APInt::getSignedMaxValue(Width) - *C + 1;
 5650       Upper = APInt::getSignedMaxValue(BitWidth) + 1;
 5680       Upper = APInt::getSignedMaxValue(BitWidth) + 1;
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
  716     APInt MaxVal = APInt::getSignedMaxValue(OldBits).sext(NewBits);
 2896         APInt MaxVal = APInt::getSignedMaxValue(VTSize);
 3073   APInt MaxHi = APInt::getSignedMaxValue(NVTSize);
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
 4611         APInt::getSignedMaxValue(ElemVT.getSizeInBits()), dl, ElemVT);
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 3493       MaxVal = APInt::getSignedMaxValue(OperandBitSize);
 3590           C1 == APInt::getSignedMaxValue(OperandBitSize))
 5175     APInt A = APInt::getSignedMaxValue(W).udiv(D0);
 5307       APInt::getSignedMaxValue(SVT.getScalarSizeInBits()), DL, VT);
 6953     APInt MaxVal = APInt::getSignedMaxValue(BitWidth);
 6995       APInt MaxVal = APInt::getSignedMaxValue(VTSize);
 7071   SDValue SatMax = DAG.getConstant(APInt::getSignedMaxValue(VTSize), dl, VT);
lib/FuzzMutate/OpDescriptor.cpp
   20     Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMaxValue(W)));
lib/IR/ConstantRange.cpp
  205   APInt MaxValue = APInt::getSignedMaxValue(BitWidth);
  291                        APInt::getSignedMaxValue(BitWidth).ashr(ShAmtUMax) + 1);
  378     return APInt::getSignedMaxValue(getBitWidth());
  656     APInt SMax = APInt::getSignedMaxValue(BW).sextOrSelf(ResultBitWidth);
 1392   APInt SignedMax = APInt::getSignedMaxValue(getBitWidth());
 1438   APInt SignedMax = APInt::getSignedMaxValue(getBitWidth());
lib/Support/APInt.cpp
 1253   APInt signedMax = APInt::getSignedMaxValue(d.getBitWidth());
 2020                       : APInt::getSignedMaxValue(BitWidth);
 2039                       : APInt::getSignedMaxValue(BitWidth);
 2061                        : APInt::getSignedMaxValue(BitWidth);
 2080                       : APInt::getSignedMaxValue(BitWidth);
lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
  402     return APInt::getSignedMaxValue(BitWidth);
lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
  394     const APInt IntMax = APInt::getSignedMaxValue(bits+align_bits);
lib/Target/X86/X86ISelLowering.cpp
19777   APInt MaskElt = IsFABS ? APInt::getSignedMaxValue(EltBits) :
19839       APFloat(Sem, APInt::getSignedMaxValue(EltSizeInBits)), dl, LogicVT);
35789     Mask = DAG.getConstant(APInt::getSignedMaxValue(MaskEltsBits), DL, SrcVT);
38467             Val = APInt::getSignedMaxValue(DstBitsPerElt);
39946     SignedMax = APInt::getSignedMaxValue(NumDstBits).sext(NumSrcBits);
lib/Transforms/InstCombine/InstCombineCalls.cpp
  580         APInt::getSignedMaxValue(DstScalarSizeInBits).sext(SrcScalarSizeInBits);
lib/Transforms/InstCombine/InstCombineCompares.cpp
 1125   APInt SMax = APInt::getSignedMaxValue(C.getBitWidth());
 5716     SMax.convertFromAPInt(APInt::getSignedMaxValue(IntWidth), true,
lib/Transforms/InstCombine/InstCombineSelect.cpp
 1267                                   APInt::getSignedMaxValue(
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
  378     const SCEV *SIntMax = SE.getConstant(APInt::getSignedMaxValue(BitWidth));
  726   APInt Max = IsSigned ? APInt::getSignedMaxValue(BitWidth) :
 1612   const SCEV *SIntMax = SE.getConstant(APInt::getSignedMaxValue(BitWidth));
lib/Transforms/Utils/LoopUtils.cpp
 1026   APInt Max = Signed ? APInt::getSignedMaxValue(BitWidth) :
tools/clang/lib/CodeGen/CGBuiltin.cpp
 1355         llvm::APInt::getSignedMaxValue(ResultInfo.Width).zextOrSelf(OpWidth);
tools/clang/lib/Frontend/InitPreprocessor.cpp
  169   llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth)
tools/clang/lib/Sema/SemaOpenMP.cpp
13464                              : IsSigned ? llvm::APInt::getSignedMaxValue(Size)
tools/clang/utils/TableGen/MveEmitter.cpp
  787         typehi = llvm::APInt::getSignedMaxValue(IA.ArgType->sizeInBits());
unittests/ADT/APIntTest.cpp
 2405   const APInt umax32(APInt::getSignedMaxValue(32));
 2413   const APInt umax128(APInt::getSignedMaxValue(128));
 2483   APInt i32_max(APInt::getSignedMaxValue(32).sext(63));
unittests/IR/ConstantRangeTest.cpp
  106     APInt Min = APInt::getSignedMaxValue(Bits);
  652     APInt Min = APInt::getSignedMaxValue(Bits);
  723         APInt SMin = APInt::getSignedMaxValue(Bits);
 1319   ConstantRange SMax = ConstantRange(APInt::getSignedMaxValue(32));
 1474                           APInt::getSignedMaxValue(32) - 4));
 1497                           APInt::getSignedMaxValue(32) - 4));
 1524                           APInt::getSignedMaxValue(32)));
 2111       APInt MinSigned = APInt::getSignedMaxValue(Bits);