Lines Matching refs:IntTy

1737   Type *IntTy = Type::getIntNTy(AllocaTy->getContext(), SizeInBits);
1738 if (!canConvertValue(DL, AllocaTy, IntTy) ||
1739 !canConvertValue(DL, IntTy, AllocaTy))
1770 IntegerType *IntTy = cast<IntegerType>(V->getType());
1771 assert(DL.getTypeStoreSize(Ty) + Offset <= DL.getTypeStoreSize(IntTy) &&
1775 ShAmt = 8*(DL.getTypeStoreSize(IntTy) - DL.getTypeStoreSize(Ty) - Offset);
1780 assert(Ty->getBitWidth() <= IntTy->getBitWidth() &&
1782 if (Ty != IntTy) {
1791 IntegerType *IntTy = cast<IntegerType>(Old->getType());
1793 assert(Ty->getBitWidth() <= IntTy->getBitWidth() &&
1796 if (Ty != IntTy) {
1797 V = IRB.CreateZExt(V, IntTy, Name + ".ext");
1800 assert(DL.getTypeStoreSize(Ty) + Offset <= DL.getTypeStoreSize(IntTy) &&
1804 ShAmt = 8*(DL.getTypeStoreSize(IntTy) - DL.getTypeStoreSize(Ty) - Offset);
1810 if (ShAmt || Ty->getBitWidth() < IntTy->getBitWidth()) {
1811 APInt Mask = ~Ty->getMask().zext(IntTy->getBitWidth()).shl(ShAmt);
1932 IntegerType *IntTy;
1961 IntTy(IsIntegerPromotable
1995 if (VecTy || IntTy)
2078 assert(IntTy && "We cannot insert an integer to the alloca");
2082 V = convertValue(DL, IRB, V, IntTy);
2110 } else if (IntTy && LI.getType()->isIntegerTy()) {
2188 assert(IntTy && "We cannot extract an integer from the alloca");
2190 if (DL.getTypeSizeInBits(V->getType()) != IntTy->getBitWidth()) {
2193 Old = convertValue(DL, IRB, Old, IntTy);
2242 if (IntTy && V->getType()->isIntegerTy())
2335 if (!VecTy && !IntTy &&
2377 } else if (IntTy) {
2385 if (IntTy && (BeginOffset != NewAllocaBeginOffset ||
2389 Old = convertValue(DL, IRB, Old, IntTy);
2393 assert(V->getType() == IntTy &&
2474 = !VecTy && !IntTy && (BeginOffset > NewAllocaBeginOffset ||
2536 = IntTy ? Type::getIntNTy(IntTy->getContext(), Size*8) : 0;
2546 } else if (IntTy && !IsWholeAlloca) {
2560 } else if (IntTy && !IsWholeAlloca && !IsDest) {
2563 Src = convertValue(DL, IRB, Src, IntTy);
2575 } else if (IntTy && !IsWholeAlloca && IsDest) {
2578 Old = convertValue(DL, IRB, Old, IntTy);