Lines Matching refs:IntptrTy
321 Type *IntptrTy; member in __anonb30972230111::HWAddressSanitizer
576 IntptrTy = IRB.getIntPtrTy(DL); in initializeModule()
627 Constant *C = M.getOrInsertGlobal("__hwasan_tls", IntptrTy, [&] { in initializeModule()
628 auto *GV = new GlobalVariable(M, IntptrTy, /*isConstant=*/false, in initializeModule()
647 FunctionType::get(IRB.getVoidTy(), {IntptrTy, IntptrTy}, false)); in initializeCallbacks()
655 FunctionType::get(IRB.getVoidTy(), {IntptrTy}, false)); in initializeCallbacks()
660 "__hwasan_tag_memory", IRB.getVoidTy(), Int8PtrTy, Int8Ty, IntptrTy); in initializeCallbacks()
671 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
674 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
677 IRB.getInt32Ty(), IntptrTy); in initializeCallbacks()
680 M.getOrInsertFunction("__hwasan_handle_vfork", IRB.getVoidTy(), IntptrTy); in initializeCallbacks()
703 ConstantInt::get(IntptrTy, Mapping.Offset), Int8PtrTy)); in getShadowNonTls()
797 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in untagPointerOperand()
836 Value *PtrLong = IRB.CreatePointerCast(Ptr, IntptrTy); in instrumentMemAccessInline()
918 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()
924 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()
945 IRB.CreatePointerCast(Addr, IntptrTy)); in instrumentMemAccess()
951 {IRB.CreatePointerCast(Addr, IntptrTy), in instrumentMemAccess()
952 ConstantInt::get(IntptrTy, O.TypeSize / 8)}); in instrumentMemAccess()
981 ConstantInt::get(IntptrTy, AlignedSize)}); in tagAlloca()
984 Value *ShadowPtr = memToShadow(IRB.CreatePointerCast(AI, IntptrTy), IRB); in tagAlloca()
1028 Constant *TagMask = ConstantInt::get(IntptrTy, TagMaskByte); in applyTagMask()
1037 return IRB.CreateZExt(IRB.CreateCall(HwasanGenerateTagFunc), IntptrTy); in getNextTagWithCall()
1057 Value *StackPointerLong = IRB.CreatePointerCast(StackPointer, IntptrTy); in getStackBaseTag()
1070 ConstantInt::get(IntptrTy, retagMask(AllocaNo))); in getAllocaTag()
1075 return ConstantInt::get(IntptrTy, 0); in getUARTag()
1078 return IRB.CreateXor(StackTag, ConstantInt::get(IntptrTy, TagMaskByte)); in getUARTag()
1090 ConstantInt::get(IntptrTy, (1ULL << PointerTagShift) - 1)); in tagPointer()
1146 Value *SlotPtr = getHwasanThreadSlotPtr(IRB, IntptrTy); in emitPrologue()
1149 Value *ThreadLong = IRB.CreateLoad(IntptrTy, SlotPtr); in emitPrologue()
1163 PC = IRB.CreatePtrToInt(F, IntptrTy); in emitPrologue()
1171 IntptrTy); in emitPrologue()
1182 IRB.CreateIntToPtr(ThreadLongMaybeUntagged, IntptrTy->getPointerTo(0)); in emitPrologue()
1194 ConstantInt::get(IntptrTy, (uint64_t)-1)); in emitPrologue()
1196 IRB.CreateAdd(ThreadLong, ConstantInt::get(IntptrTy, 8)), WrapMask); in emitPrologue()
1207 ConstantInt::get(IntptrTy, (1ULL << kShadowBaseAlignment) - 1)), in emitPrologue()
1208 ConstantInt::get(IntptrTy, 1), "hwasan.shadow"); in emitPrologue()
1216 Intrinsic::getDeclaration(M, Intrinsic::read_register, IntptrTy); in readRegister()
1249 Value *AILong = IRB.CreatePointerCast(AI, IntptrTy); in instrumentStack()