Lines Matching refs:IntPtrTy
782 Type *IntPtrTy = DL->getIntPtrType(GEP->getType());
788 if ((*I)->getType() != IntPtrTy) {
789 *I = CastInst::CreateIntegerCast(*I, IntPtrTy, true, "idxprom", GEP);
833 Type *IntPtrTy = DL->getIntPtrType(Variadic->getType());
859 APInt ElementSize = APInt(IntPtrTy->getIntegerBitWidth(),
865 Idx, ConstantInt::get(IntPtrTy, ElementSize.logBase2()));
867 Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize));
880 Value *Offset = ConstantInt::get(IntPtrTy, AccumulativeByteOffset);
905 Type *IntPtrTy = DL->getIntPtrType(Variadic->getType());
907 Value *ResultPtr = Builder.CreatePtrToInt(Variadic->getOperand(0), IntPtrTy);
920 APInt ElementSize = APInt(IntPtrTy->getIntegerBitWidth(),
926 Idx, ConstantInt::get(IntPtrTy, ElementSize.logBase2()));
928 Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize));
939 ResultPtr, ConstantInt::get(IntPtrTy, AccumulativeByteOffset));
1085 Type *IntPtrTy = DL->getIntPtrType(GEP->getType());
1091 ConstantInt::get(IntPtrTy, Index, true),
1116 ConstantInt::get(IntPtrTy, AccumulativeByteOffset, true), "uglygep",