Lines Matching refs:IsWrite
432 const bool IsWrite = isa<StoreInst>(*I); in chooseInstructionsToInstrument() local
433 Value *Addr = IsWrite ? cast<StoreInst>(I)->getPointerOperand() in chooseInstructionsToInstrument()
439 if (!IsWrite) { in chooseInstructionsToInstrument()
474 if (IsWrite) { in chooseInstructionsToInstrument()
600 const bool IsWrite = isa<StoreInst>(*II.Inst); in instrumentLoadOrStore() local
601 Value *Addr = IsWrite ? cast<StoreInst>(II.Inst)->getPointerOperand() in instrumentLoadOrStore()
614 if (IsWrite && isVtableAccess(II.Inst)) { in instrumentLoadOrStore()
632 if (!IsWrite && isVtableAccess(II.Inst)) { in instrumentLoadOrStore()
639 const Align Alignment = IsWrite ? cast<StoreInst>(II.Inst)->getAlign() in instrumentLoadOrStore()
644 (IsWrite ? cast<StoreInst>(II.Inst)->isVolatile() in instrumentLoadOrStore()
654 OnAccessFunc = IsWrite ? TsanVolatileWrite[Idx] : TsanVolatileRead[Idx]; in instrumentLoadOrStore()
656 OnAccessFunc = IsWrite ? TsanWrite[Idx] : TsanRead[Idx]; in instrumentLoadOrStore()
661 OnAccessFunc = IsWrite ? TsanUnalignedVolatileWrite[Idx] in instrumentLoadOrStore()
664 OnAccessFunc = IsWrite ? TsanUnalignedWrite[Idx] : TsanUnalignedRead[Idx]; in instrumentLoadOrStore()
667 if (IsCompoundRW || IsWrite) in instrumentLoadOrStore()
669 if (IsCompoundRW || !IsWrite) in instrumentLoadOrStore()