Home | History | Annotate | Download | only in Scalar

Lines Matching refs:IntTy

1671   Type *IntTy = Type::getIntNTy(AllocaTy->getContext(), SizeInBits);
1672 if (!canConvertValue(DL, AllocaTy, IntTy) ||
1673 !canConvertValue(DL, IntTy, AllocaTy))
1704 IntegerType *IntTy = cast<IntegerType>(V->getType());
1705 assert(DL.getTypeStoreSize(Ty) + Offset <= DL.getTypeStoreSize(IntTy) &&
1709 ShAmt = 8*(DL.getTypeStoreSize(IntTy) - DL.getTypeStoreSize(Ty) - Offset);
1714 assert(Ty->getBitWidth() <= IntTy->getBitWidth() &&
1716 if (Ty != IntTy) {
1725 IntegerType *IntTy = cast<IntegerType>(Old->getType());
1727 assert(Ty->getBitWidth() <= IntTy->getBitWidth() &&
1730 if (Ty != IntTy) {
1731 V = IRB.CreateZExt(V, IntTy, Name + ".ext");
1734 assert(DL.getTypeStoreSize(Ty) + Offset <= DL.getTypeStoreSize(IntTy) &&
1738 ShAmt = 8*(DL.getTypeStoreSize(IntTy) - DL.getTypeStoreSize(Ty) - Offset);
1744 if (ShAmt || Ty->getBitWidth() < IntTy->getBitWidth()) {
1745 APInt Mask = ~Ty->getMask().zext(IntTy->getBitWidth()).shl(ShAmt);
1866 IntegerType *IntTy;
1895 IntTy(IsIntegerPromotable
1929 if (VecTy || IntTy)
2012 assert(IntTy && "We cannot insert an integer to the alloca");
2016 V = convertValue(DL, IRB, V, IntTy);
2044 } else if (IntTy && LI.getType()->isIntegerTy()) {
2122 assert(IntTy && "We cannot extract an integer from the alloca");
2124 if (DL.getTypeSizeInBits(V->getType()) != IntTy->getBitWidth()) {
2127 Old = convertValue(DL, IRB, Old, IntTy);
2176 if (IntTy && V->getType()->isIntegerTy())
2269 if (!VecTy && !IntTy &&
2311 } else if (IntTy) {
2319 if (IntTy && (BeginOffset != NewAllocaBeginOffset ||
2323 Old = convertValue(DL, IRB, Old, IntTy);
2327 assert(V->getType() == IntTy &&
2408 = !VecTy && !IntTy && (BeginOffset > NewAllocaBeginOffset ||
2470 = IntTy ? Type::getIntNTy(IntTy->getContext(), Size*8) : 0;
2480 } else if (IntTy && !IsWholeAlloca) {
2494 } else if (IntTy && !IsWholeAlloca && !IsDest) {
2497 Src = convertValue(DL, IRB, Src, IntTy);
2509 } else if (IntTy && !IsWholeAlloca && IsDest) {
2512 Old = convertValue(DL, IRB, Old, IntTy);