Lines Matching refs:IntPtrTy

2249   Value *GetFieldAsValue(FieldName Field, Type *IntPtrTy) {
2260 return ConstantInt::get(IntPtrTy, BaseOffs);
3311 Type *IntPtrTy = SQ.DL.getIntPtrType(AddrModes[0].OriginalValue->getType());
3313 Value *DV = AM.GetFieldAsValue(DifferentField, IntPtrTy);
4899 Type *IntPtrTy = DL->getIntPtrType(Addr->getType());
4927 if (cast<IntegerType>(IntPtrTy)->getBitWidth() >
4971 if (V->getType() != IntPtrTy)
4972 V = Builder.CreateIntCast(V, IntPtrTy, /*isSigned=*/true, "sunkaddr");
4980 if (V->getType() == IntPtrTy) {
4983 assert(cast<IntegerType>(IntPtrTy)->getBitWidth() <
4986 V = Builder.CreateTrunc(V, IntPtrTy, "sunkaddr");
4990 V = Builder.CreateMul(V, ConstantInt::get(IntPtrTy, AddrMode.Scale),
5000 Value *V = ConstantInt::get(IntPtrTy, AddrMode.BaseOffs);
5047 Type *IntPtrTy = DL->getIntPtrType(Addr->getType());
5058 V = Builder.CreatePtrToInt(V, IntPtrTy, "sunkaddr");
5059 if (V->getType() != IntPtrTy)
5060 V = Builder.CreateIntCast(V, IntPtrTy, /*isSigned=*/true, "sunkaddr");
5067 if (V->getType() == IntPtrTy) {
5070 V = Builder.CreatePtrToInt(V, IntPtrTy, "sunkaddr");
5071 } else if (cast<IntegerType>(IntPtrTy)->getBitWidth() <
5073 V = Builder.CreateTrunc(V, IntPtrTy, "sunkaddr");
5086 V = Builder.CreateMul(V, ConstantInt::get(IntPtrTy, AddrMode.Scale),
5096 Value *V = Builder.CreatePtrToInt(AddrMode.BaseGV, IntPtrTy, "sunkaddr");
5105 Value *V = ConstantInt::get(IntPtrTy, AddrMode.BaseOffs);
5447 Type *IntPtrTy = DL->getIntPtrType(GEP->getType());
5477 Value *BaseIndex = ConstantInt::get(IntPtrTy, BaseOffset);
5493 Value *Index = ConstantInt::get(IntPtrTy, Offset - BaseOffset);