Lines Matching refs:IntptrTy

522   Type *IntptrTy;  member in __anon158d17f70211::MemorySanitizer
762 IRB.getInt8PtrTy(), IntptrTy, IRB.getInt8PtrTy()); in createKernelApi()
764 "__msan_unpoison_alloca", IRB.getVoidTy(), IRB.getInt8PtrTy(), IntptrTy); in createKernelApi()
839 "__msan_set_alloca_origin4", IRB.getVoidTy(), IRB.getInt8PtrTy(), IntptrTy, in createUserspaceApi()
840 IRB.getInt8PtrTy(), IntptrTy); in createUserspaceApi()
843 IRB.getInt8PtrTy(), IntptrTy); in createUserspaceApi()
859 IRB.getInt8PtrTy(), IntptrTy, IRB.getInt32Ty()); in initializeCallbacks()
862 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
865 IntptrTy); in initializeCallbacks()
868 IntptrTy); in initializeCallbacks()
872 PointerType::get(IRB.getInt8Ty(), 0), IntptrTy); in initializeCallbacks()
973 IntptrTy = IRB.getIntPtrTy(DL); in initializeModule()
1123 unsigned IntptrSize = DL.getTypeStoreSize(MS.IntptrTy); in originToIntptr()
1126 Origin = IRB.CreateIntCast(Origin, MS.IntptrTy, /* isSigned */ false); in originToIntptr()
1134 const Align IntptrAlignment = DL.getABITypeAlign(MS.IntptrTy); in paintOrigin()
1135 unsigned IntptrSize = DL.getTypeStoreSize(MS.IntptrTy); in paintOrigin()
1144 IRB.CreatePointerCast(OriginPtr, PointerType::get(MS.IntptrTy, 0)); in paintOrigin()
1146 Value *Ptr = i ? IRB.CreateConstGEP1_32(MS.IntptrTy, IntptrOriginPtr, i) in paintOrigin()
1463 Value *OffsetLong = IRB.CreatePointerCast(Addr, MS.IntptrTy); in getShadowPtrOffset()
1468 IRB.CreateAnd(OffsetLong, ConstantInt::get(MS.IntptrTy, ~AndMask)); in getShadowPtrOffset()
1473 IRB.CreateXor(OffsetLong, ConstantInt::get(MS.IntptrTy, XorMask)); in getShadowPtrOffset()
1491 ConstantInt::get(MS.IntptrTy, ShadowBase)); in getShadowOriginPtrUserspace()
1501 ConstantInt::get(MS.IntptrTy, OriginBase)); in getShadowOriginPtrUserspace()
1505 IRB.CreateAnd(OriginLong, ConstantInt::get(MS.IntptrTy, ~Mask)); in getShadowOriginPtrUserspace()
1527 Value *SizeVal = ConstantInt::get(MS.IntptrTy, Size); in getShadowOriginPtrKernel()
1553 Value *Base = IRB.CreatePointerCast(MS.ParamTLS, MS.IntptrTy); in getShadowPtrForArgument()
1555 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getShadowPtrForArgument()
1565 Value *Base = IRB.CreatePointerCast(MS.ParamOriginTLS, MS.IntptrTy); in getOriginPtrForArgument()
1567 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getOriginPtrForArgument()
2556 IRB.CreateIntCast(I.getArgOperand(2), MS.IntptrTy, false)}); in visitMemMoveInst()
2570 IRB.CreateIntCast(I.getArgOperand(2), MS.IntptrTy, false)}); in visitMemCpyInst()
2581 IRB.CreateIntCast(I.getArgOperand(2), MS.IntptrTy, false)}); in visitMemSetInst()
3881 IRB.CreatePointerCast(&F, MS.IntptrTy)}); in poisonAllocaUserspace()
3903 Value *Len = ConstantInt::get(MS.IntptrTy, TypeSize); in instrumentAlloca()
4061 Value *SizeVal = ConstantInt::get(MS.IntptrTy, Size); in instrumentAsmArgument()
4310 Value *Base = IRB.CreatePointerCast(MS.VAArgTLS, MS.IntptrTy); in getShadowPtrForVAArgument()
4311 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getShadowPtrForVAArgument()
4318 Value *Base = IRB.CreatePointerCast(MS.VAArgOriginTLS, MS.IntptrTy); in getOriginPtrForVAArgument()
4322 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getOriginPtrForVAArgument()
4366 IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, AMD64FpEndOffset), in finalizeInstrumentation()
4386 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
4387 ConstantInt::get(MS.IntptrTy, 16)), in finalizeInstrumentation()
4403 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
4404 ConstantInt::get(MS.IntptrTy, 8)), in finalizeInstrumentation()
4475 Value *Base = IRB.CreatePointerCast(MS.VAArgTLS, MS.IntptrTy); in getShadowPtrForVAArgument()
4476 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getShadowPtrForVAArgument()
4510 Value *CopySize = IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, 0), in finalizeInstrumentation()
4528 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
4644 Value *Base = IRB.CreatePointerCast(MS.VAArgTLS, MS.IntptrTy); in getShadowPtrForVAArgument()
4645 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getShadowPtrForVAArgument()
4678 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in getVAField64()
4679 ConstantInt::get(MS.IntptrTy, offset)), in getVAField64()
4688 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in getVAField32()
4689 ConstantInt::get(MS.IntptrTy, offset)), in getVAField32()
4692 return IRB.CreateSExt(SaveArea32, MS.IntptrTy); in getVAField32()
4705 IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, AArch64VAEndOffset), in finalizeInstrumentation()
4711 Value *GrArgSize = ConstantInt::get(MS.IntptrTy, kAArch64GrArgSize); in finalizeInstrumentation()
4712 Value *VrArgSize = ConstantInt::get(MS.IntptrTy, kAArch64VrArgSize); in finalizeInstrumentation()
4912 Value *Base = IRB.CreatePointerCast(MS.VAArgTLS, MS.IntptrTy); in getShadowPtrForVAArgument()
4913 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getShadowPtrForVAArgument()
4948 Value *CopySize = IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, 0), in finalizeInstrumentation()
4966 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
5182 Value *Base = IRB.CreatePointerCast(MS.VAArgTLS, MS.IntptrTy); in getShadowAddrForVAArgument()
5183 return IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getShadowAddrForVAArgument()
5187 Value *Base = IRB.CreatePointerCast(MS.VAArgOriginTLS, MS.IntptrTy); in getOriginPtrForVAArgument()
5188 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getOriginPtrForVAArgument()
5216 IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in copyRegSaveArea()
5217 ConstantInt::get(MS.IntptrTy, SystemZRegSaveAreaPtrOffset)), in copyRegSaveArea()
5237 IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in copyOverflowArea()
5238 ConstantInt::get(MS.IntptrTy, SystemZOverflowArgAreaPtrOffset)), in copyOverflowArea()
5269 IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, SystemZOverflowOffset), in finalizeInstrumentation()