Lines Matching defs:IntPtrTy

3124   Value *GetFieldAsValue(FieldName Field, Type *IntPtrTy) {
3135 return ConstantInt::get(IntPtrTy, BaseOffs);
4204 Type *IntPtrTy = SQ.DL.getIntPtrType(AddrModes[0].OriginalValue->getType());
4206 Value *DV = AM.GetFieldAsValue(DifferentField, IntPtrTy);
5858 Type *IntPtrTy = DL->getIntPtrType(Addr->getType());
5871 SunkAddr = Builder.CreatePtrToInt(SunkAddr, IntPtrTy, "sunkaddr");
5910 if (cast<IntegerType>(IntPtrTy)->getBitWidth() >
5958 if (V->getType() != IntPtrTy)
5959 V = Builder.CreateIntCast(V, IntPtrTy, /*isSigned=*/true, "sunkaddr");
5967 if (V->getType() == IntPtrTy) {
5970 assert(cast<IntegerType>(IntPtrTy)->getBitWidth() <
5973 V = Builder.CreateTrunc(V, IntPtrTy, "sunkaddr");
5977 V = Builder.CreateMul(V, ConstantInt::get(IntPtrTy, AddrMode.Scale),
5987 Value *V = ConstantInt::get(IntPtrTy, AddrMode.BaseOffs);
6018 SunkAddr = Builder.CreatePtrToInt(SunkAddr, IntPtrTy, "sunkaddr");
6041 Type *IntPtrTy = DL->getIntPtrType(Addr->getType());
6052 V = Builder.CreatePtrToInt(V, IntPtrTy, "sunkaddr");
6053 if (V->getType() != IntPtrTy)
6054 V = Builder.CreateIntCast(V, IntPtrTy, /*isSigned=*/true, "sunkaddr");
6061 if (V->getType() == IntPtrTy) {
6064 V = Builder.CreatePtrToInt(V, IntPtrTy, "sunkaddr");
6065 } else if (cast<IntegerType>(IntPtrTy)->getBitWidth() <
6067 V = Builder.CreateTrunc(V, IntPtrTy, "sunkaddr");
6080 V = Builder.CreateMul(V, ConstantInt::get(IntPtrTy, AddrMode.Scale),
6097 Value *V = Builder.CreatePtrToInt(BaseGVPtr, IntPtrTy, "sunkaddr");
6106 Value *V = ConstantInt::get(IntPtrTy, AddrMode.BaseOffs);