Home
last modified time | relevance | path

Searched refs:MinBits (Results 1 – 2 of 2) 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/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1288 unsigned MinBits = N0.getValueSizeInBits(); in SimplifySetCC() local
1292 MinBits = N0->getOperand(0).getValueSizeInBits(); in SimplifySetCC()
1298 MinBits = C->getAPIntValue().countTrailingOnes(); in SimplifySetCC()
1304 MinBits = LN0->getMemoryVT().getSizeInBits(); in SimplifySetCC()
1310 if (MinBits > 0 && in SimplifySetCC()
1311 MinBits < C1.getBitWidth() && MinBits >= C1.getActiveBits()) { in SimplifySetCC()
1312 EVT MinVT = EVT::getIntegerVT(*DAG.getContext(), MinBits); in SimplifySetCC()
1316 SDValue C = DAG.getConstant(C1.trunc(MinBits), MinVT); in SimplifySetCC()