Lines Matching refs:IntptrTy

537   Type *IntptrTy;  member in __anon54a388730211::MemorySanitizer
752 IRB.getInt8PtrTy(), IntptrTy, IRB.getInt8PtrTy()); in createKernelApi()
754 "__msan_unpoison_alloca", IRB.getVoidTy(), IRB.getInt8PtrTy(), IntptrTy); in createKernelApi()
829 "__msan_set_alloca_origin4", IRB.getVoidTy(), IRB.getInt8PtrTy(), IntptrTy, in createUserspaceApi()
830 IRB.getInt8PtrTy(), IntptrTy); in createUserspaceApi()
833 IRB.getInt8PtrTy(), IntptrTy); in createUserspaceApi()
849 IRB.getInt8PtrTy(), IntptrTy, IRB.getInt32Ty()); in initializeCallbacks()
852 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
855 IntptrTy); in initializeCallbacks()
858 IntptrTy); in initializeCallbacks()
862 PointerType::get(IRB.getInt8Ty(), 0), IntptrTy); in initializeCallbacks()
966 IntptrTy = IRB.getIntPtrTy(DL); in initializeModule()
1110 unsigned IntptrSize = DL.getTypeStoreSize(MS.IntptrTy); in originToIntptr()
1113 Origin = IRB.CreateIntCast(Origin, MS.IntptrTy, /* isSigned */ false); in originToIntptr()
1121 const Align IntptrAlignment = DL.getABITypeAlign(MS.IntptrTy); in paintOrigin()
1122 unsigned IntptrSize = DL.getTypeStoreSize(MS.IntptrTy); in paintOrigin()
1131 IRB.CreatePointerCast(OriginPtr, PointerType::get(MS.IntptrTy, 0)); in paintOrigin()
1133 Value *Ptr = i ? IRB.CreateConstGEP1_32(MS.IntptrTy, IntptrOriginPtr, i) in paintOrigin()
1450 Value *OffsetLong = IRB.CreatePointerCast(Addr, MS.IntptrTy); in getShadowPtrOffset()
1455 IRB.CreateAnd(OffsetLong, ConstantInt::get(MS.IntptrTy, ~AndMask)); in getShadowPtrOffset()
1460 IRB.CreateXor(OffsetLong, ConstantInt::get(MS.IntptrTy, XorMask)); in getShadowPtrOffset()
1478 ConstantInt::get(MS.IntptrTy, ShadowBase)); in getShadowOriginPtrUserspace()
1488 ConstantInt::get(MS.IntptrTy, OriginBase)); in getShadowOriginPtrUserspace()
1492 IRB.CreateAnd(OriginLong, ConstantInt::get(MS.IntptrTy, ~Mask)); in getShadowOriginPtrUserspace()
1514 Value *SizeVal = ConstantInt::get(MS.IntptrTy, Size); in getShadowOriginPtrKernel()
1540 Value *Base = IRB.CreatePointerCast(MS.ParamTLS, MS.IntptrTy); in getShadowPtrForArgument()
1542 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getShadowPtrForArgument()
1552 Value *Base = IRB.CreatePointerCast(MS.ParamOriginTLS, MS.IntptrTy); in getOriginPtrForArgument()
1554 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getOriginPtrForArgument()
2544 IRB.CreateIntCast(I.getArgOperand(2), MS.IntptrTy, false)}); in visitMemMoveInst()
2559 IRB.CreateIntCast(I.getArgOperand(2), MS.IntptrTy, false)}); in visitMemCpyInst()
2570 IRB.CreateIntCast(I.getArgOperand(2), MS.IntptrTy, false)}); in visitMemSetInst()
3901 IRB.CreatePointerCast(&F, MS.IntptrTy)}); in poisonAllocaUserspace()
3923 Value *Len = ConstantInt::get(MS.IntptrTy, TypeSize); in instrumentAlloca()
4081 Value *SizeVal = ConstantInt::get(MS.IntptrTy, Size); in instrumentAsmArgument()
4332 Value *Base = IRB.CreatePointerCast(MS.VAArgTLS, MS.IntptrTy); in getShadowPtrForVAArgument()
4333 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getShadowPtrForVAArgument()
4340 Value *Base = IRB.CreatePointerCast(MS.VAArgOriginTLS, MS.IntptrTy); in getOriginPtrForVAArgument()
4344 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getOriginPtrForVAArgument()
4388 IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, AMD64FpEndOffset), in finalizeInstrumentation()
4408 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
4409 ConstantInt::get(MS.IntptrTy, 16)), in finalizeInstrumentation()
4425 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
4426 ConstantInt::get(MS.IntptrTy, 8)), in finalizeInstrumentation()
4497 Value *Base = IRB.CreatePointerCast(MS.VAArgTLS, MS.IntptrTy); in getShadowPtrForVAArgument()
4498 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getShadowPtrForVAArgument()
4532 Value *CopySize = IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, 0), in finalizeInstrumentation()
4550 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
4666 Value *Base = IRB.CreatePointerCast(MS.VAArgTLS, MS.IntptrTy); in getShadowPtrForVAArgument()
4667 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getShadowPtrForVAArgument()
4700 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in getVAField64()
4701 ConstantInt::get(MS.IntptrTy, offset)), in getVAField64()
4710 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in getVAField32()
4711 ConstantInt::get(MS.IntptrTy, offset)), in getVAField32()
4714 return IRB.CreateSExt(SaveArea32, MS.IntptrTy); in getVAField32()
4727 IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, AArch64VAEndOffset), in finalizeInstrumentation()
4733 Value *GrArgSize = ConstantInt::get(MS.IntptrTy, kAArch64GrArgSize); in finalizeInstrumentation()
4734 Value *VrArgSize = ConstantInt::get(MS.IntptrTy, kAArch64VrArgSize); in finalizeInstrumentation()
4934 Value *Base = IRB.CreatePointerCast(MS.VAArgTLS, MS.IntptrTy); in getShadowPtrForVAArgument()
4935 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getShadowPtrForVAArgument()
4970 Value *CopySize = IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, 0), in finalizeInstrumentation()
4988 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
5204 Value *Base = IRB.CreatePointerCast(MS.VAArgTLS, MS.IntptrTy); in getShadowAddrForVAArgument()
5205 return IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getShadowAddrForVAArgument()
5209 Value *Base = IRB.CreatePointerCast(MS.VAArgOriginTLS, MS.IntptrTy); in getOriginPtrForVAArgument()
5210 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getOriginPtrForVAArgument()
5238 IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in copyRegSaveArea()
5239 ConstantInt::get(MS.IntptrTy, SystemZRegSaveAreaPtrOffset)), in copyRegSaveArea()
5259 IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in copyOverflowArea()
5260 ConstantInt::get(MS.IntptrTy, SystemZOverflowArgAreaPtrOffset)), in copyOverflowArea()
5291 IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, SystemZOverflowOffset), in finalizeInstrumentation()