Lines Matching refs:IsWrite
418 const bool IsWrite = isa<StoreInst>(*I); in chooseInstructionsToInstrument() local
419 Value *Addr = IsWrite ? cast<StoreInst>(I)->getPointerOperand() in chooseInstructionsToInstrument()
425 if (!IsWrite) { in chooseInstructionsToInstrument()
460 if (IsWrite) { in chooseInstructionsToInstrument()
589 const bool IsWrite = isa<StoreInst>(*II.Inst); in instrumentLoadOrStore() local
590 Value *Addr = IsWrite ? cast<StoreInst>(II.Inst)->getPointerOperand() in instrumentLoadOrStore()
603 if (IsWrite && isVtableAccess(II.Inst)) { in instrumentLoadOrStore()
619 if (!IsWrite && isVtableAccess(II.Inst)) { in instrumentLoadOrStore()
625 const Align Alignment = IsWrite ? cast<StoreInst>(II.Inst)->getAlign() in instrumentLoadOrStore()
630 (IsWrite ? cast<StoreInst>(II.Inst)->isVolatile() in instrumentLoadOrStore()
640 OnAccessFunc = IsWrite ? TsanVolatileWrite[Idx] : TsanVolatileRead[Idx]; in instrumentLoadOrStore()
642 OnAccessFunc = IsWrite ? TsanWrite[Idx] : TsanRead[Idx]; in instrumentLoadOrStore()
647 OnAccessFunc = IsWrite ? TsanUnalignedVolatileWrite[Idx] in instrumentLoadOrStore()
650 OnAccessFunc = IsWrite ? TsanUnalignedWrite[Idx] : TsanUnalignedRead[Idx]; in instrumentLoadOrStore()
653 if (IsCompoundRW || IsWrite) in instrumentLoadOrStore()
655 if (IsCompoundRW || !IsWrite) in instrumentLoadOrStore()