Lines Matching defs:IntPtrTy
2837 Value *GetFieldAsValue(FieldName Field, Type *IntPtrTy) {
2848 return ConstantInt::get(IntPtrTy, BaseOffs);
3917 Type *IntPtrTy = SQ.DL.getIntPtrType(AddrModes[0].OriginalValue->getType());
3919 Value *DV = AM.GetFieldAsValue(DifferentField, IntPtrTy);
5573 Type *IntPtrTy = DL->getIntPtrType(Addr->getType());
5586 SunkAddr = Builder.CreatePtrToInt(SunkAddr, IntPtrTy, "sunkaddr");
5625 if (cast<IntegerType>(IntPtrTy)->getBitWidth() >
5673 if (V->getType() != IntPtrTy)
5674 V = Builder.CreateIntCast(V, IntPtrTy, /*isSigned=*/true, "sunkaddr");
5682 if (V->getType() == IntPtrTy) {
5685 assert(cast<IntegerType>(IntPtrTy)->getBitWidth() <
5688 V = Builder.CreateTrunc(V, IntPtrTy, "sunkaddr");
5692 V = Builder.CreateMul(V, ConstantInt::get(IntPtrTy, AddrMode.Scale),
5702 Value *V = ConstantInt::get(IntPtrTy, AddrMode.BaseOffs);
5733 SunkAddr = Builder.CreatePtrToInt(SunkAddr, IntPtrTy, "sunkaddr");
5756 Type *IntPtrTy = DL->getIntPtrType(Addr->getType());
5767 V = Builder.CreatePtrToInt(V, IntPtrTy, "sunkaddr");
5768 if (V->getType() != IntPtrTy)
5769 V = Builder.CreateIntCast(V, IntPtrTy, /*isSigned=*/true, "sunkaddr");
5776 if (V->getType() == IntPtrTy) {
5779 V = Builder.CreatePtrToInt(V, IntPtrTy, "sunkaddr");
5780 } else if (cast<IntegerType>(IntPtrTy)->getBitWidth() <
5782 V = Builder.CreateTrunc(V, IntPtrTy, "sunkaddr");
5795 V = Builder.CreateMul(V, ConstantInt::get(IntPtrTy, AddrMode.Scale),
5812 Value *V = Builder.CreatePtrToInt(BaseGVPtr, IntPtrTy, "sunkaddr");
5821 Value *V = ConstantInt::get(IntPtrTy, AddrMode.BaseOffs);