Lines Matching refs:IntPtrTy
1569 Type *IntPtrTy = TLI->getDataLayout()->getIntPtrType(Addr->getType());
1580 V = Builder.CreatePtrToInt(V, IntPtrTy, "sunkaddr");
1581 if (V->getType() != IntPtrTy)
1582 V = Builder.CreateIntCast(V, IntPtrTy, /*isSigned=*/true, "sunkaddr");
1589 if (V->getType() == IntPtrTy) {
1592 V = Builder.CreatePtrToInt(V, IntPtrTy, "sunkaddr");
1593 } else if (cast<IntegerType>(IntPtrTy)->getBitWidth() <
1595 V = Builder.CreateTrunc(V, IntPtrTy, "sunkaddr");
1597 V = Builder.CreateSExt(V, IntPtrTy, "sunkaddr");
1600 V = Builder.CreateMul(V, ConstantInt::get(IntPtrTy, AddrMode.Scale),
1610 Value *V = Builder.CreatePtrToInt(AddrMode.BaseGV, IntPtrTy, "sunkaddr");
1619 Value *V = ConstantInt::get(IntPtrTy, AddrMode.BaseOffs);