Lines Matching refs:IsWrite
479 /// and set IsWrite/Alignment. Otherwise return nullptr.
480 Value *isInterestingMemoryAccess(Instruction *I, bool *IsWrite,
486 Value *Addr, uint32_t TypeSize, bool IsWrite,
489 uint32_t TypeSize, bool IsWrite,
495 bool IsWrite, size_t AccessSizeIndex,
936 /// and set IsWrite/Alignment. Otherwise return nullptr.
938 bool *IsWrite,
948 *IsWrite = false;
954 *IsWrite = true;
960 *IsWrite = true;
966 *IsWrite = true;
1031 bool IsWrite = false;
1034 Value *Addr = isInterestingMemoryAccess(I, &IsWrite, &TypeSize, &Alignment);
1070 if (IsWrite)
1081 return instrumentAddress(I, I, Addr, TypeSize, IsWrite, nullptr, UseCalls,
1083 instrumentUnusualSizeOrAlignment(I, Addr, TypeSize, IsWrite, nullptr,
1088 Value *Addr, bool IsWrite,
1097 Call = IRB.CreateCall(AsanErrorCallbackSized[IsWrite][0],
1100 Call = IRB.CreateCall(AsanErrorCallbackSized[IsWrite][1],
1105 IRB.CreateCall(AsanErrorCallback[IsWrite][0][AccessSizeIndex], Addr);
1107 Call = IRB.CreateCall(AsanErrorCallback[IsWrite][1][AccessSizeIndex],
1138 uint32_t TypeSize, bool IsWrite,
1147 IRB.CreateCall(AsanMemoryAccessCallback[IsWrite][0][AccessSizeIndex],
1150 IRB.CreateCall(AsanMemoryAccessCallback[IsWrite][1][AccessSizeIndex],
1189 Instruction *Crash = generateCrashCode(CrashTerm, AddrLong, IsWrite,
1199 Instruction *I, Value *Addr, uint32_t TypeSize, bool IsWrite,
1206 IRB.CreateCall(AsanMemoryAccessCallbackSized[IsWrite][0],
1209 IRB.CreateCall(AsanMemoryAccessCallbackSized[IsWrite][1],
1215 instrumentAddress(I, I, Addr, 8, IsWrite, Size, false, Exp);
1216 instrumentAddress(I, I, LastByte, 8, IsWrite, Size, false, Exp);
1641 // IsWrite, TypeSize and Exp are encoded in the function name.
1797 bool IsWrite;
1810 if (Value *Addr = isInterestingMemoryAccess(&Inst, &IsWrite, &TypeSize,
1853 if (isInterestingMemoryAccess(Inst, &IsWrite, &TypeSize, &Alignment))