Lines Matching refs:IntptrTy
373 Type *IntptrTy; member in __anone00de11f0111::HWAddressSanitizer
566 IntptrTy = IRB.getIntPtrTy(DL); in initializeModule()
617 Constant *C = M.getOrInsertGlobal("__hwasan_tls", IntptrTy, [&] { in initializeModule()
618 auto *GV = new GlobalVariable(M, IntptrTy, /*isConstant=*/false, in initializeModule()
637 FunctionType::get(IRB.getVoidTy(), {IntptrTy, IntptrTy}, false)); in initializeCallbacks()
645 FunctionType::get(IRB.getVoidTy(), {IntptrTy}, false)); in initializeCallbacks()
650 "__hwasan_tag_memory", IRB.getVoidTy(), Int8PtrTy, Int8Ty, IntptrTy); in initializeCallbacks()
666 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
669 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
672 IRB.getInt32Ty(), IntptrTy); in initializeCallbacks()
675 M.getOrInsertFunction("__hwasan_handle_vfork", IRB.getVoidTy(), IntptrTy); in initializeCallbacks()
698 ConstantInt::get(IntptrTy, Mapping.Offset), Int8PtrTy)); in getShadowNonTls()
798 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in untagPointerOperand()
845 Value *PtrLong = IRB.CreatePointerCast(Ptr, IntptrTy); in instrumentMemAccessInline()
937 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()
943 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()
964 IRB.CreatePointerCast(Addr, IntptrTy)); in instrumentMemAccess()
972 {IRB.CreatePointerCast(Addr, IntptrTy), in instrumentMemAccess()
973 ConstantInt::get(IntptrTy, O.TypeSize / 8)}); in instrumentMemAccess()
990 ConstantInt::get(IntptrTy, AlignedSize)}); in tagAlloca()
993 Value *ShadowPtr = memToShadow(IRB.CreatePointerCast(AI, IntptrTy), IRB); in tagAlloca()
1036 Constant *TagMask = ConstantInt::get(IntptrTy, TagMaskByte); in applyTagMask()
1045 return IRB.CreateZExt(IRB.CreateCall(HwasanGenerateTagFunc), IntptrTy); in getNextTagWithCall()
1069 ConstantInt::get(IntptrTy, retagMask(AllocaNo))); in getAllocaTag()
1074 return ConstantInt::get(IntptrTy, 0); in getUARTag()
1077 return IRB.CreateXor(StackTag, ConstantInt::get(IntptrTy, TagMaskByte)); in getUARTag()
1089 ConstantInt::get(IntptrTy, (1ULL << PointerTagShift) - 1)); in tagPointer()
1140 return IRB.CreatePtrToInt(IRB.GetInsertBlock()->getParent(), IntptrTy); in getPC()
1155 IntptrTy); in getSP()
1190 SlotPtr = getHwasanThreadSlotPtr(IRB, IntptrTy); in emitPrologue()
1192 ThreadLong = IRB.CreateLoad(IntptrTy, SlotPtr); in emitPrologue()
1216 IntptrTy->getPointerTo(0)); in emitPrologue()
1228 ConstantInt::get(IntptrTy, (uint64_t)-1)); in emitPrologue()
1230 IRB.CreateAdd(ThreadLong, ConstantInt::get(IntptrTy, 8)), WrapMask); in emitPrologue()
1251 ConstantInt::get(IntptrTy, (1ULL << kShadowBaseAlignment) - 1)), in emitPrologue()
1252 ConstantInt::get(IntptrTy, 1), "hwasan.shadow"); in emitPrologue()
1260 Intrinsic::getDeclaration(M, Intrinsic::read_register, IntptrTy); in readRegister()
1303 Value *AILong = IRB.CreatePointerCast(AI, IntptrTy); in instrumentStack()