Home | History | Annotate | Download | only in Scalar

Lines Matching defs:IntTy

1822   Type *IntTy = Type::getIntNTy(AllocaTy->getContext(), SizeInBits);
1823 if (!canConvertValue(DL, AllocaTy, IntTy) ||
1824 !canConvertValue(DL, IntTy, AllocaTy))
1855 IntegerType *IntTy = cast<IntegerType>(V->getType());
1856 assert(DL.getTypeStoreSize(Ty) + Offset <= DL.getTypeStoreSize(IntTy) &&
1860 ShAmt = 8*(DL.getTypeStoreSize(IntTy) - DL.getTypeStoreSize(Ty) - Offset);
1865 assert(Ty->getBitWidth() <= IntTy->getBitWidth() &&
1867 if (Ty != IntTy) {
1876 IntegerType *IntTy = cast<IntegerType>(Old->getType());
1878 assert(Ty->getBitWidth() <= IntTy->getBitWidth() &&
1881 if (Ty != IntTy) {
1882 V = IRB.CreateZExt(V, IntTy, Name + ".ext");
1885 assert(DL.getTypeStoreSize(Ty) + Offset <= DL.getTypeStoreSize(IntTy) &&
1889 ShAmt = 8*(DL.getTypeStoreSize(IntTy) - DL.getTypeStoreSize(Ty) - Offset);
1895 if (ShAmt || Ty->getBitWidth() < IntTy->getBitWidth()) {
1896 APInt Mask = ~Ty->getMask().zext(IntTy->getBitWidth()).shl(ShAmt);
2017 IntegerType *IntTy;
2055 IntTy(IsIntegerPromotable
2097 if (VecTy || IntTy)
2187 assert(IntTy && "We cannot insert an integer to the alloca");
2191 V = convertValue(DL, IRB, V, IntTy);
2211 } else if (IntTy && LI.getType()->isIntegerTy()) {
2285 assert(IntTy && "We cannot extract an integer from the alloca");
2287 if (DL.getTypeSizeInBits(V->getType()) != IntTy->getBitWidth()) {
2290 Old = convertValue(DL, IRB, Old, IntTy);
2331 if (IntTy && V->getType()->isIntegerTy())
2413 if (!VecTy && !IntTy &&
2455 } else if (IntTy) {
2463 if (IntTy && (BeginOffset != NewAllocaBeginOffset ||
2467 Old = convertValue(DL, IRB, Old, IntTy);
2471 assert(V->getType() == IntTy &&
2539 = !VecTy && !IntTy && (BeginOffset > NewAllocaBeginOffset ||
2603 = IntTy ? Type::getIntNTy(IntTy->getContext(), Size*8) : nullptr;
2614 } else if (IntTy && !IsWholeAlloca) {
2635 } else if (IntTy && !IsWholeAlloca && !IsDest) {
2638 Src = convertValue(DL, IRB, Src, IntTy);
2650 } else if (IntTy && !IsWholeAlloca && IsDest) {
2653 Old = convertValue(DL, IRB, Old, IntTy);