Searched refs:MinBits (Results 1 – 6 of 6) sorted by relevance
24 unsigned MinBits; in testInRange() local27 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()
28 unsigned MinBits = Tmp.getMinSignedBits(); in APSInt() local29 if (MinBits > 0 && MinBits < NumBits) in APSInt()30 Tmp = Tmp.trunc(MinBits); in APSInt()
1427 unsigned MinBits = N0.getValueSizeInBits(); in SimplifySetCC() local1432 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 …]
2019 unsigned MinBits = N0.getValueSizeInBits(); in SimplifySetCC() local2024 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 …]
1982 unsigned MinBits = N0.getValueSizeInBits(); in SimplifySetCC() local1986 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()