Lines Matching refs:IntPtrTy
1112 const DataLayout &DL, Value *PtrValue, Value *Mask, Type *IntPtrTy,
1114 Value *PtrIntValue = CreatePtrToInt(PtrValue, IntPtrTy, "ptrint");
1122 if (OffsetValue->getType() != IntPtrTy)
1123 OffsetValue = CreateIntCast(OffsetValue, IntPtrTy, /*isSigned*/ true,
1129 Value *Zero = ConstantInt::get(IntPtrTy, 0);
1145 Type *IntPtrTy = getIntPtrTy(DL, PtrTy->getAddressSpace());
1147 Value *Mask = ConstantInt::get(IntPtrTy, Alignment - 1);
1148 return CreateAlignmentAssumptionHelper(DL, PtrValue, Mask, IntPtrTy,
1158 Type *IntPtrTy = getIntPtrTy(DL, PtrTy->getAddressSpace());
1160 if (Alignment->getType() != IntPtrTy)
1161 Alignment = CreateIntCast(Alignment, IntPtrTy, /*isSigned*/ false,
1164 Value *Mask = CreateSub(Alignment, ConstantInt::get(IntPtrTy, 1), "mask");
1166 return CreateAlignmentAssumptionHelper(DL, PtrValue, Mask, IntPtrTy,