Home | History | Annotate | Download | only in Scalar

Lines Matching defs:IntPtrTy

1576     Type *IntPtrTy =
1589 V = Builder.CreatePtrToInt(V, IntPtrTy, "sunkaddr");
1590 if (V->getType() != IntPtrTy)
1591 V = Builder.CreateIntCast(V, IntPtrTy, /*isSigned=*/true, "sunkaddr");
1598 if (V->getType() == IntPtrTy) {
1601 V = Builder.CreatePtrToInt(V, IntPtrTy, "sunkaddr");
1602 } else if (cast<IntegerType>(IntPtrTy)->getBitWidth() <
1604 V = Builder.CreateTrunc(V, IntPtrTy, "sunkaddr");
1606 V = Builder.CreateSExt(V, IntPtrTy, "sunkaddr");
1609 V = Builder.CreateMul(V, ConstantInt::get(IntPtrTy, AddrMode.Scale),
1619 Value *V = Builder.CreatePtrToInt(AddrMode.BaseGV, IntPtrTy, "sunkaddr");
1628 Value *V = ConstantInt::get(IntPtrTy, AddrMode.BaseOffs);