Home
last modified time | relevance | path

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

12

/external/clang/lib/StaticAnalyzer/Core/
DAPSIntType.cpp27 MinBits = Value.getMinSignedBits(); in testInRange()
37 MinBits = Value.getMinSignedBits() - IsUnsigned; in testInRange()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DAPSInt.cpp28 unsigned MinBits = Tmp.getMinSignedBits(); in APSInt()
/external/llvm/lib/Support/
DAPSInt.cpp28 unsigned MinBits = Tmp.getMinSignedBits(); in APSInt()
/external/llvm/include/llvm/ADT/
DAPInt.h381 return getMinSignedBits() <= N; in isSignedIntN()
1066 return getMinSignedBits() > 64 ? isNegative() : getSExtValue() < RHS; in slt()
1134 return getMinSignedBits() > 64 ? !isNegative() : getSExtValue() > RHS; in sgt()
1322 unsigned getMinSignedBits() const { in getMinSignedBits() function
1349 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/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h385 return getMinSignedBits() <= N; in isSignedIntN()
1042 return getMinSignedBits() > 64 ? isNegative() : getSExtValue() < RHS; in slt()
1110 return getMinSignedBits() > 64 ? !isNegative() : getSExtValue() > RHS; in sgt()
1298 unsigned getMinSignedBits() const { in getMinSignedBits() function
1325 assert(getMinSignedBits() <= 64 && "Too many bits for int64_t"); in getSExtValue()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPInt.h457 return getMinSignedBits() <= N; in isSignedIntN()
1206 return (!isSingleWord() && getMinSignedBits() > 64) ? isNegative() in slt()
1276 return (!isSingleWord() && getMinSignedBits() > 64) ? !isNegative() in sgt()
1545 unsigned getMinSignedBits() const { in getMinSignedBits() function
1571 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp381 unsigned MinBW = std::max(R.getLower().getMinSignedBits(), in validateAndTransform()
382 R.getUpper().getMinSignedBits()) + 1; in validateAndTransform()
DLoopStrengthReduce.cpp734 if (C->getAPInt().getMinSignedBits() <= 64) { in ExtractImmediate()
1346 C.ImmCost += APInt(64, Offset, true).getMinSignedBits(); in RateFormula()
2414 if (C->getValue().getMinSignedBits() >= 64 || in OptimizeLoopTermCond()
2663 if (Factor->getAPInt().getMinSignedBits() <= 64) in CollectInterestingTypesAndFactors()
2669 if (Factor->getAPInt().getMinSignedBits() <= 64) in CollectInterestingTypesAndFactors()
3092 if (IncConst->getAPInt().getMinSignedBits() > 64) in canFoldIVIncExpr()
/external/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp396 unsigned MinBW = std::max(R.getLower().getMinSignedBits(), in validateAndTransform()
397 R.getUpper().getMinSignedBits()) + 1; in validateAndTransform()
DLoopStrengthReduce.cpp626 if (C->getAPInt().getMinSignedBits() <= 64) { in ExtractImmediate()
1022 ImmCost += APInt(64, Offset, true).getMinSignedBits(); in RateFormula()
2137 if (C->getValue().getMinSignedBits() >= 64 || in OptimizeLoopTermCond()
2388 if (Factor->getAPInt().getMinSignedBits() <= 64) in CollectInterestingTypesAndFactors()
2394 if (Factor->getAPInt().getMinSignedBits() <= 64) in CollectInterestingTypesAndFactors()
2815 if (IncConst->getAPInt().getMinSignedBits() > 64) in canFoldIVIncExpr()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DAPInt.h363 return getMinSignedBits() <= N; in isSignedIntN()
1153 unsigned getMinSignedBits() const { in getMinSignedBits() function
1178 assert(getMinSignedBits() <= 64 && "Too many bits for int64_t"); in getSExtValue()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h597 IntElement->getValue().getMinSignedBits() - 1; in minRequiredElementSize()
613 return CI->getValue().getMinSignedBits() - 1; in minRequiredElementSize()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp2502 ((MemVT != MVT::i8 && OperandV.getMinSignedBits() > 8 && in foldLoadStoreIntoMemOperand()
2503 (-OperandV).getMinSignedBits() <= 8) || in foldLoadStoreIntoMemOperand()
2504 (MemVT == MVT::i64 && OperandV.getMinSignedBits() > 32 && in foldLoadStoreIntoMemOperand()
2505 (-OperandV).getMinSignedBits() <= 32)) && in foldLoadStoreIntoMemOperand()
2513 if (MemVT != MVT::i8 && OperandV.getMinSignedBits() <= 8) { in foldLoadStoreIntoMemOperand()
2517 (MemVT != MVT::i64 || OperandV.getMinSignedBits() <= 32)) { in foldLoadStoreIntoMemOperand()
2730 unsigned MinWidth = NegMaskVal.getMinSignedBits(); in shrinkAndImmediate()
2731 if (MinWidth > 32 || (MinWidth > 8 && MaskVal.getMinSignedBits() <= 32)) in shrinkAndImmediate()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DBypassSlowDivision.cpp208 return C && C->getValue().getMinSignedBits() > BypassType->getBitWidth(); in isHashLikeValue()
/external/llvm/lib/CodeGen/MIRParser/
DMIParser.cpp1000 if (Int.getMinSignedBits() > 64) in parseImmediateOperand()
1283 if (Token.integerValue().getMinSignedBits() > 32) in parseCFIOffset()
1583 if (Token.integerValue().getMinSignedBits() > 64) in parseOffset()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DAPIntTest.cpp167 EXPECT_EQ(33u, s128.getMinSignedBits()); in TEST()
177 EXPECT_EQ(63u, s128.getMinSignedBits()); in TEST()
201 EXPECT_EQ(67u, s256.getMinSignedBits()); in TEST()
210 EXPECT_EQ(61u, s256.getMinSignedBits()); in TEST()
/external/swiftshader/third_party/LLVM/lib/AsmParser/
DLLLexer.cpp790 uint32_t minBits = Tmp.getMinSignedBits(); in LexDigitOrNegative()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp537 if (C->getValue()->getValue().getMinSignedBits() <= 64) { in ExtractImmediate()
844 ImmCost += APInt(64, Offset, true).getMinSignedBits(); in RateFormula()
1827 if (C->getValue().getMinSignedBits() >= 64 || in OptimizeLoopTermCond()
2075 if (Factor->getValue()->getValue().getMinSignedBits() <= 64) in CollectInterestingTypesAndFactors()
2081 if (Factor->getValue()->getValue().getMinSignedBits() <= 64) in CollectInterestingTypesAndFactors()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/MIRParser/
DMIParser.cpp1280 if (Int.getMinSignedBits() > 64) in parseImmediateOperand()
1662 if (Token.integerValue().getMinSignedBits() > 32) in parseCFIOffset()
2153 if (Token.integerValue().getMinSignedBits() > 64) in parseOffset()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1630 if (C1.getMinSignedBits() > ExtSrcTyBits) in SimplifySetCC()
1855 if (C1.getMinSignedBits() <= 64 && in SimplifySetCC()
1894 if (ShiftBits && NewC.getMinSignedBits() <= 64 && in SimplifySetCC()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp1159 Op0Src->getType()->getScalarSizeInBits() >= Op1C->getMinSignedBits()) { in visitSDiv()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp1058 Op0Src->getType()->getScalarSizeInBits() >= Op1C->getMinSignedBits()) { in visitSDiv()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp2227 if (C1.getMinSignedBits() > ExtSrcTyBits) in SimplifySetCC()
2488 if (C1.getMinSignedBits() <= 64 && in SimplifySetCC()
2526 if (ShiftBits && NewC.getMinSignedBits() <= 64 && in SimplifySetCC()

12