Searched refs:getMinSignedBits (Results 1 – 12 of 12) sorted by relevance
27 MinBits = Value.getMinSignedBits(); in testInRange()37 MinBits = Value.getMinSignedBits() - IsUnsigned; in testInRange()
27 unsigned MinBits = Tmp.getMinSignedBits(); in APSInt()
381 return getMinSignedBits() <= N; in isSignedIntN()1061 return getMinSignedBits() > 64 ? isNegative() : getSExtValue() < RHS; in slt()1129 return getMinSignedBits() > 64 ? !isNegative() : getSExtValue() > RHS; in sgt()1317 unsigned getMinSignedBits() const { in getMinSignedBits() function1344 assert(getMinSignedBits() <= 64 && "Too many bits for int64_t"); in getSExtValue()
77 assert(getMinSignedBits() <= 64 && "Too many bits for int64_t"); in getExtValue()
408 unsigned MinBW = std::max(R.getLower().getMinSignedBits(), in validateAndTransform()409 R.getUpper().getMinSignedBits()) + 1; in validateAndTransform()
626 if (C->getAPInt().getMinSignedBits() <= 64) { in ExtractImmediate()1038 ImmCost += APInt(64, Offset, true).getMinSignedBits(); in RateFormula()2153 if (C->getValue().getMinSignedBits() >= 64 || in OptimizeLoopTermCond()2404 if (Factor->getAPInt().getMinSignedBits() <= 64) in CollectInterestingTypesAndFactors()2410 if (Factor->getAPInt().getMinSignedBits() <= 64) in CollectInterestingTypesAndFactors()2834 if (IncConst->getAPInt().getMinSignedBits() > 64) in canFoldIVIncExpr()
952 if (Int.getMinSignedBits() > 64) in parseImmediateOperand()1192 if (Token.integerValue().getMinSignedBits() > 32) in parseCFIOffset()1490 if (Token.integerValue().getMinSignedBits() > 64) in parseOffset()
1513 if (C1.getMinSignedBits() > ExtSrcTyBits) in SimplifySetCC()1739 if (C1.getMinSignedBits() <= 64 && in SimplifySetCC()1779 if (ShiftBits && NewC.getMinSignedBits() <= 64 && in SimplifySetCC()
6170 return IntRange(value.getMinSignedBits(), false); in GetValueRange()6587 if (OtherWidth >= Value.getMinSignedBits()) in DiagnoseOutOfRangeComparison()6618 Value.isNegative() && Value.getMinSignedBits() <= OtherWidth) in DiagnoseOutOfRangeComparison()
13823 return Value.getMinSignedBits() <= BitWidth; in isRepresentableIntegerValue()14369 (unsigned)InitVal.getMinSignedBits()); in ActOnEnumBody()
5157 RequiredBits = OldValue.getMinSignedBits(); in CheckTemplateArgument()
8142 static_cast<llvm::APInt&>(Right) + Left.getMinSignedBits(); in DiagnoseBadShiftValues()8165 << HexResult.str() << Result.getMinSignedBits() << LHSType in DiagnoseBadShiftValues()