Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:IntPtrTy

2605     Type *IntPtrTy = TLI->getDataLayout()->getIntPtrType(Addr->getType());
2660 if (V->getType() != IntPtrTy)
2661 V = Builder.CreateIntCast(V, IntPtrTy, /*isSigned=*/true, "sunkaddr");
2669 if (V->getType() == IntPtrTy) {
2671 } else if (cast<IntegerType>(IntPtrTy)->getBitWidth() <
2673 V = Builder.CreateTrunc(V, IntPtrTy, "sunkaddr");
2687 V = Builder.CreateMul(V, ConstantInt::get(IntPtrTy, AddrMode.Scale),
2697 Value *V = ConstantInt::get(IntPtrTy, AddrMode.BaseOffs);
2723 Type *IntPtrTy = TLI->getDataLayout()->getIntPtrType(Addr->getType());
2734 V = Builder.CreatePtrToInt(V, IntPtrTy, "sunkaddr");
2735 if (V->getType() != IntPtrTy)
2736 V = Builder.CreateIntCast(V, IntPtrTy, /*isSigned=*/true, "sunkaddr");
2743 if (V->getType() == IntPtrTy) {
2746 V = Builder.CreatePtrToInt(V, IntPtrTy, "sunkaddr");
2747 } else if (cast<IntegerType>(IntPtrTy)->getBitWidth() <
2749 V = Builder.CreateTrunc(V, IntPtrTy, "sunkaddr");
2762 V = Builder.CreateMul(V, ConstantInt::get(IntPtrTy, AddrMode.Scale),
2772 Value *V = Builder.CreatePtrToInt(AddrMode.BaseGV, IntPtrTy, "sunkaddr");
2781 Value *V = ConstantInt::get(IntPtrTy, AddrMode.BaseOffs);