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

References

include/llvm/ADT/APSInt.h
  288     return APSInt(Unsigned ? APInt::getMaxValue(numBits)
lib/Analysis/ScalarEvolution.cpp
 1805           const SCEV *N = getConstant(APInt::getMaxValue(BitWidth) -
 5564                         APInt::getMaxValue(BitWidth).lshr(TZ).shl(TZ) + 1);
 5786   if (APInt::getMaxValue(StartRange.getBitWidth()).udiv(Step).ult(MaxBECount))
10499   APInt MaxValue = APInt::getMaxValue(BitWidth);
10564                             : APInt::getMaxValue(BitWidth);
lib/Analysis/ScalarEvolutionExpander.cpp
 2321     auto MaxVal = APInt::getMaxValue(DstBits).zext(SrcBits);
lib/Analysis/ValueTracking.cpp
 5547       Upper = APInt::getMaxValue(Width).udiv(*C) + 1;
 5604       Upper = APInt::getMaxValue(Width) - *C + 1;
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
 2809     if (APInt::getMaxValue(ShiftAmtTy.getSizeInBits()).ult(HalfBits)) {
 2906         APInt MaxVal = APInt::getMaxValue(VTSize);
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 3496       MaxVal = APInt::getMaxValue(OperandBitSize);
 5672   if (APInt::getMaxValue(ShiftAmountTy.getSizeInBits()).ult(ShiftAmount)) {
 7007       APInt MaxVal = APInt::getMaxValue(VTSize);
 7057     APInt MaxVal = APInt::getMaxValue(VTSize);
lib/FuzzMutate/OpDescriptor.cpp
   18     Cs.push_back(ConstantInt::get(IntTy, APInt::getMaxValue(W)));
lib/IR/ConstantRange.cpp
   43     : Lower(Full ? APInt::getMaxValue(BitWidth) : APInt::getMinValue(BitWidth)),
  192       APIntOps::RoundingUDiv(APInt::getMaxValue(BitWidth), V,
  289                          APInt::getMaxValue(BitWidth).lshr(ShAmtUMax) + 1);
  344     return APInt::getMaxValue(getBitWidth()).ugt(MaxSize - 1);
  366     return APInt::getMaxValue(getBitWidth());
  649     APInt Max = APInt::getMaxValue(BW).zextOrSelf(ResultBitWidth);
  724     Union = ConstantRange(APInt::getMaxValue(DstTySize),Upper.trunc(DstTySize));
lib/Support/APInt.cpp
 2029   return APInt::getMaxValue(BitWidth);
 2070   return APInt::getMaxValue(BitWidth);
 2089   return APInt::getMaxValue(BitWidth);
lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
  398     return APInt::getMaxValue(BitWidth);
lib/Target/ARM/ARMCodeGenPrepare.cpp
  724       ConstantInt::get(SrcTy, APInt::getMaxValue(NumBits).getZExtValue());
lib/Transforms/InstCombine/InstCombineCompares.cpp
 1114                                    APInt::getMaxValue(C.getBitWidth()) - C);
 4630       APInt MaxVal = APInt::getMaxValue(MulWidth);
 4653       APInt MaxVal = APInt::getMaxValue(MulWidth);
 5728     UMax.convertFromAPInt(APInt::getMaxValue(IntWidth), false,
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
  727     APInt::getMaxValue(BitWidth);
lib/Transforms/Utils/LibCallsShrinkWrap.cpp
  434     if (D < 1.0f || D > APInt::getMaxValue(8).getZExtValue()) {
lib/Transforms/Utils/LoopUtils.cpp
 1027     APInt::getMaxValue(BitWidth);
tools/clang/lib/CodeGen/CGBuiltin.cpp
 1375           llvm::APInt::getMaxValue(ResultInfo.Width).zext(OpWidth);
tools/clang/lib/Frontend/InitPreprocessor.cpp
  170                                 : llvm::APInt::getMaxValue(TypeWidth);
tools/clang/lib/Lex/LiteralSupport.cpp
 1163   auto MaxVal = llvm::APInt::getMaxValue(StoreVal.getBitWidth());
tools/clang/lib/Sema/SemaOpenMP.cpp
13465                                         : llvm::APInt::getMaxValue(Size);
tools/clang/utils/TableGen/MveEmitter.cpp
  790         typehi = llvm::APInt::getMaxValue(IA.ArgType->sizeInBits());
tools/lldb/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp
 2949   llvm::APInt fail_value = llvm::APInt::getMaxValue(128);
tools/lldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp
 2260   llvm::APInt fail_value = llvm::APInt::getMaxValue(128);
unittests/IR/ConstantRangeTest.cpp
   69     APInt Min = APInt::getMaxValue(Bits);
  685     APInt Min = APInt::getMaxValue(Bits);
  721         APInt UMin = APInt::getMaxValue(Bits);
 1500             ConstantRange(APInt::getMaxValue(32) - 1,
 1517             ConstantRange(APInt::getMaxValue(32),
 1527             ConstantRange(APInt::getMinValue(32), APInt::getMaxValue(32)));
 2109       APInt MinUnsigned = APInt::getMaxValue(Bits);
 2204     APInt Min = APInt::getMaxValue(Bits);