Lines Matching refs:getBitWidth
422 APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx));
425 APInt Index = OpC->getValue().sextOrTrunc(Offset.getBitWidth());
426 GEPOffset += Index * APInt(Offset.getBitWidth(),
1040 if (UserITy->getBitWidth() % 8 != 0 ||
1041 UserITy->getBitWidth() / 8 > (EndOffset - B->beginOffset()))
1046 if (!ITy || ITy->getBitWidth() < UserITy->getBitWidth())
1350 APInt ElementSize(Offset.getBitWidth(), ElementSizeInBits / 8);
1362 APInt ElementSize(Offset.getBitWidth(), DL.getTypeAllocSize(ElementTy));
1382 Offset -= APInt(Offset.getBitWidth(), SL->getElementOffset(Index));
1416 APInt ElementSize(Offset.getBitWidth(), DL.getTypeAllocSize(ElementTy));
1459 APInt Int8PtrOffset(Offset.getBitWidth(), 0);
1466 APInt GEPOffset(Offset.getBitWidth(), 0);
1542 if (NewITy->getBitWidth() >= OldITy->getBitWidth())
1580 if (NewITy->getBitWidth() > OldITy->getBitWidth())
1759 if (ITy->getBitWidth() < DL.getTypeStoreSizeInBits(ITy))
1774 if (ITy->getBitWidth() < DL.getTypeStoreSizeInBits(ITy))
1865 assert(Ty->getBitWidth() <= IntTy->getBitWidth() &&
1878 assert(Ty->getBitWidth() <= IntTy->getBitWidth() &&
1895 if (ShAmt || Ty->getBitWidth() < IntTy->getBitWidth()) {
1896 APInt Mask = ~Ty->getMask().zext(IntTy->getBitWidth()).shl(ShAmt);
2287 if (DL.getTypeSizeInBits(V->getType()) != IntTy->getBitWidth()) {
2366 assert(VTy->getBitWidth() == 8 && "Expected an i8 value for the byte");