reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
373 IntptrTy = IRB.getIntPtrTy(DL); 422 Constant *C = M.getOrInsertGlobal("__hwasan_tls", IntptrTy, [&] { 423 auto *GV = new GlobalVariable(M, IntptrTy, /*isConstant=*/false, 442 FunctionType::get(IRB.getVoidTy(), {IntptrTy, IntptrTy}, false)); 442 FunctionType::get(IRB.getVoidTy(), {IntptrTy, IntptrTy}, false)); 450 FunctionType::get(IRB.getVoidTy(), {IntptrTy}, false)); 455 "__hwasan_tag_memory", IRB.getVoidTy(), Int8PtrTy, Int8Ty, IntptrTy); 466 IRB.getInt8PtrTy(), IntptrTy); 469 IRB.getInt8PtrTy(), IntptrTy); 472 IRB.getInt32Ty(), IntptrTy); 475 M.getOrInsertFunction("__hwasan_handle_vfork", IRB.getVoidTy(), IntptrTy); 588 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); 597 return ConstantExpr::getIntToPtr(ConstantInt::get(IntptrTy, Mapping.Offset), 628 Value *PtrLong = IRB.CreatePointerCast(Ptr, IntptrTy); 708 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)}); 714 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)}); 748 IRB.CreatePointerCast(Addr, IntptrTy)); 754 {IRB.CreatePointerCast(Addr, IntptrTy), 755 ConstantInt::get(IntptrTy, TypeSize / 8)}); 784 ConstantInt::get(IntptrTy, AlignedSize)}); 787 Value *ShadowPtr = memToShadow(IRB.CreatePointerCast(AI, IntptrTy), IRB); 827 return IRB.CreateZExt(IRB.CreateCall(HwasanGenerateTagFunc), IntptrTy); 847 Value *StackPointerLong = IRB.CreatePointerCast(StackPointer, IntptrTy); 859 ConstantInt::get(IntptrTy, RetagMask(AllocaNo))); 864 return ConstantInt::get(IntptrTy, 0); 867 return IRB.CreateXor(StackTag, ConstantInt::get(IntptrTy, 0xFFU)); 878 ConstantInt::get(IntptrTy, (1ULL << kPointerTagShift) - 1)); 934 Value *SlotPtr = getHwasanThreadSlotPtr(IRB, IntptrTy); 937 Instruction *ThreadLong = IRB.CreateLoad(IntptrTy, SlotPtr); 942 IRB.CreateICmpEQ(ThreadLong, ConstantInt::get(IntptrTy, 0)); 951 LoadInst *ReloadThreadLong = IRB.CreateLoad(IntptrTy, SlotPtr); 954 PHINode *ThreadLongPhi = IRB.CreatePHI(IntptrTy, 2); 972 PC = IRB.CreatePtrToInt(F, IntptrTy); 980 IntptrTy); 991 IRB.CreateIntToPtr(ThreadLongMaybeUntagged, IntptrTy->getPointerTo(0)); 1003 ConstantInt::get(IntptrTy, (uint64_t)-1)); 1005 IRB.CreateAdd(ThreadLong, ConstantInt::get(IntptrTy, 8)), WrapMask); 1015 ConstantInt::get(IntptrTy, (1ULL << kShadowBaseAlignment) - 1)), 1016 ConstantInt::get(IntptrTy, 1), "hwasan.shadow"); 1023 Intrinsic::getDeclaration(M, Intrinsic::read_register, IntptrTy); 1056 Value *AILong = IRB.CreatePointerCast(AI, IntptrTy);