Lines Matching refs:IntPtrTy
766 Type *IntPtrTy = DL->getIntPtrType(GEP->getType());
772 if ((*I)->getType() != IntPtrTy) {
773 *I = CastInst::CreateIntegerCast(*I, IntPtrTy, true, "idxprom", GEP);
817 Type *IntPtrTy = DL->getIntPtrType(Variadic->getType());
843 APInt ElementSize = APInt(IntPtrTy->getIntegerBitWidth(),
849 Idx, ConstantInt::get(IntPtrTy, ElementSize.logBase2()));
851 Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize));
864 Value *Offset = ConstantInt::get(IntPtrTy, AccumulativeByteOffset);
889 Type *IntPtrTy = DL->getIntPtrType(Variadic->getType());
891 Value *ResultPtr = Builder.CreatePtrToInt(Variadic->getOperand(0), IntPtrTy);
904 APInt ElementSize = APInt(IntPtrTy->getIntegerBitWidth(),
910 Idx, ConstantInt::get(IntPtrTy, ElementSize.logBase2()));
912 Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize));
923 ResultPtr, ConstantInt::get(IntPtrTy, AccumulativeByteOffset));
1069 Type *IntPtrTy = DL->getIntPtrType(GEP->getType());
1075 ConstantInt::get(IntPtrTy, Index, true),
1100 ConstantInt::get(IntPtrTy, AccumulativeByteOffset, true), "uglygep",