Lines Matching defs:IntptrTy
581 Type *IntptrTy; ///< Integer type with the size of a ptr in default AS.
829 "__msan_poison_alloca", IRB.getVoidTy(), PtrTy, IntptrTy, PtrTy);
831 "__msan_unpoison_alloca", IRB.getVoidTy(), PtrTy, IntptrTy);
904 IRB.getVoidTy(), PtrTy, IntptrTy, PtrTy, PtrTy);
907 IRB.getVoidTy(), PtrTy, IntptrTy, PtrTy);
909 IRB.getVoidTy(), PtrTy, IntptrTy);
927 IRB.getVoidTy(), PtrTy, IntptrTy, IRB.getInt32Ty());
929 M.getOrInsertFunction("__msan_memmove", PtrTy, PtrTy, PtrTy, IntptrTy);
931 M.getOrInsertFunction("__msan_memcpy", PtrTy, PtrTy, PtrTy, IntptrTy);
934 PtrTy, PtrTy, IRB.getInt32Ty(), IntptrTy);
938 PointerType::get(IRB.getInt8Ty(), 0), IntptrTy);
1046 IntptrTy = IRB.getIntPtrTy(DL);
1223 unsigned IntptrSize = DL.getTypeStoreSize(MS.IntptrTy);
1227 Origin = IRB.CreateIntCast(Origin, MS.IntptrTy, /* isSigned */ false);
1235 const Align IntptrAlignment = DL.getABITypeAlign(MS.IntptrTy);
1236 unsigned IntptrSize = DL.getTypeStoreSize(MS.IntptrTy);
1243 Value *Size = IRB.CreateTypeSize(MS.IntptrTy, TS);
1245 IRB.CreateAdd(Size, ConstantInt::get(MS.IntptrTy, kOriginSize - 1));
1247 IRB.CreateUDiv(RoundUp, ConstantInt::get(MS.IntptrTy, kOriginSize));
1264 IRB.CreatePointerCast(OriginPtr, PointerType::get(MS.IntptrTy, 0));
1266 Value *Ptr = i ? IRB.CreateConstGEP1_32(MS.IntptrTy, IntptrOriginPtr, i)
1680 return MS.IntptrTy;
1689 assert(IntPtrTy == MS.IntptrTy);
1698 assert(IntPtrTy == MS.IntptrTy);
1699 return ConstantInt::get(MS.IntptrTy, C);
1710 Type *IntptrTy = ptrToIntPtrType(Addr->getType());
1711 Value *OffsetLong = IRB.CreatePointerCast(Addr, IntptrTy);
1714 OffsetLong = IRB.CreateAnd(OffsetLong, constToIntPtr(IntptrTy, ~AndMask));
1717 OffsetLong = IRB.CreateXor(OffsetLong, constToIntPtr(IntptrTy, XorMask));
1738 Type *IntptrTy = ptrToIntPtrType(Addr->getType());
1743 IRB.CreateAdd(ShadowLong, constToIntPtr(IntptrTy, ShadowBase));
1746 ShadowLong, getPtrToShadowPtrType(IntptrTy, ShadowTy));
1754 IRB.CreateAdd(OriginLong, constToIntPtr(IntptrTy, OriginBase));
1757 OriginLong = IRB.CreateAnd(OriginLong, constToIntPtr(IntptrTy, ~Mask));
1760 OriginLong, getPtrToShadowPtrType(IntptrTy, MS.OriginTy));
1791 Value *SizeVal = ConstantInt::get(MS.IntptrTy, Size);
1853 Value *Base = IRB.CreatePointerCast(MS.ParamTLS, MS.IntptrTy);
1855 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset));
1863 Value *Base = IRB.CreatePointerCast(MS.ParamOriginTLS, MS.IntptrTy);
1865 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset));
2881 IRB.CreateIntCast(I.getArgOperand(2), MS.IntptrTy, false)});
2904 IRB.CreateIntCast(I.getArgOperand(2), MS.IntptrTy, false)});
2915 IRB.CreateIntCast(I.getArgOperand(2), MS.IntptrTy, false)});
4664 Value *Len = IRB.CreateTypeSize(MS.IntptrTy, TS);
4667 IRB.CreateZExtOrTrunc(I.getArraySize(), MS.IntptrTy));
4824 Value *SizeVal = IRB.CreateTypeSize(MS.IntptrTy, Size);
4945 Value *Base = IRB.CreatePointerCast(MS.VAArgTLS, MS.IntptrTy);
4946 return IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset));
4952 Value *Base = IRB.CreatePointerCast(MS.VAArgTLS, MS.IntptrTy);
4953 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset));
4969 Value *Base = IRB.CreatePointerCast(MS.VAArgOriginTLS, MS.IntptrTy);
4973 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset));
5179 ConstantInt::get(MS.IntptrTy, AMD64FpEndOffset), VAArgOverflowSize);
5187 ConstantInt::get(MS.IntptrTy, kParamTLSSize));
5206 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy),
5207 ConstantInt::get(MS.IntptrTy, 16)),
5223 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy),
5224 ConstantInt::get(MS.IntptrTy, 8)),
5290 IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, 0), VAArgSize);
5302 ConstantInt::get(MS.IntptrTy, kParamTLSSize));
5314 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy),
5439 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy),
5440 ConstantInt::get(MS.IntptrTy, offset)),
5448 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy),
5449 ConstantInt::get(MS.IntptrTy, offset)),
5452 return IRB.CreateSExt(SaveArea32, MS.IntptrTy);
5465 ConstantInt::get(MS.IntptrTy, AArch64VAEndOffset), VAArgOverflowSize);
5473 ConstantInt::get(MS.IntptrTy, kParamTLSSize));
5478 Value *GrArgSize = ConstantInt::get(MS.IntptrTy, kAArch64GrArgSize);
5479 Value *VrArgSize = ConstantInt::get(MS.IntptrTy, kAArch64VrArgSize);
5673 IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, 0), VAArgSize);
5686 ConstantInt::get(MS.IntptrTy, kParamTLSSize));
5698 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy),
5908 IRB.CreatePtrToInt(VAListTag, MS.IntptrTy),
5909 ConstantInt::get(MS.IntptrTy, SystemZRegSaveAreaPtrOffset)),
5935 IRB.CreatePtrToInt(VAListTag, MS.IntptrTy),
5936 ConstantInt::get(MS.IntptrTy, SystemZOverflowArgAreaPtrOffset)),
5967 IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, SystemZOverflowOffset),
5976 ConstantInt::get(MS.IntptrTy, kParamTLSSize));