Home
last modified time | relevance | path

Searched refs:MinBits (Results 1 – 6 of 6) 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/swiftshader/third_party/llvm-7.0/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/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp2019 unsigned MinBits = N0.getValueSizeInBits(); in SimplifySetCC() local
2024 MinBits = N0->getOperand(0).getValueSizeInBits(); in SimplifySetCC()
2030 MinBits = C->getAPIntValue().countTrailingOnes(); in SimplifySetCC()
2035 MinBits = N0->getOperand(0).getValueSizeInBits(); in SimplifySetCC()
2041 MinBits = LN0->getMemoryVT().getSizeInBits(); in SimplifySetCC()
2045 MinBits = LN0->getMemoryVT().getSizeInBits(); in SimplifySetCC()
2056 if (MinBits > 0 && in SimplifySetCC()
2057 MinBits < C1.getBitWidth() && in SimplifySetCC()
2058 MinBits >= ReqdBits) { in SimplifySetCC()
2059 EVT MinVT = EVT::getIntegerVT(*DAG.getContext(), MinBits); in SimplifySetCC()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1982 unsigned MinBits = N0.getValueSizeInBits(); in SimplifySetCC() local
1986 MinBits = N0->getOperand(0).getValueSizeInBits(); in SimplifySetCC()
1992 MinBits = C->getAPIntValue().countTrailingOnes(); in SimplifySetCC()
1998 MinBits = LN0->getMemoryVT().getSizeInBits(); in SimplifySetCC()
2004 if (MinBits < C1.getBitWidth() && MinBits > C1.getActiveBits()) { in SimplifySetCC()
2005 EVT MinVT = EVT::getIntegerVT(*DAG.getContext(), MinBits); in SimplifySetCC()
2009 SDValue C = DAG.getConstant(C1.trunc(MinBits), MinVT); in SimplifySetCC()