Lines Matching refs:getBitWidth
744 APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)); in visitGetElementPtrInst()
748 APInt Index = OpC->getValue().sextOrTrunc(Offset.getBitWidth()); in visitGetElementPtrInst()
751 APInt(Offset.getBitWidth(), in visitGetElementPtrInst()
1160 if (UserITy->getBitWidth() % 8 != 0 || in findCommonType()
1161 UserITy->getBitWidth() / 8 > (EndOffset - B->beginOffset())) in findCommonType()
1166 if (!ITy || ITy->getBitWidth() < UserITy->getBitWidth()) in findCommonType()
1492 APInt ElementSize(Offset.getBitWidth(), ElementSizeInBits / 8); in getNaturalGEPRecursively()
1504 APInt ElementSize(Offset.getBitWidth(), in getNaturalGEPRecursively()
1525 Offset -= APInt(Offset.getBitWidth(), SL->getElementOffset(Index)); in getNaturalGEPRecursively()
1561 APInt ElementSize(Offset.getBitWidth(), in getNaturalGEPWithOffset()
1606 APInt Int8PtrOffset(Offset.getBitWidth(), 0); in getAdjustedPtr()
1620 APInt GEPOffset(Offset.getBitWidth(), 0); in getAdjustedPtr()
1712 assert(cast<IntegerType>(OldTy)->getBitWidth() != in canConvertValue()
1713 cast<IntegerType>(NewTy)->getBitWidth() && in canConvertValue()
2043 if (ITy->getBitWidth() < DL.getTypeStoreSizeInBits(ITy).getFixedSize()) in isIntegerWideningViableForSlice()
2068 if (ITy->getBitWidth() < DL.getTypeStoreSizeInBits(ITy).getFixedSize()) in isIntegerWideningViableForSlice()
2154 assert(Ty->getBitWidth() <= IntTy->getBitWidth() && in extractInteger()
2167 assert(Ty->getBitWidth() <= IntTy->getBitWidth() && in insertInteger()
2186 if (ShAmt || Ty->getBitWidth() < IntTy->getBitWidth()) { in insertInteger()
2187 APInt Mask = ~Ty->getMask().zext(IntTy->getBitWidth()).shl(ShAmt); in insertInteger()
2501 assert(cast<IntegerType>(LI.getType())->getBitWidth() >= SliceSize * 8 && in rewriteIntegerLoad()
2503 if (cast<IntegerType>(LI.getType())->getBitWidth() > SliceSize * 8) in rewriteIntegerLoad()
2564 if (AITy->getBitWidth() < TITy->getBitWidth()) { in visitLoadInst()
2567 V = IRB.CreateShl(V, TITy->getBitWidth() - AITy->getBitWidth(), in visitLoadInst()
2654 IntTy->getBitWidth()) { in rewriteIntegerStore()
2718 if (VITy->getBitWidth() > AITy->getBitWidth()) { in visitStoreInst()
2720 V = IRB.CreateLShr(V, VITy->getBitWidth() - AITy->getBitWidth(), in visitStoreInst()
2761 assert(VTy->getBitWidth() == 8 && "Expected an i8 value for the byte"); in getIntegerSplat()
4007 assert(Ty->getBitWidth() % 8 == 0); in presplitLoadsAndStores()
4008 uint64_t LoadSize = Ty->getBitWidth() / 8; in presplitLoadsAndStores()
4132 assert(Ty->getBitWidth() % 8 == 0); in presplitLoadsAndStores()
4133 uint64_t StoreSize = Ty->getBitWidth() / 8; in presplitLoadsAndStores()