Searched refs:MinBits (Results 1 – 10 of 10) 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()
23 unsigned MinBits; in testInRange() local26 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()
28 unsigned MinBits = Tmp.getMinSignedBits(); in APSInt() local29 if (MinBits > 0 && MinBits < NumBits) in APSInt()30 Tmp = Tmp.trunc(MinBits); in APSInt()
27 unsigned MinBits = Tmp.getMinSignedBits(); in APSInt() local28 if (MinBits > 0 && MinBits < NumBits) in APSInt()29 Tmp = Tmp.trunc(MinBits); in APSInt()
28 unsigned MinBits = Tmp.getMinSignedBits(); in APSInt() local29 if (MinBits < NumBits) in APSInt()30 Tmp = Tmp.trunc(std::max<unsigned>(1, MinBits)); in APSInt()
701 uint64_t MinBits = EltCnt.getKnownMinValue() * in getTypeSizeInBits() local703 return TypeSize(MinBits, EltCnt.isScalable()); in getTypeSizeInBits()
659 uint64_t MinBits = EltCnt.Min * in getTypeSizeInBits() local661 return TypeSize(MinBits, EltCnt.Scalable); in getTypeSizeInBits()
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 …]
3523 unsigned MinBits = N0.getValueSizeInBits(); in SimplifySetCC() local3528 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 …]
3219 unsigned MinBits = N0.getValueSizeInBits(); in SimplifySetCC() local3224 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 …]