Lines Matching refs:Addr
370 Value *Addr, uint32_t TypeSize, bool IsWrite,
374 Instruction *generateCrashCode(Instruction *InsertBefore, Value *Addr,
731 Value *Addr = isInterestingMemoryAccess(I, &IsWrite, &Alignment);
732 assert(Addr);
734 if (GlobalVariable *G = dyn_cast<GlobalVariable>(Addr)) {
742 ConstantExpr *CE = dyn_cast<ConstantExpr>(Addr);
753 Type *OrigPtrTy = Addr->getType();
772 return instrumentAddress(I, I, Addr, TypeSize, IsWrite, nullptr, UseCalls);
775 // and the last bytes. We call __asan_report_*_n(addr, real_size) to be able
779 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy);
786 instrumentAddress(I, I, Addr, 8, IsWrite, Size, false);
803 Instruction *InsertBefore, Value *Addr,
807 ? IRB.CreateCall2(AsanErrorCallbackSized[IsWrite], Addr, SizeArgument)
808 : IRB.CreateCall(AsanErrorCallback[IsWrite][AccessSizeIndex], Addr);
821 // Addr & (Granularity - 1)
824 // (Addr & (Granularity - 1)) + size - 1
828 // (uint8_t) ((Addr & (Granularity-1)) + size - 1)
831 // ((uint8_t) ((Addr & (Granularity-1)) + size - 1)) >= ShadowValue
836 Instruction *InsertBefore, Value *Addr,
840 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy);
1385 if (Value *Addr =
1388 if (!TempsToInstrument.insert(Addr))