Lines Matching defs:IntptrTy

606   Type *IntptrTy; ///< Integer type with the size of a ptr in default AS.
853 "__msan_poison_alloca", IRB.getVoidTy(), PtrTy, IntptrTy, PtrTy);
855 "__msan_unpoison_alloca", IRB.getVoidTy(), PtrTy, IntptrTy);
929 IRB.getVoidTy(), PtrTy, IntptrTy, PtrTy, PtrTy);
932 IRB.getVoidTy(), PtrTy, IntptrTy, PtrTy);
934 IRB.getVoidTy(), PtrTy, IntptrTy);
953 IRB.getVoidTy(), PtrTy, IntptrTy, IRB.getInt32Ty());
955 M.getOrInsertFunction("__msan_memmove", PtrTy, PtrTy, PtrTy, IntptrTy);
957 M.getOrInsertFunction("__msan_memcpy", PtrTy, PtrTy, PtrTy, IntptrTy);
960 PtrTy, PtrTy, IRB.getInt32Ty(), IntptrTy);
963 "__msan_instrument_asm_store", IRB.getVoidTy(), PtrTy, IntptrTy);
1071 IntptrTy = IRB.getIntPtrTy(DL);
1249 unsigned IntptrSize = DL.getTypeStoreSize(MS.IntptrTy);
1253 Origin = IRB.CreateIntCast(Origin, MS.IntptrTy, /* isSigned */ false);
1261 const Align IntptrAlignment = DL.getABITypeAlign(MS.IntptrTy);
1262 unsigned IntptrSize = DL.getTypeStoreSize(MS.IntptrTy);
1269 Value *Size = IRB.CreateTypeSize(MS.IntptrTy, TS);
1271 IRB.CreateAdd(Size, ConstantInt::get(MS.IntptrTy, kOriginSize - 1));
1273 IRB.CreateUDiv(RoundUp, ConstantInt::get(MS.IntptrTy, kOriginSize));
1291 Value *Ptr = i ? IRB.CreateConstGEP1_32(MS.IntptrTy, IntptrOriginPtr, i)
1705 return MS.IntptrTy;
1714 assert(IntPtrTy == MS.IntptrTy);
1724 assert(IntPtrTy == MS.IntptrTy);
1725 return ConstantInt::get(MS.IntptrTy, C);
1738 Type *IntptrTy = ptrToIntPtrType(Addr->getType());
1739 Value *OffsetLong = IRB.CreatePointerCast(Addr, IntptrTy);
1742 OffsetLong = IRB.CreateAnd(OffsetLong, constToIntPtr(IntptrTy, ~AndMask));
1745 OffsetLong = IRB.CreateXor(OffsetLong, constToIntPtr(IntptrTy, XorMask));
1766 Type *IntptrTy = ptrToIntPtrType(Addr->getType());
1771 IRB.CreateAdd(ShadowLong, constToIntPtr(IntptrTy, ShadowBase));
1774 ShadowLong, getPtrToShadowPtrType(IntptrTy, ShadowTy));
1782 IRB.CreateAdd(OriginLong, constToIntPtr(IntptrTy, OriginBase));
1785 OriginLong = IRB.CreateAnd(OriginLong, constToIntPtr(IntptrTy, ~Mask));
1788 OriginLong, getPtrToShadowPtrType(IntptrTy, MS.OriginTy));
1818 Value *SizeVal = ConstantInt::get(MS.IntptrTy, Size);
1880 Value *Base = IRB.CreatePointerCast(MS.ParamTLS, MS.IntptrTy);
1882 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset));
1890 Value *Base = IRB.CreatePointerCast(MS.ParamOriginTLS, MS.IntptrTy);
1892 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset));
2889 IRB.CreateIntCast(I.getArgOperand(2), MS.IntptrTy, false)});
2912 IRB.CreateIntCast(I.getArgOperand(2), MS.IntptrTy, false)});
2923 IRB.CreateIntCast(I.getArgOperand(2), MS.IntptrTy, false)});
5149 Value *Len = IRB.CreateTypeSize(MS.IntptrTy, TS);
5152 IRB.CreateZExtOrTrunc(I.getArraySize(), MS.IntptrTy));
5309 Value *SizeVal = IRB.CreateTypeSize(MS.IntptrTy, Size);
5430 Value *Base = IRB.CreatePointerCast(MS.VAArgTLS, MS.IntptrTy);
5431 return IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset));
5436 Value *Base = IRB.CreatePointerCast(MS.VAArgTLS, MS.IntptrTy);
5437 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset));
5452 Value *Base = IRB.CreatePointerCast(MS.VAArgOriginTLS, MS.IntptrTy);
5456 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset));
5659 ConstantInt::get(MS.IntptrTy, AMD64FpEndOffset), VAArgOverflowSize);
5667 ConstantInt::get(MS.IntptrTy, kParamTLSSize));
5685 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy),
5686 ConstantInt::get(MS.IntptrTy, 16)),
5700 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy),
5701 ConstantInt::get(MS.IntptrTy, 8)),
5833 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy),
5834 ConstantInt::get(MS.IntptrTy, offset)),
5842 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy),
5843 ConstantInt::get(MS.IntptrTy, offset)),
5846 return IRB.CreateSExt(SaveArea32, MS.IntptrTy);
5859 ConstantInt::get(MS.IntptrTy, AArch64VAEndOffset), VAArgOverflowSize);
5867 ConstantInt::get(MS.IntptrTy, kParamTLSSize));
5872 Value *GrArgSize = ConstantInt::get(MS.IntptrTy, kAArch64GrArgSize);
5873 Value *VrArgSize = ConstantInt::get(MS.IntptrTy, kAArch64VrArgSize);
6060 ConstantInt::get(MS.IntptrTy, VAArgOffset - VAArgBase);
6095 Value *RegSaveAreaPtrPtr = IRB.CreatePtrToInt(VAListTag, MS.IntptrTy);
6100 IRB.CreateAdd(RegSaveAreaPtrPtr, ConstantInt::get(MS.IntptrTy, 8));
6107 unsigned IntptrSize = DL.getTypeStoreSize(MS.IntptrTy);
6311 IRB.CreatePtrToInt(VAListTag, MS.IntptrTy),
6312 ConstantInt::get(MS.IntptrTy, SystemZRegSaveAreaPtrOffset)),
6337 IRB.CreatePtrToInt(VAListTag, MS.IntptrTy),
6338 ConstantInt::get(MS.IntptrTy, SystemZOverflowArgAreaPtrOffset)),
6368 IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, SystemZOverflowOffset),
6377 ConstantInt::get(MS.IntptrTy, kParamTLSSize));
6410 unsigned IntptrSize = DL.getTypeStoreSize(MS.IntptrTy);
6457 Constant *TotalVAArgSize = ConstantInt::get(MS.IntptrTy, VAArgOffset);
6492 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy),
6498 unsigned IntptrSize = DL.getTypeStoreSize(MS.IntptrTy);
6522 unsigned IntptrSize = DL.getTypeStoreSize(MS.IntptrTy);
6542 Constant *TotalVAArgSize = ConstantInt::get(MS.IntptrTy, VAArgOffset);
6577 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy),
6583 unsigned IntptrSize = DL.getTypeStoreSize(MS.IntptrTy);