Home
last modified time | relevance | path

Searched refs:getMinSignedBits (Results 1 – 12 of 12) sorted by relevance

/external/clang/lib/StaticAnalyzer/Core/
DAPSIntType.cpp27 MinBits = Value.getMinSignedBits(); in testInRange()
37 MinBits = Value.getMinSignedBits() - IsUnsigned; in testInRange()
/external/llvm/lib/Support/
DAPSInt.cpp27 unsigned MinBits = Tmp.getMinSignedBits(); in APSInt()
/external/llvm/include/llvm/ADT/
DAPInt.h381 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() function
1344 assert(getMinSignedBits() <= 64 && "Too many bits for int64_t"); in getSExtValue()
DAPSInt.h77 assert(getMinSignedBits() <= 64 && "Too many bits for int64_t"); in getExtValue()
/external/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp408 unsigned MinBW = std::max(R.getLower().getMinSignedBits(), in validateAndTransform()
409 R.getUpper().getMinSignedBits()) + 1; in validateAndTransform()
DLoopStrengthReduce.cpp626 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()
/external/llvm/lib/CodeGen/MIRParser/
DMIParser.cpp952 if (Int.getMinSignedBits() > 64) in parseImmediateOperand()
1192 if (Token.integerValue().getMinSignedBits() > 32) in parseCFIOffset()
1490 if (Token.integerValue().getMinSignedBits() > 64) in parseOffset()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1513 if (C1.getMinSignedBits() > ExtSrcTyBits) in SimplifySetCC()
1739 if (C1.getMinSignedBits() <= 64 && in SimplifySetCC()
1779 if (ShiftBits && NewC.getMinSignedBits() <= 64 && in SimplifySetCC()
/external/clang/lib/Sema/
DSemaChecking.cpp6170 return IntRange(value.getMinSignedBits(), false); in GetValueRange()
6587 if (OtherWidth >= Value.getMinSignedBits()) in DiagnoseOutOfRangeComparison()
6618 Value.isNegative() && Value.getMinSignedBits() <= OtherWidth) in DiagnoseOutOfRangeComparison()
DSemaDecl.cpp13823 return Value.getMinSignedBits() <= BitWidth; in isRepresentableIntegerValue()
14369 (unsigned)InitVal.getMinSignedBits()); in ActOnEnumBody()
DSemaTemplate.cpp5157 RequiredBits = OldValue.getMinSignedBits(); in CheckTemplateArgument()
DSemaExpr.cpp8142 static_cast<llvm::APInt&>(Right) + Left.getMinSignedBits(); in DiagnoseBadShiftValues()
8165 << HexResult.str() << Result.getMinSignedBits() << LHSType in DiagnoseBadShiftValues()