Home
last modified time | relevance | path

Searched refs:MinBits (Results 1 – 10 of 10) sorted by relevance

/external/clang/lib/StaticAnalyzer/Core/
DAPSIntType.cpp24 unsigned MinBits; in testInRange() local
27 MinBits = Value.getMinSignedBits(); in testInRange()
29 MinBits = Value.getActiveBits(); in testInRange()
37 MinBits = Value.getMinSignedBits() - IsUnsigned; in testInRange()
39 MinBits = Value.getActiveBits() + !IsUnsigned; in testInRange()
42 if (MinBits <= BitWidth) in testInRange()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DAPSIntType.cpp23 unsigned MinBits; in testInRange() local
26 MinBits = Value.getMinSignedBits(); in testInRange()
28 MinBits = Value.getActiveBits(); in testInRange()
36 MinBits = Value.getMinSignedBits() - IsUnsigned; in testInRange()
38 MinBits = Value.getActiveBits() + !IsUnsigned; in testInRange()
41 if (MinBits <= BitWidth) in testInRange()
/external/llvm/lib/Support/
DAPSInt.cpp28 unsigned MinBits = Tmp.getMinSignedBits(); in APSInt() local
29 if (MinBits > 0 && MinBits < NumBits) in APSInt()
30 Tmp = Tmp.trunc(MinBits); in APSInt()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAPSInt.cpp27 unsigned MinBits = Tmp.getMinSignedBits(); in APSInt() local
28 if (MinBits > 0 && MinBits < NumBits) in APSInt()
29 Tmp = Tmp.trunc(MinBits); in APSInt()
/external/llvm-project/llvm/lib/Support/
DAPSInt.cpp28 unsigned MinBits = Tmp.getMinSignedBits(); in APSInt() local
29 if (MinBits < NumBits) in APSInt()
30 Tmp = Tmp.trunc(std::max<unsigned>(1, MinBits)); in APSInt()
/external/llvm-project/llvm/include/llvm/IR/
DDataLayout.h701 uint64_t MinBits = EltCnt.getKnownMinValue() * in getTypeSizeInBits() local
703 return TypeSize(MinBits, EltCnt.isScalable()); in getTypeSizeInBits()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDataLayout.h659 uint64_t MinBits = EltCnt.Min * in getTypeSizeInBits() local
661 return TypeSize(MinBits, EltCnt.Scalable); in getTypeSizeInBits()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1427 unsigned MinBits = N0.getValueSizeInBits(); in SimplifySetCC() local
1432 MinBits = N0->getOperand(0).getValueSizeInBits(); in SimplifySetCC()
1438 MinBits = C->getAPIntValue().countTrailingOnes(); in SimplifySetCC()
1443 MinBits = N0->getOperand(0).getValueSizeInBits(); in SimplifySetCC()
1449 MinBits = LN0->getMemoryVT().getSizeInBits(); in SimplifySetCC()
1453 MinBits = LN0->getMemoryVT().getSizeInBits(); in SimplifySetCC()
1464 if (MinBits > 0 && in SimplifySetCC()
1465 MinBits < C1.getBitWidth() && in SimplifySetCC()
1466 MinBits >= ReqdBits) { in SimplifySetCC()
1467 EVT MinVT = EVT::getIntegerVT(*DAG.getContext(), MinBits); in SimplifySetCC()
[all …]
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp3523 unsigned MinBits = N0.getValueSizeInBits(); in SimplifySetCC() local
3528 MinBits = N0->getOperand(0).getValueSizeInBits(); in SimplifySetCC()
3534 MinBits = C->getAPIntValue().countTrailingOnes(); in SimplifySetCC()
3539 MinBits = N0->getOperand(0).getValueSizeInBits(); in SimplifySetCC()
3545 MinBits = LN0->getMemoryVT().getSizeInBits(); in SimplifySetCC()
3549 MinBits = LN0->getMemoryVT().getSizeInBits(); in SimplifySetCC()
3560 if (MinBits > 0 && in SimplifySetCC()
3561 MinBits < C1.getBitWidth() && in SimplifySetCC()
3562 MinBits >= ReqdBits) { in SimplifySetCC()
3563 EVT MinVT = EVT::getIntegerVT(*DAG.getContext(), MinBits); in SimplifySetCC()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp3219 unsigned MinBits = N0.getValueSizeInBits(); in SimplifySetCC() local
3224 MinBits = N0->getOperand(0).getValueSizeInBits(); in SimplifySetCC()
3230 MinBits = C->getAPIntValue().countTrailingOnes(); in SimplifySetCC()
3235 MinBits = N0->getOperand(0).getValueSizeInBits(); in SimplifySetCC()
3241 MinBits = LN0->getMemoryVT().getSizeInBits(); in SimplifySetCC()
3245 MinBits = LN0->getMemoryVT().getSizeInBits(); in SimplifySetCC()
3256 if (MinBits > 0 && in SimplifySetCC()
3257 MinBits < C1.getBitWidth() && in SimplifySetCC()
3258 MinBits >= ReqdBits) { in SimplifySetCC()
3259 EVT MinVT = EVT::getIntegerVT(*DAG.getContext(), MinBits); in SimplifySetCC()
[all …]