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

References

include/llvm/Analysis/CFGPrinter.h
  143       OS << Case.getCaseValue()->getValue();
include/llvm/Analysis/ScalarEvolutionExpressions.h
   57     const APInt &getAPInt() const { return getValue()->getValue(); }
include/llvm/Analysis/TargetTransformInfoImpl.h
  625           bool signedElement = IntElement->getValue().isNegative();
  628             IntElement->getValue().getMinSignedBits() - 1;
  643       isSigned = CI->getValue().isNegative();
  644       return CI->getValue().getMinSignedBits() - 1;
  770               ConstIdx->getValue().sextOrTrunc(PtrSizeBits) * ElementSize;
include/llvm/Analysis/ValueLattice.h
  166       return cast<ConstantInt>(getConstant())->getValue();
  187       markConstantRange(ConstantRange(CI->getValue()));
  203       markConstantRange(ConstantRange(CI->getValue() + 1, CI->getValue()));
  203       markConstantRange(ConstantRange(CI->getValue() + 1, CI->getValue()));
include/llvm/CodeGen/BasicTTIImpl.h
  348     APInt MaxCaseVal = SI.case_begin()->getCaseValue()->getValue();
  351       const APInt &CaseVal = CI.getCaseValue()->getValue();
include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
  277         Value = State.MIs[InsnID]->getOperand(1).getCImm()->getValue();
include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
   85             DstReg, CstVal.getCImm()->getValue().sext(DstTy.getSizeInBits()));
  126             DstReg, CstVal.getCImm()->getValue().zext(DstTy.getSizeInBits()));
  176             DstReg, CstVal.getCImm()->getValue().trunc(DstTy.getSizeInBits()));
include/llvm/CodeGen/SelectionDAGNodes.h
 1587   const APInt &getAPIntValue() const { return Value->getValue(); }
include/llvm/IR/PatternMatch.h
  159       Res = &CI->getValue();
  165           Res = &CI->getValue();
  203       const APInt &CIV = CI->getValue();
  226       return this->isValue(CI->getValue());
  230           return this->isValue(CI->getValue());
  243           if (!CI || !this->isValue(CI->getValue()))
  263       if (this->isValue(CI->getValue())) {
  264         Res = &CI->getValue();
  270           if (this->isValue(CI->getValue())) {
  271             Res = &CI->getValue();
  637       if (CV->getValue().ule(UINT64_MAX)) {
  658     return CI && APInt::isSameValue(CI->getValue(), Val);
lib/Analysis/BasicAliasAnalysis.cpp
  296     Offset += Const->getValue().zextOrSelf(Offset.getBitWidth());
  306       APInt RHS = RHSC->getValue().zextOrSelf(Offset.getBitWidth());
  318         if (!MaskedValueIsZero(BOp->getOperand(0), RHSC->getValue(), DL, 0, AC,
  560             CIdx->getValue().sextOrSelf(MaxPointerSize))
 1118     if (C1->getValue().sextOrSelf(BitWidth) ==
 1119         C2->getValue().sextOrSelf(BitWidth))
 1204   if (C1->getValue().getActiveBits() > 64 ||
 1205       C2->getValue().getActiveBits() > 64)
lib/Analysis/BranchProbabilityInfo.cpp
  285     assert(Weight->getValue().getActiveBits() <= 32 &&
  686         if (AndRHS->getValue().isPowerOf2())
lib/Analysis/ConstantFolding.cpp
   86     Result |= ElementCI->getValue().zextOrSelf(Result.getBitWidth());
  903         BasePtr = Base->getValue().zextOrTrunc(BitWidth);
 1674     C = &CI->getValue();
 1967       return ConstantInt::get(Ty->getContext(), Op->getValue().byteSwap());
 1969       return ConstantInt::get(Ty, Op->getValue().countPopulation());
 1971       return ConstantInt::get(Ty->getContext(), Op->getValue().reverseBits());
 1973       APFloat Val(APFloat::IEEEhalf(), Op->getValue());
 2227       cast<ConstantInt>(Operands[1])->getValue() == 4) {
 2314           APInt Lhs = Op1->getValue();
 2315           APInt Rhs = Op2->getValue();
 2316           unsigned Scale = Op3->getValue().getZExtValue();
lib/Analysis/InlineCost.cpp
  412     Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize;
 1796       ConstantOffsetPtrs[&*FAI] = std::make_pair(PtrArg, C->getValue());
lib/Analysis/InstructionSimplify.cpp
 1042     (void)C1->getValue().umul_ov(C2->getValue(), Overflow);
 1042     (void)C1->getValue().umul_ov(C2->getValue(), Overflow);
 1178     if (CI->getValue().getLimitedValue() >=
 2394         const APInt &LHSOffsetValue = LHSOffsetCI->getValue();
 2395         const APInt &RHSOffsetValue = RHSOffsetCI->getValue();
 2793       if (RHSC->getValue().isStrictlyPositive()) {
 2803       if (RHSC->getValue().isNonNegative()) {
 2900     const APInt *CI2Val, *CIVal = &CI->getValue();
 3315             return CI->getValue().isNegative() ?
 3321             return CI->getValue().isNegative() ?
 3367             return CI->getValue().isNegative() ?
 3372             return CI->getValue().isNegative() ?
 4223     if (IdxC->getValue().uge(Vec->getType()->getVectorNumElements()))
lib/Analysis/LazyValueInfo.cpp
  961         return ConstantInt::get(A->getType(), A->getValue() + B->getValue());
  961         return ConstantInt::get(A->getType(), A->getValue() + B->getValue());
 1233       RHSRange = ConstantRange(CI->getValue());
 1245       TrueValues = TrueValues.subtract(Offset->getValue());
 1359       return ValueLatticeElement::getRange(ConstantRange(C->getValue()));
 1370       return ValueLatticeElement::getRange(ConstantRange(C->getValue()));
 1472       APInt CaseValue = Case.getCaseValue()->getValue();
 1789       if (!CR.contains(CI->getValue()))
 1795       if (!CR.contains(CI->getValue()))
 1803           (ICmpInst::Predicate)Pred, CI->getValue());
lib/Analysis/Lint.cpp
  340         if (Len->getValue().isIntN(32))
  341           Size = LocationSize::precise(Len->getValue().getZExtValue());
  531     Assert(CI->getValue().ult(cast<IntegerType>(I.getType())->getBitWidth()),
  538     Assert(CI->getValue().ult(cast<IntegerType>(I.getType())->getBitWidth()),
  545     Assert(CI->getValue().ult(cast<IntegerType>(I.getType())->getBitWidth()),
  629     Assert(CI->getValue().ult(I.getVectorOperandType()->getNumElements()),
  636     Assert(CI->getValue().ult(I.getType()->getNumElements()),
lib/Analysis/LoopUnrollAnalyzer.cpp
  120   if (SimplifiedAddrOp->getValue().getActiveBits() > 64)
lib/Analysis/MemoryBuiltins.cpp
  641     APInt NumElems = C->getValue();
  682       APInt MaxSize = Arg->getValue().zextOrSelf(IntTyBits);
  693   APInt Size = Arg->getValue();
  705   APInt NumElems = Arg->getValue();
lib/Analysis/MemoryLocation.cpp
   96     Size = LocationSize::precise(C->getValue().getZExtValue());
  117     Size = LocationSize::precise(C->getValue().getZExtValue());
lib/Analysis/ScalarEvolution.cpp
 4523       if (RHSC->getValue().isSignMask())
 4536       if (SA->getValue().ult(BitWidth)) {
 6254         const APInt &A = CI->getValue();
 6307         const APInt &CIVal = CI->getValue();
 6337                 LCI->getValue() == CI->getValue())
 6337                 LCI->getValue() == CI->getValue())
 6348                 if (CI->getValue().isMask(Z0TySize))
 6354                 APInt Trunc = CI->getValue().trunc(Z0TySize);
 6355                 if (Trunc.zext(getTypeSizeInBits(UTy)) == CI->getValue() &&
 6372         if (SA->getValue().uge(BitWidth))
 6382         if (BO->Op && SA->getValue().ult(BitWidth - 1))
 6403       if (CI->getValue().uge(BitWidth))
 6426         if (ShlAmtCI && ShlAmtCI->getValue().ult(BitWidth)) {
 6519   if (ExitConst->getValue().getActiveBits() > 32)
 6595   if (!Result || Result->getValue().getActiveBits() > 32 ||
 6596       Result->getValue().getActiveBits() == 0)
 7558     if (cast<ConstantInt>(Result)->getValue().isMinValue()) {
 7597     return ShiftAmt->getValue().isStrictlyPositive();
 7993     if (CondVal->getValue() == uint64_t(ExitWhen)) {
 8620       if (Range.contains(V0->getValue()))
 8625       if (Range.contains(V1->getValue()))
10848     if (Range.contains(Val->getValue()))
10854            ConstantInt::get(SE.getContext(), ExitVal - 1), SE)->getValue()) &&
12314       if (Step->getValue()->getValue().isNonNegative())
lib/Analysis/TargetTransformInfo.cpp
  541     if (CI->getValue().isPowerOf2())
  562         if (CI->getValue().isPowerOf2())
  568           if (CI->getValue().isPowerOf2())
lib/Analysis/TypeBasedAliasAnalysis.cpp
  185     return CI->getValue()[0];
  249     return CI->getValue()[0];
lib/Analysis/ValueTracking.cpp
  258     return CI->getValue().isStrictlyPositive();
  452     ConstantRange Range(Lower->getValue(), Upper->getValue());
  452     ConstantRange Range(Lower->getValue(), Upper->getValue());
 1235       APInt RA = Rem->getValue().abs();
 1269       const APInt &RA = Rem->getValue();
 1688       const APInt &Elt = ElementCI->getValue();
 1987     ConstantRange Range(Lower->getValue(), Upper->getValue());
 1987     ConstantRange Range(Lower->getValue(), Upper->getValue());
 2351     MinSignBits = std::min(MinSignBits, Elt->getValue().getNumSignBits());
 2721       APInt Op1Int = Op1CI->getValue();
 2745         if (Mul0CI->getValue() == 1) {
 2769         if (Mul1CI->getValue() == 1) {
 3237       if (!CI->getValue().isSplat(8))
 3239       return ConstantInt::get(Ctx, CI->getValue().trunc(8));
 5256       ConstantRange::makeExactICmpRegion(APred, C1->getValue());
 5258       ConstantRange::makeAllowedICmpRegion(BPred, C2->getValue());
lib/Bitcode/Writer/BitcodeWriter.cpp
 2356         unsigned NWords = IV->getValue().getActiveWords();
 2357         const uint64_t *RawWords = IV->getValue().getRawData();
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  876     MI->getOperand(0).getCImm()->getValue().print(OS, false /*isSigned*/);
 2346     APInt Value = CI->getValue().zextOrSelf(Size);
 2527   APInt Realigned(CI->getValue());
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
  539   addConstantValue(Die, CI->getValue(), Ty);
lib/CodeGen/CodeGenPrepare.cpp
 1512     const APInt &Cimm = cast<ConstantInt>(User->getOperand(1))->getValue();
 3753     if (Cst && !Cst->getValue().isAllOnesValue())
 3777             Cst->getValue().isIntN(Inst->getType()->getIntegerBitWidth()))
 3959       APInt CstVal = IsSExt ? Cst->getValue().sext(BitWidth)
 3960                             : Cst->getValue().zext(BitWidth);
 4143           const APInt &CVal = CI->getValue();
 5743       APInt AndBits = AndC->getValue();
 5815     if (cast<ConstantInt>(And->getOperand(1))->getValue() == DemandBits) {
 6259     APInt NarrowConst = Case.getCaseValue()->getValue();
 6835   if (TTI->getIntImmCost(GEPIIdx->getValue(), GEPIIdx->getType())
 6884     if (TTI->getIntImmCost(UGEPIIdx->getValue(), UGEPIIdx->getType())
 6894     APInt NewIdx = UGEPIIdx->getValue() - GEPIIdx->getValue();
 6894     APInt NewIdx = UGEPIIdx->getValue() - GEPIIdx->getValue();
 6905                          UGEPIIdx->getValue() - GEPIIdx->getValue());
 6905                          UGEPIIdx->getValue() - GEPIIdx->getValue());
lib/CodeGen/GlobalISel/IRTranslator.cpp
  479       C.Low->getValue().print(dbgs(), true);
  482         C.High->getValue().print(dbgs(), true);
  596     const APInt& Low = cast<ConstantInt>(CB.CmpLHS)->getValue();
  597     const APInt& High = cast<ConstantInt>(CB.CmpRHS)->getValue();
  769                             : a.Low->getValue().slt(b.Low->getValue());
  769                             : a.Low->getValue().slt(b.Low->getValue());
 1902       APInt NewIdx = CI->getValue().sextOrTrunc(PreferredVecIdxWidth);
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  630     const APInt &Val = MI.getOperand(1).getCImm()->getValue();
 1678     const APInt &Val = SrcMO.getCImm()->getValue().sext(WideTy.getSizeInBits());
 3161         MI, KShiftAmt->getOperand(1).getCImm()->getValue(), HalfTy, ShiftAmtTy);
lib/CodeGen/GlobalISel/Utils.cpp
  237                                  : CstVal.getCImm()->getValue();
lib/CodeGen/InterleavedLoadCombinePass.cpp
  920       Result.add(C->getValue());
  928       Result.lshr(C->getValue());
lib/CodeGen/SelectionDAG/FastISel.cpp
  406     if (CI->getValue().getActiveBits() <= 64)
  711         uint64_t IdxN = CI->getValue().sextOrTrunc(64).getSExtValue();
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
  441     APInt Val = CI->getValue().zextOrTrunc(BitWidth);
  474       APInt Val = CI->getValue().zextOrTrunc(BitWidth);
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 1211    APInt NewVal = Elt->getValue().zextOrTrunc(EltVT.getSizeInBits());
 1223     const APInt &NewVal = Elt->getValue();
 2944                 const APInt &Value = CInt->getValue();
 2962             const APInt &Value = CInt->getValue();
 3913                   const APInt &Value = CInt->getValue();
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 2356     const APInt& Low = cast<ConstantInt>(CB.CmpLHS)->getValue();
 2357     const APInt& High = cast<ConstantInt>(CB.CmpRHS)->getValue();
 3497     setValue(&I, DAG.getConstant(C->getValue(), dl, DestVT, /*isTarget=*/false,
 3888         APInt Offs = ElementSize * CI->getValue().sextOrTrunc(IdxSize);
10068       const APInt &SmallValue = Small.Low->getValue();
10069       const APInt &BigValue = Big.Low->getValue();
10119              a.Low->getValue().slt(b.Low->getValue());
10119              a.Low->getValue().slt(b.Low->getValue());
10286     return X.Low->getValue().slt(CC.Low->getValue());
10286     return X.Low->getValue().slt(CC.Low->getValue());
10294   assert(W.FirstCluster->Low->getValue().slt(W.LastCluster->Low->getValue()) &&
10294   assert(W.FirstCluster->Low->getValue().slt(W.LastCluster->Low->getValue()) &&
10386       (FirstLeft->High->getValue() + 1LL) == Pivot->getValue()) {
10386       (FirstLeft->High->getValue() + 1LL) == Pivot->getValue()) {
10402       W.LT && (FirstRight->High->getValue() + 1ULL) == W.LT->getValue()) {
10402       W.LT && (FirstRight->High->getValue() + 1ULL) == W.LT->getValue()) {
10543       C.Low->getValue().print(dbgs(), true);
10546         C.High->getValue().print(dbgs(), true);
lib/CodeGen/SwitchLoweringUtils.cpp
   23   const APInt &LowCase = Clusters[First].Low->getValue();
   24   const APInt &HighCase = Clusters[Last].High->getValue();
   52     assert(Clusters[i - 1].High->getValue().slt(Clusters[i].Low->getValue()));
   52     assert(Clusters[i - 1].High->getValue().slt(Clusters[i].Low->getValue()));
   70     const APInt &Hi = Clusters[i].High->getValue();
   71     const APInt &Lo = Clusters[i].Low->getValue();
  204     const APInt &Low = Clusters[I].Low->getValue();
  205     const APInt &High = Clusters[I].High->getValue();
  209       const APInt &PreviousHigh = Clusters[I - 1].High->getValue();
  223                                  Clusters[First].Low->getValue(),
  224                                  Clusters[Last].High->getValue(), *DL)) {
  250   JumpTableHeader JTH(Clusters[First].Low->getValue(),
  251                       Clusters[Last].High->getValue(), SI->getCondition(),
  272     assert(Clusters[i-1].High->getValue().slt(Clusters[i].Low->getValue()));
  272     assert(Clusters[i-1].High->getValue().slt(Clusters[i].Low->getValue()));
  311       if (!TLI->rangeFitsInWord(Clusters[i].Low->getValue(),
  312                                 Clusters[j].High->getValue(), *DL))
  376   APInt Low = Clusters[First].Low->getValue();
  377   APInt High = Clusters[Last].High->getValue();
  394     if (Clusters[I].Low->getValue() != Clusters[I - 1].High->getValue() + 1) {
  394     if (Clusters[I].Low->getValue() != Clusters[I - 1].High->getValue() + 1) {
  425     uint64_t Lo = (Clusters[i].Low->getValue() - LowBound).getZExtValue();
  426     uint64_t Hi = (Clusters[i].High->getValue() - LowBound).getZExtValue();
  466     return a.Low->getValue().slt(b.Low->getValue());
  466     return a.Low->getValue().slt(b.Low->getValue());
  478         (CaseVal->getValue() - Clusters[DstIndex - 1].High->getValue()) == 1) {
  478         (CaseVal->getValue() - Clusters[DstIndex - 1].High->getValue()) == 1) {
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
 1617     return APIntToHexString(CI->getValue());
lib/ExecutionEngine/ExecutionEngine.cpp
  902     Result.IntVal = cast<ConstantInt>(C)->getValue();
  993                                             CV->getOperand(i))->getValue();
lib/IR/AsmWriter.cpp
 1298     Out << CI->getValue();
lib/IR/BasicBlock.cpp
  486       return Optional<uint64_t>(CI->getValue().getZExtValue());
lib/IR/ConstantFold.cpp
  175                                      CI->getValue()));
  224     APInt V = CI->getValue();
  271     APInt ShAmt = Amt->getValue();
  294     APInt ShAmt = Amt->getValue();
  684       const APInt &api = CI->getValue();
  696                               CI->getValue().zext(BitWidth));
  703                               CI->getValue().sext(BitWidth));
  713                               CI->getValue().trunc(DestBitWidth));
 1139           if ((PossiblySetBits & CI2->getValue()) == PossiblySetBits)
 1178             if ((CI2->getValue() & BitsNotSet) == CI2->getValue())
 1178             if ((CI2->getValue() & BitsNotSet) == CI2->getValue())
 1221       const APInt &C1V = CI1->getValue();
 1222       const APInt &C2V = CI2->getValue();
 1411   if (cast<ConstantInt>(C1)->getValue().getActiveBits() > 64 ||
 1412       cast<ConstantInt>(C2)->getValue().getActiveBits() > 64)
 1862     const APInt &V1 = cast<ConstantInt>(C1)->getValue();
 1863     const APInt &V2 = cast<ConstantInt>(C2)->getValue();
 2151   if (CI->getValue().getMinSignedBits() > 64)
lib/IR/ConstantRange.cpp
 1502   ConstantRange CR(FirstLow->getValue(), FirstHigh->getValue());
 1502   ConstantRange CR(FirstLow->getValue(), FirstHigh->getValue());
 1510     CR = CR.unionWith(ConstantRange(Low->getValue(), High->getValue()));
 1510     CR = CR.unionWith(ConstantRange(Low->getValue(), High->getValue()));
lib/IR/Constants.cpp
  379     if (CI->getValue().getActiveBits() > 64)
 1197                 (CI->getValue().getActiveBits() > 64 ||
 1422     return CI->getValue();
 1426   return cast<ConstantInt>(C)->getValue();
lib/IR/Function.cpp
 1553         uint64_t Count = CI->getValue().getZExtValue();
 1562         uint64_t Count = CI->getValue().getZExtValue();
 1576                        ->getValue()
lib/IR/Instructions.cpp
  493                        ->getValue()
  505                     ->getValue()
 3931     uint32_t CW = C->getValue().getZExtValue();
 4009           ->getValue()
lib/IR/MDBuilder.cpp
  293   if (!mdconst::extract<ConstantInt>(ImmutabilityFlagNode)->getValue())
lib/IR/Metadata.cpp
  950   ConstantRange NewRange(Low->getValue(), High->getValue());
  950   ConstantRange NewRange(Low->getValue(), High->getValue());
  952   APInt LB = EndPoints[Size - 2]->getValue();
  953   APInt LE = EndPoints[Size - 1]->getValue();
  999     if (ALow->getValue().slt(BLow->getValue())) {
  999     if (ALow->getValue().slt(BLow->getValue())) {
 1037     ConstantRange Range(EndPoints[0]->getValue(), EndPoints[1]->getValue());
 1037     ConstantRange Range(EndPoints[0]->getValue(), EndPoints[1]->getValue());
 1330   TrueVal = CITrue->getValue().getZExtValue();
 1331   FalseVal = CIFalse->getValue().getZExtValue();
 1359       TotalVal += V->getValue().getZExtValue();
 1365                    ->getValue()
 1460           OffsetConst->getType(), OffsetConst->getValue() + Offset));
lib/IR/Operator.cpp
   57     APInt Index = OpC->getValue().sextOrTrunc(Offset.getBitWidth());
lib/IR/Verifier.cpp
 3341     APInt HighV = High->getValue();
 3342     APInt LowV = Low->getValue();
 3358         mdconst::dyn_extract<ConstantInt>(Range->getOperand(0))->getValue();
 3360         mdconst::dyn_extract<ConstantInt>(Range->getOperand(1))->getValue();
 4373     const APInt &ElementSizeVal = ElementSizeCI->getValue();
 4619     Assert(Alignment->getValue().isPowerOf2(),
 4640     Assert(Alignment->getValue().isPowerOf2(),
 5310         !PrevOffset || PrevOffset->ule(OffsetEntryCI->getValue());
 5317     PrevOffset = OffsetEntryCI->getValue();
 5393     if (OffsetEntryCI->getValue().ugt(Offset)) {
 5403       Offset -= PrevOffsetEntryCI->getValue();
 5411   Offset -= LastOffsetEntryCI->getValue();
 5489   APInt Offset = OffsetCI->getValue();
lib/Target/AArch64/AArch64FastISel.cpp
  569       if (C->getValue().isPowerOf2())
  572       if (C->getValue().isPowerOf2())
  763           if (C->getValue() == 0xffffffff)
  767           if (C->getValue() == 0xffffffff) {
  798       if (C->getValue().isPowerOf2())
  803     unsigned Val = C->getValue().logBase2();
  858       if (C->getValue() == 0xffffffff)
  862       if (C->getValue() == 0xffffffff) {
 1258         if (C->getValue().isPowerOf2())
 1262       uint64_t ShiftVal = cast<ConstantInt>(MulRHS)->getValue().logBase2();
 1644         if (C->getValue().isPowerOf2())
 1648       uint64_t ShiftVal = cast<ConstantInt>(MulRHS)->getValue().logBase2();
 2344           if (C->getValue().isPowerOf2())
 2348           if (C->getValue().isPowerOf2()) {
 2349             TestBit = C->getValue().logBase2();
 2372     if (cast<ConstantInt>(RHS)->getValue() != APInt(BW, -1, true))
 3417       if (C->getValue() == 2)
 3422       if (C->getValue() == 2)
 3709         if (C->getValue() == 2) {
 3716         if (C->getValue() == 2) {
 4689     if (C->getValue().isPowerOf2())
 4694     if (C->getValue().isPowerOf2()) {
 4695       uint64_t ShiftVal = C->getValue().logBase2();
 4927   const APInt &C = cast<ConstantInt>(I->getOperand(1))->getValue();
lib/Target/AArch64/AArch64ISelLowering.cpp
12344   return Mask->getValue().isPowerOf2();
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  952       if (Lower->getValue().isNullValue()) {
  956           ConstantAsMetadata::get(ConstantInt::get(I32Ty, Lower->getValue().zext(32))),
lib/Target/ARM/ARMCodeGenPrepare.cpp
  371   APInt Total = ICmpConst->getValue().getBitWidth() < 32 ?
  372     ICmpConst->getValue().zext(32) : ICmpConst->getValue();
  372     ICmpConst->getValue().zext(32) : ICmpConst->getValue();
  374   Total += OverflowConst->getValue().getBitWidth() < 32 ?
  375     OverflowConst->getValue().abs().zext(32) : OverflowConst->getValue().abs();
  375     OverflowConst->getValue().abs().zext(32) : OverflowConst->getValue().abs();
  488     auto *NewConst = ConstantInt::get(Ctx, Const->getValue().abs());
lib/Target/ARM/ARMFastISel.cpp
 1373       const APInt &CIVal = ConstInt->getValue();
 1634     Imm = (int)ConstInt->getValue().getZExtValue();
lib/Target/ARM/ARMTargetTransformInfo.cpp
  528   const unsigned Size = C->getValue().getZExtValue();
lib/Target/ARM/MVETailPredication.cpp
  329       if (Const->getAPInt() != -VF->getValue())
  354         if (Const->getAPInt() != (VF->getValue() - 1))
lib/Target/BPF/BPFAbstractMemberAccess.cpp
  508   return CV->getValue().getZExtValue();
lib/Target/Hexagon/BitTracker.cpp
  423   const APInt &A = CI->getValue();
lib/Target/Hexagon/HexagonCommonGEP.cpp
  214     int64_t i = CI->getValue().getSExtValue();
  250       OS << CI->getValue().getSExtValue();
lib/Target/Hexagon/HexagonConstPropagation.cpp
 1089   Val = CI->getValue();
lib/Target/Hexagon/HexagonGenExtract.cpp
  178   APInt M = CM->getValue().lshr(SL);
lib/Target/Hexagon/HexagonISelLowering.cpp
 2110       Consts[i] = ConstantInt::get(IntTy, CI->getValue().getSExtValue());
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 1266     return C->getValue().countLeadingZeros() >= IterCount;
lib/Target/Mips/MipsInstructionSelector.cpp
  405         APInt OffsetValue = Offset->getOperand(1).getCImm()->getValue();
  471                              I.getOperand(1).getCImm()->getValue(), B))
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
 1713     O << CI->getValue();
 1921     APInt Val = CI->getValue();
lib/Target/PowerPC/PPCFastISel.cpp
  846       const APInt &CIVal = ConstInt->getValue();
 1306     const APInt &CIVal = ConstInt->getValue();
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
  587         const APInt &ConstInt = StepConst->getValue()->getValue();
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
  388           (CVal->getValue().isPowerOf2() || (-CVal->getValue()).isPowerOf2()))
  388           (CVal->getValue().isPowerOf2() || (-CVal->getValue()).isPowerOf2()))
lib/Target/X86/X86ISelLowering.cpp
 6034       Mask = CInt->getValue();
lib/Target/X86/X86MCInstLower.cpp
 1735     printConstant(CI->getValue(), CS);
lib/Target/X86/X86ShuffleDecodeConstantPool.cpp
   71       RawMask[i] = Elt->getValue().getZExtValue();
   91     MaskBits.insertBits(cast<ConstantInt>(COp)->getValue(), BitOffset);
lib/Transforms/Coroutines/CoroFrame.cpp
  454         Count = CI->getValue().getZExtValue();
  626         auto Count = CI->getValue().getZExtValue();
lib/Transforms/Coroutines/CoroInstr.h
   50     int64_t Index = getRawIndex()->getValue().getSExtValue();
lib/Transforms/IPO/Attributor.cpp
 3576         APInt TotalSize = SizeT->getValue() * Num->getValue();
 3576         APInt TotalSize = SizeT->getValue() * Num->getValue();
 3720         if (Size->getValue().sle(MaxHeapToStackSize))
 3729           if ((Size->getValue().umul_ov(Num->getValue(), Overflow))
 3729           if ((Size->getValue().umul_ov(Num->getValue(), Overflow))
lib/Transforms/IPO/GlobalOpt.cpp
 1650   if (CI && CI->getValue().getActiveBits() <= 64) {
 1654     if (CIInit && CIInit->getValue().getActiveBits() <= 64) {
lib/Transforms/InstCombine/InstCombineAddSub.cpp
 1231       const APInt &RHSVal = CI->getValue();
 1235       if (XorRHS->getValue() == -RHSVal) {
 1238         else if (XorRHS->getValue().isPowerOf2())
 1239           ExtendAmt = TySizeBits - XorRHS->getValue().logBase2() - 1;
 1256       if (LHS->hasOneUse() && (XorRHS->getValue()+1).isPowerOf2()) {
 1258         if ((XorRHS->getValue() | LHSKnown.Zero).isAllOnesValue())
 1264       if (XorRHS->getValue().isSignMask())
 1328         CRHS->getValue() == (CRHS->getValue() & C2->getValue())) {
 1328         CRHS->getValue() == (CRHS->getValue() & C2->getValue())) {
 1328         CRHS->getValue() == (CRHS->getValue() & C2->getValue())) {
 1331       const APInt &AddRHSV = CRHS->getValue();
 1337       APInt AddRHSHighBitsAnd(AddRHSHighBits & C2->getValue());
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  130       const APInt &AndRHSV = AndRHS->getValue();
  137         const APInt& AddRHS = OpRHS->getValue();
  236   bool IsAPow2 = (ACst && !ACst->isZero() && ACst->getValue().isPowerOf2());
  237   bool IsBPow2 = (BCst && !BCst->isZero() && BCst->getValue().isPowerOf2());
  480   if (BCst->getValue() == 0 || DCst->getValue() == 0)
  480   if (BCst->getValue() == 0 || DCst->getValue() == 0)
  487   if ((BCst->getValue() & DCst->getValue()) == 0)
  487   if ((BCst->getValue() & DCst->getValue()) == 0)
  506   if ((((BCst->getValue() & DCst->getValue()) & ECst->getValue()) == 0) &&
  506   if ((((BCst->getValue() & DCst->getValue()) & ECst->getValue()) == 0) &&
  506   if ((((BCst->getValue() & DCst->getValue()) & ECst->getValue()) == 0) &&
  507       (BCst->getValue() & (BCst->getValue() ^ DCst->getValue())).isPowerOf2()) {
  507       (BCst->getValue() & (BCst->getValue() ^ DCst->getValue())).isPowerOf2()) {
  507       (BCst->getValue() & (BCst->getValue() ^ DCst->getValue())).isPowerOf2()) {
  508     APInt BorD = BCst->getValue() | DCst->getValue();
  508     APInt BorD = BCst->getValue() | DCst->getValue();
  509     APInt BandBxorDorE = (BCst->getValue() & (BCst->getValue() ^ DCst->getValue())) |
  509     APInt BandBxorDorE = (BCst->getValue() & (BCst->getValue() ^ DCst->getValue())) |
  509     APInt BandBxorDorE = (BCst->getValue() & (BCst->getValue() ^ DCst->getValue())) |
  510         ECst->getValue();
  518     return (C1->getValue() & C2->getValue()) == C1->getValue();
  518     return (C1->getValue() & C2->getValue()) == C1->getValue();
  518     return (C1->getValue() & C2->getValue()) == C1->getValue();
  521     return (C1->getValue() & C2->getValue()) == C2->getValue();
  521     return (C1->getValue() & C2->getValue()) == C2->getValue();
  521     return (C1->getValue() & C2->getValue()) == C2->getValue();
  559   if ((BCst->getValue() & ECst->getValue()) != 0)
  559   if ((BCst->getValue() & ECst->getValue()) != 0)
  690     APInt NewMask = BCst->getValue() & DCst->getValue();
  690     APInt NewMask = BCst->getValue() & DCst->getValue();
  692     if (NewMask == BCst->getValue())
  694     else if (NewMask == DCst->getValue())
  703     APInt NewMask = BCst->getValue() | DCst->getValue();
  703     APInt NewMask = BCst->getValue() | DCst->getValue();
  705     if (NewMask == BCst->getValue())
  707     else if (NewMask == DCst->getValue())
  735     if (((BCst->getValue() & DCst->getValue()) &
  735     if (((BCst->getValue() & DCst->getValue()) &
  736          (CCst->getValue() ^ ECst->getValue())).getBoolValue())
  736          (CCst->getValue() ^ ECst->getValue())).getBoolValue())
 1209     if ((PredL == ICmpInst::ICMP_ULT && LHSC->getValue().isPowerOf2()) ||
 1242       if ((Low & AndC->getValue()).isNullValue() &&
 1243           (Low & BigC->getValue()).isNullValue()) {
 1244         Value *NewAnd = Builder.CreateAnd(V, Low | AndC->getValue());
 1245         APInt N = SmallC->getValue().zext(BigBitSize) | BigC->getValue();
 1245         APInt N = SmallC->getValue().zext(BigBitSize) | BigC->getValue();
 1272     ShouldSwap = LHSC->getValue().sgt(RHSC->getValue());
 1272     ShouldSwap = LHSC->getValue().sgt(RHSC->getValue());
 1274     ShouldSwap = LHSC->getValue().ugt(RHSC->getValue());
 1274     ShouldSwap = LHSC->getValue().ugt(RHSC->getValue());
 1299       if (LHSC->getValue() == (RHSC->getValue() - 1))
 1299       if (LHSC->getValue() == (RHSC->getValue() - 1))
 1302         return insertRangeTest(LHS0, LHSC->getValue() + 1, RHSC->getValue(),
 1302         return insertRangeTest(LHS0, LHSC->getValue() + 1, RHSC->getValue(),
 1307       if (LHSC->getValue() == (RHSC->getValue() - 1))
 1307       if (LHSC->getValue() == (RHSC->getValue() - 1))
 1311         return insertRangeTest(LHS0, LHSC->getValue() + 1, RHSC->getValue(),
 1311         return insertRangeTest(LHS0, LHSC->getValue() + 1, RHSC->getValue(),
 1325       if (RHSC->getValue() == (LHSC->getValue() + 1))
 1325       if (RHSC->getValue() == (LHSC->getValue() + 1))
 1329         return insertRangeTest(LHS0, LHSC->getValue() + 1, RHSC->getValue(),
 1329         return insertRangeTest(LHS0, LHSC->getValue() + 1, RHSC->getValue(),
 1333       return insertRangeTest(LHS0, LHSC->getValue() + 1, RHSC->getValue(),
 1333       return insertRangeTest(LHS0, LHSC->getValue() + 1, RHSC->getValue(),
 1343       if (RHSC->getValue() == (LHSC->getValue() + 1))
 1343       if (RHSC->getValue() == (LHSC->getValue() + 1))
 1347         return insertRangeTest(LHS0, LHSC->getValue() + 1, RHSC->getValue(),
 1347         return insertRangeTest(LHS0, LHSC->getValue() + 1, RHSC->getValue(),
 1351       return insertRangeTest(LHS0, LHSC->getValue() + 1, RHSC->getValue(), true,
 1351       return insertRangeTest(LHS0, LHSC->getValue() + 1, RHSC->getValue(), true,
 1809     const APInt &AndRHSMask = AndRHS->getValue();
 2215       LHSC->getValue() == (RHSC->getValue())) {
 2215       LHSC->getValue() == (RHSC->getValue())) {
 2224         LAddC->getValue().ugt(LHSC->getValue()) &&
 2224         LAddC->getValue().ugt(LHSC->getValue()) &&
 2225         RAddC->getValue().ugt(LHSC->getValue())) {
 2225         RAddC->getValue().ugt(LHSC->getValue())) {
 2227       APInt DiffC = LAddC->getValue() ^ RAddC->getValue();
 2227       APInt DiffC = LAddC->getValue() ^ RAddC->getValue();
 2230         if (LAddC->getValue().ult(RAddC->getValue()))
 2230         if (LAddC->getValue().ult(RAddC->getValue()))
 2235         APInt RRangeLow = -RAddC->getValue();
 2236         APInt RRangeHigh = RRangeLow + LHSC->getValue();
 2237         APInt LRangeLow = -LAddC->getValue();
 2238         APInt LRangeHigh = LRangeLow + LHSC->getValue();
 2245             RangeDiff.ugt(LHSC->getValue())) {
 2340       if (RHSC->getValue() + AddC->getValue() == LHSC->getValue())
 2340       if (RHSC->getValue() + AddC->getValue() == LHSC->getValue())
 2340       if (RHSC->getValue() + AddC->getValue() == LHSC->getValue())
 2364     ShouldSwap = LHSC->getValue().sgt(RHSC->getValue());
 2364     ShouldSwap = LHSC->getValue().sgt(RHSC->getValue());
 2366     ShouldSwap = LHSC->getValue().ugt(RHSC->getValue());
 2366     ShouldSwap = LHSC->getValue().ugt(RHSC->getValue());
 2395         return insertRangeTest(LHS0, LHSC->getValue() + 1, RHSC->getValue() + 1,
 2395         return insertRangeTest(LHS0, LHSC->getValue() + 1, RHSC->getValue() + 1,
 2402         return insertRangeTest(LHS0, LHSC->getValue() + 1, RHSC->getValue() + 1,
 2402         return insertRangeTest(LHS0, LHSC->getValue() + 1, RHSC->getValue() + 1,
 2415         return insertRangeTest(LHS0, LHSC->getValue(), RHSC->getValue(),
 2415         return insertRangeTest(LHS0, LHSC->getValue(), RHSC->getValue(),
 2420       return insertRangeTest(LHS0, LHSC->getValue(), RHSC->getValue() + 1,
 2420       return insertRangeTest(LHS0, LHSC->getValue(), RHSC->getValue() + 1,
 2431         return insertRangeTest(LHS0, LHSC->getValue(), RHSC->getValue(),
 2431         return insertRangeTest(LHS0, LHSC->getValue(), RHSC->getValue(),
 2437       return insertRangeTest(LHS0, LHSC->getValue(), RHSC->getValue() + 1, true,
 2437       return insertRangeTest(LHS0, LHSC->getValue(), RHSC->getValue() + 1, true,
 2503       if ((C1->getValue() & C2->getValue()).isNullValue()) {
 2503       if ((C1->getValue() & C2->getValue()).isNullValue()) {
 2508               MaskedValueIsZero(V2, ~C1->getValue(), 0, &I)) || // (V|N)
 2510               MaskedValueIsZero(V1, ~C1->getValue(), 0, &I))))  // (N|V)
 2512                                 Builder.getInt(C1->getValue()|C2->getValue()));
 2512                                 Builder.getInt(C1->getValue()|C2->getValue()));
 2516               MaskedValueIsZero(V2, ~C2->getValue(), 0, &I)) || // (V|N)
 2518               MaskedValueIsZero(V1, ~C2->getValue(), 0, &I))))  // (N|V)
 2520                                  Builder.getInt(C1->getValue()|C2->getValue()));
 2520                                  Builder.getInt(C1->getValue()|C2->getValue()));
 2526             (C3->getValue() & ~C1->getValue()).isNullValue() &&
 2526             (C3->getValue() & ~C1->getValue()).isNullValue() &&
 2528             (C4->getValue() & ~C2->getValue()).isNullValue()) {
 2528             (C4->getValue() & ~C2->getValue()).isNullValue()) {
 2531                                  Builder.getInt(C1->getValue()|C2->getValue()));
 2531                                  Builder.getInt(C1->getValue()|C2->getValue()));
 2535       if (C1->getValue() == ~C2->getValue()) {
 2535       if (C1->getValue() == ~C2->getValue()) {
 3139             APInt FoldConst = C1->getValue().lshr(C2->getValue());
 3139             APInt FoldConst = C1->getValue().lshr(C2->getValue());
 3140             FoldConst ^= C3->getValue();
lib/Transforms/InstCombine/InstCombineCalls.cpp
  178         mdconst::extract<ConstantInt>(M->getOperand(1))->getValue() ==
  378       Count |= SubElt->getValue().zextOrTrunc(64);
  382     Count = CInt->getValue();
  495     APInt ShiftVal = COp->getValue();
  746     APInt APIndex = CIIndex->getValue().zextOrTrunc(6);
  747     APInt APLength = CILength->getValue().zextOrTrunc(6);
  796       APInt Elt = CI0->getValue();
  886     APInt V00 = CI00->getValue();
  887     APInt V10 = CI10->getValue();
  942     int8_t Index = cast<ConstantInt>(COp)->getValue().getZExtValue();
  989     APInt Index = cast<ConstantInt>(COp)->getValue();
 2635       if (R->getValue() == 4) {
 2676       if (R->getValue() == 4) {
 2708         if (!C || !C->getValue()[0]) {
 2983       const APInt &V11 = CI11->getValue();
 3017       APInt Len = CILength->getValue().zextOrTrunc(6);
 3018       APInt Idx = CIIndex->getValue().zextOrTrunc(6);
 4241     const APInt &N = Op0C->getValue();
 4242     APInt Size = N.umul_ov(Op1C->getValue(), Overflow);
lib/Transforms/InstCombine/InstCombineCasts.cpp
  830       if (Cst->getValue().ult(DestSize)) {
  835           ConstantInt::get(DestTy, Cst->getValue().trunc(DestSize)));
 1252         ICI->isEquality() && (Op1C->isZero() || Op1C->getValue().isPowerOf2())){
 1260         if (!Op1C->isZero() && Op1C->getValue() != KnownZeroMask) {
lib/Transforms/InstCombine/InstCombineCompares.cpp
 1270   if (!CI2->getValue().isPowerOf2())
 1272   unsigned NewWidth = CI2->getValue().countTrailingZeros();
 1281       CI1->getValue() != APInt::getLowBitsSet(CI1->getBitWidth(), NewWidth))
 3824         const APInt &AP1 = C1->getValue();
 3825         const APInt &AP2 = C2->getValue();
 3827           APInt AP1Abs = C1->getValue().abs();
 3828           APInt AP2Abs = C2->getValue().abs();
 4139         Constant *NC = Builder.getInt(C1->getValue() ^ C2->getValue());
 4139         Constant *NC = Builder.getInt(C1->getValue() ^ C2->getValue());
 4201     APInt Pow2 = Cst1->getValue() + 1;
 4254       APInt CmpV = Cst1->getValue().zext(ASize);
 4578           const APInt &CVal = CI->getValue();
 4616       const APInt &CVal = CI->getValue() + 1;
 4632       if (MaxVal.eq(CI->getValue()))
 4643       if (MaxVal.eq(CI->getValue()))
 4655       if (MaxVal.eq(CI->getValue()))
 4666       if (MaxVal.eq(CI->getValue()))
 4707         APInt ShortMask = CI->getValue().trunc(MulWidth);
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  197     if (C->getValue().getActiveBits() <= 64) {
  801       if ((CS->getValue().zextOrSelf(128)*APInt(128, TypeSize)).ugt(MaxSize))
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  237       const APInt &   Val = CI->getValue();
lib/Transforms/InstCombine/InstCombinePHI.cpp
 1009       if (cast<ConstantInt>(UserI->getOperand(1))->getValue().uge(SizeInBits))
lib/Transforms/InstCombine/InstCombineShifts.cpp
  411     if (CI->getValue() == NumBits) {
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  300           ConstantInt::get(I->getType(), NewMask & AndRHS->getValue());
  305           ConstantInt::get(I->getType(), NewMask & XorRHS->getValue());
  606       APInt RA = Rem->getValue().abs();
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
  268     if (EEIIndexC && EEIIndexC->getValue().ult(VWidth)) {
  333     if (!IndexC->getValue().ule(NumElts))
lib/Transforms/InstCombine/InstructionCombining.cpp
 1214       APInt::sdivrem(CI->getValue(), Scale, Quotient, Remainder);
 1239           if (CI->getValue() == Scale) {
 2616         LeadingKnownZeros, C.getCaseValue()->getValue().countLeadingZeros());
 2618         LeadingKnownOnes, C.getCaseValue()->getValue().countLeadingOnes());
 2635       APInt TruncatedCase = Case.getCaseValue()->getValue().trunc(NewWidth);
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 1056     const uint64_t SizeValue = Size->getValue().getLimitedValue();
lib/Transforms/Instrumentation/BoundsChecking.cpp
   99   if ((!SizeCI || SizeCI->getValue().slt(0)) &&
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
  619   uint64_t TrueWt = TrueWeight->getValue().getZExtValue();
  620   uint64_t FalseWt = FalseWeight->getValue().getZExtValue();
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 2146           const APInt &V = Elt->getValue();
 2156         const APInt &V = Elt->getValue();
lib/Transforms/Scalar/ConstantHoisting.cpp
  365                               ConstInt->getValue(), ConstInt->getType());
  367     Cost = TTI->getIntImmCost(Inst->getOpcode(), Idx, ConstInt->getValue(),
  568     auto Value = ConstCand->ConstInt->getValue();
  572     LLVM_DEBUG(dbgs() << "= Constant: " << ConstCand->ConstInt->getValue()
  583                                    C2->ConstInt->getValue(),
  584                                    ConstCand->ConstInt->getValue());
  599       LLVM_DEBUG(dbgs() << "New candidate: " << MaxCostItr->ConstInt->getValue()
  627     APInt Diff = ConstCand->ConstInt->getValue() - ConstInt->getValue();
  627     APInt Diff = ConstCand->ConstInt->getValue() - ConstInt->getValue();
  653     return LHS.ConstInt->getValue().ult(RHS.ConstInt->getValue());
  653     return LHS.ConstInt->getValue().ult(RHS.ConstInt->getValue());
  678       APInt Diff = CC->ConstInt->getValue() - MinValItr->ConstInt->getValue();
  678       APInt Diff = CC->ConstInt->getValue() - MinValItr->ConstInt->getValue();
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  792   if (!RHS || !RHS->getValue().isMask())
  796   if (!LRange.getUnsignedMax().ule(RHS->getValue()))
lib/Transforms/Scalar/DeadStoreElimination.cpp
 1231                 cast<ConstantInt>(Earlier->getValueOperand())->getValue();
 1233                 cast<ConstantInt>(Later->getValueOperand())->getValue();
lib/Transforms/Scalar/GuardWidening.cpp
  223     const APInt &getOffsetValue() const { return getOffset()->getValue(); }
  549           ConstantRange::makeExactICmpRegion(Pred0, RHS0->getValue());
  551           ConstantRange::makeExactICmpRegion(Pred1, RHS1->getValue());
  668       APInt NewOffset = Check.getOffsetValue() + OpRHS->getValue();
  674       if ((OpRHS->getValue() & Known.Zero) == OpRHS->getValue()) {
  674       if ((OpRHS->getValue() & Known.Zero) == OpRHS->getValue()) {
  676         APInt NewOffset = Check.getOffsetValue() + OpRHS->getValue();
  727     unsigned BitWidth = MaxOffset->getValue().getBitWidth();
  728     if ((MaxOffset->getValue() - MinOffset->getValue())
  728     if ((MaxOffset->getValue() - MinOffset->getValue())
  732     APInt MaxDiff = MaxOffset->getValue() - MinOffset->getValue();
  732     APInt MaxDiff = MaxOffset->getValue() - MinOffset->getValue();
  733     const APInt &HighOffset = MaxOffset->getValue();
lib/Transforms/Scalar/JumpThreading.cpp
  872               CR = CR.add(AddConst->getValue());
  876                   Pred, cast<ConstantInt>(CmpConst)->getValue());
lib/Transforms/Scalar/LoopRerollPass.cpp
  810     int64_t V = std::abs(CI->getValue().getSExtValue());
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 2162     if (!C->getValue().isStrictlyPositive()) continue;
 2446             if (C->getValue().getMinSignedBits() >= 64 ||
 2447                 C->getValue().isMinSignedValue())
lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
  104   const APInt &ExpectedPhiValue = ExpectedValue->getValue();
  149         Result ^= cast<ConstantInt>(Op->getOperand(1))->getValue();
  195     if (ExpectedPhiValue == ApplyOperations(CI->getValue()))
lib/Transforms/Scalar/MemCpyOptimizer.cpp
 1280   if (!C1 || C1->getValue().getZExtValue() < ByValSize)
lib/Transforms/Scalar/Reassociate.cpp
 1068         if (FC1->getValue() == -FC2->getValue()) {
 1068         if (FC1->getValue() == -FC2->getValue()) {
 1560           Factor = ConstantInt::get(CI->getContext(), -CI->getValue());
lib/Transforms/Scalar/SROA.cpp
  753           APInt Index = OpC->getValue().sextOrTrunc(Offset.getBitWidth());
  831     if ((Length && Length->getValue() == 0) ||
  851     if (Length && Length->getValue() == 0)
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
  584     ConstantOffset = CI->getValue();
lib/Transforms/Scalar/SpeculateAroundPHIs.cpp
  235     MatCost = TTI.getIntImmCost(IncomingC->getValue(), IncomingC->getType());
  286         FoldedCost += TTI.getIntImmCost(IID, Idx, IncomingC->getValue(),
  290             TTI.getIntImmCost(UserI->getOpcode(), Idx, IncomingC->getValue(),
lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
  409     Idx = ConstantInt::get(Idx->getContext(), One << Idx->getValue());
  512         ConstantInt::get(RHS->getContext(), One << RHS->getValue());
  575   APInt Idx = C.Index->getValue(), BasisIdx = Basis.Index->getValue();
  575   APInt Idx = C.Index->getValue(), BasisIdx = Basis.Index->getValue();
lib/Transforms/Utils/BypassSlowDivision.cpp
  207     return C && C->getValue().getMinSignedBits() > BypassType->getBitWidth();
lib/Transforms/Utils/Evaluator.cpp
  532                 Size->getValue().getLimitedValue() >=
lib/Transforms/Utils/FunctionComparator.cpp
  163     if (int Res = cmpAPInts(LLow->getValue(), RLow->getValue()))
  163     if (int Res = cmpAPInts(LLow->getValue(), RLow->getValue()))
  291     const APInt &LInt = cast<ConstantInt>(L)->getValue();
  292     const APInt &RInt = cast<ConstantInt>(R)->getValue();
lib/Transforms/Utils/Local.cpp
  193             Weights.push_back(CI->getValue().getZExtValue());
  285                         createBranchWeights(SICase->getValue().getZExtValue(),
  286                                             SIDef->getValue().getZExtValue()));
 2754       const APInt &AndMask = cast<ConstantInt>(I->getOperand(1))->getValue();
lib/Transforms/Utils/LowerSwitch.cpp
  123       return CI1->getValue().slt(CI2->getValue());
  123       return CI1->getValue().slt(CI2->getValue());
  191     O << "[" << B->Low->getValue() << ", " << B->High->getValue() << "]";
  191     O << "[" << B->Low->getValue() << ", " << B->High->getValue() << "]";
  278   LLVM_DEBUG(dbgs() << "Pivot ==> [" << Pivot.Low->getValue() << ", "
  279                     << Pivot.High->getValue() << "]\n");
  290                                                 NewLowerBound->getValue() - 1);
  504     APInt Low = Cases.front().Low->getValue();
  505     APInt High = Cases.back().High->getValue();
lib/Transforms/Utils/SimplifyCFG.cpp
  549         if (Mask.isPowerOf2() && (C->getValue() & ~Mask) == C->getValue()) {
  549         if (Mask.isPowerOf2() && (C->getValue() & ~Mask) == C->getValue()) {
  557                                C->getValue() | Mask));
  572         if (Mask.isPowerOf2() && (C->getValue() | Mask) == C->getValue()) {
  572         if (Mask.isPowerOf2() && (C->getValue() | Mask) == C->getValue()) {
  579                                           C->getValue() & ~Mask));
  596         ICI->getPredicate(), C->getValue());
  941     return LHS->getValue().ult(RHS->getValue());
  941     return LHS->getValue().ult(RHS->getValue());
  953   return LHS->getValue().ult(RHS->getValue()) ? 1 : -1;
  953   return LHS->getValue().ult(RHS->getValue()) ? 1 : -1;
  974     Weights.push_back(CI->getValue().getZExtValue());
 4318     if (Cases[I - 1]->getValue() != Cases[I]->getValue() + 1)
 4318     if (Cases[I - 1]->getValue() != Cases[I]->getValue() + 1)
 4471     const APInt &CaseVal = Case.getCaseValue()->getValue();
 4994     uint64_t Idx = (CaseVal->getValue() - Offset->getValue()).getLimitedValue();
 4994     uint64_t Idx = (CaseVal->getValue() - Offset->getValue()).getLimitedValue();
 5038       const APInt &Val = ConstVal->getValue();
 5068         TableInt |= Val->getValue().zext(TableInt.getBitWidth());
 5333     if (CaseVal->getValue().slt(MinCaseVal->getValue()))
 5333     if (CaseVal->getValue().slt(MinCaseVal->getValue()))
 5335     if (CaseVal->getValue().sgt(MaxCaseVal->getValue()))
 5335     if (CaseVal->getValue().sgt(MaxCaseVal->getValue()))
 5361   APInt RangeSpread = MaxCaseVal->getValue() - MinCaseVal->getValue();
 5361   APInt RangeSpread = MaxCaseVal->getValue() - MinCaseVal->getValue();
 5450       uint64_t Idx = (ResultList[I].first->getValue() - MinCaseVal->getValue())
 5450       uint64_t Idx = (ResultList[I].first->getValue() - MinCaseVal->getValue())
 5568     Values.push_back(C.getCaseValue()->getValue().getSExtValue());
 5626     auto Sub = Orig->getValue() - APInt(Ty->getBitWidth(), Base);
 5628         cast<ConstantInt>(ConstantInt::get(Ty, Sub.lshr(ShiftC->getValue()))));
lib/Transforms/Utils/SimplifyIndVar.cpp
  138       if (D->getValue().uge(BitWidth))
lib/Transforms/Vectorize/SLPVectorizer.cpp
  282     if (Idx->getValue().uge(Size))
  284     unsigned IntIdx = Idx->getValue().getZExtValue();
 3126             !CInt->getValue().isPowerOf2())
tools/clang/lib/CodeGen/CGBuiltin.cpp
 2050     if (AlignmentCI->getValue().ugt(llvm::Value::MaximumAlignment))
 7094         -cast<llvm::ConstantInt>(CacheLevel)->getValue() + 3);
tools/clang/lib/CodeGen/CGDecl.cpp
 1179       const llvm::APInt &AP = cast<llvm::ConstantInt>(Pattern)->getValue();
tools/clang/lib/CodeGen/CGExprCXX.cpp
  734     const llvm::APInt &count = numElementsC->getValue();
tools/clang/lib/CodeGen/CGExprConstant.cpp
  259         assert((!(CI->getValue() & UpdateMask) || AllowOverwrite) &&
  261         BitsThisChar |= (CI->getValue() & ~UpdateMask);
  592   llvm::APInt FieldValue = CI->getValue();
tools/clang/lib/CodeGen/CGExprScalar.cpp
   60   const auto &LHSAP = LHS->getValue();
   61   const auto &RHSAP = RHS->getValue();
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
 1526       ClauseAlignment = AlignmentCI->getValue();
tools/lldb/source/Expression/IRInterpreter.cpp
  246         value = constant_int->getValue();
tools/polly/lib/Analysis/ScopInfo.cpp
 1485     OS << "_" << Op->getValue();
tools/polly/lib/CodeGen/IslExprBuilder.cpp
  418       auto &Val = Const->getValue();
tools/polly/lib/Support/SCEVAffinator.cpp
  255   v = isl_valFromAPInt(Ctx.get(), Value->getValue(), /* isSigned */ true);
unittests/Analysis/ValueLatticeTest.cpp
   37       ValueLatticeElement::getRange({C1->getValue()}).isConstantRange());
unittests/CodeGen/MachineOperandTest.cpp
   97   ASSERT_TRUE(MO.getCImm()->getValue() == Int);
unittests/IR/MDBuilderTest.cpp
   56   EXPECT_EQ(C0->getValue(), A);
   57   EXPECT_EQ(C1->getValue(), B);