Searched refs:NewWidth (Results 1 – 6 of 6) sorted by relevance
2152 unsigned NewWidth = CI2->getValue().countTrailingZeros(); in ProcessUGT_ADDCST_ADD() local2153 if (NewWidth != 7 && NewWidth != 15 && NewWidth != 31) return nullptr; in ProcessUGT_ADDCST_ADD()2156 ++NewWidth; in ProcessUGT_ADDCST_ADD()2159 if (CI1->getBitWidth() == NewWidth || in ProcessUGT_ADDCST_ADD()2160 CI1->getValue() != APInt::getLowBitsSet(CI1->getBitWidth(), NewWidth)) in ProcessUGT_ADDCST_ADD()2166 unsigned NeededSignBits = CI1->getBitWidth() - NewWidth + 1; in ProcessUGT_ADDCST_ADD()2185 if (!TI || TI->getType()->getPrimitiveSizeInBits() > NewWidth) in ProcessUGT_ADDCST_ADD()2192 Type *NewType = IntegerType::get(OrigAdd->getContext(), NewWidth); in ProcessUGT_ADDCST_ADD()
2155 unsigned NewWidth = BitWidth - std::max(LeadingKnownZeros, LeadingKnownOnes); in visitSwitchInst() local2162 if (NewWidth > 0 && BitWidth > NewWidth && in visitSwitchInst()2163 NewWidth >= DL.getLargestLegalIntTypeSize()) { in visitSwitchInst()2165 IntegerType *Ty = IntegerType::get(SI.getContext(), NewWidth); in visitSwitchInst()2172 SI.getContext(), C.getCaseValue()->getValue().trunc(NewWidth))); in visitSwitchInst()
270 unsigned NewWidth = V->getType()->getPrimitiveSizeInBits(); in GetLinearExpression() local279 unsigned ExtendedBy = NewWidth - SmallWidth; in GetLinearExpression()288 Offset = Offset.trunc(SmallWidth).sext(NewWidth).zextOrSelf(OldWidth); in GetLinearExpression()
14487 unsigned NewWidth; in ActOnEnumBody() local14493 NewWidth = IntWidth; in ActOnEnumBody()14505 NewWidth = BestWidth; in ActOnEnumBody()14510 InitVal = InitVal.extOrTrunc(NewWidth); in ActOnEnumBody()
977 unsigned NewWidth = SrcVT.getStoreSizeInBits(); in LegalizeLoadOps() local978 EVT NVT = EVT::getIntegerVT(*DAG.getContext(), NewWidth); in LegalizeLoadOps()
8690 unsigned NewWidth, bool NewSign,