Lines Matching refs:IsWrite
419 const bool IsWrite = isa<StoreInst>(*I); in chooseInstructionsToInstrument() local
420 Value *Addr = IsWrite ? cast<StoreInst>(I)->getPointerOperand() in chooseInstructionsToInstrument()
426 if (!IsWrite) { in chooseInstructionsToInstrument()
461 if (IsWrite) { in chooseInstructionsToInstrument()
590 const bool IsWrite = isa<StoreInst>(*II.Inst); in instrumentLoadOrStore() local
591 Value *Addr = IsWrite ? cast<StoreInst>(II.Inst)->getPointerOperand() in instrumentLoadOrStore()
604 if (IsWrite && isVtableAccess(II.Inst)) { in instrumentLoadOrStore()
620 if (!IsWrite && isVtableAccess(II.Inst)) { in instrumentLoadOrStore()
626 const Align Alignment = IsWrite ? cast<StoreInst>(II.Inst)->getAlign() in instrumentLoadOrStore()
631 (IsWrite ? cast<StoreInst>(II.Inst)->isVolatile() in instrumentLoadOrStore()
641 OnAccessFunc = IsWrite ? TsanVolatileWrite[Idx] : TsanVolatileRead[Idx]; in instrumentLoadOrStore()
643 OnAccessFunc = IsWrite ? TsanWrite[Idx] : TsanRead[Idx]; in instrumentLoadOrStore()
648 OnAccessFunc = IsWrite ? TsanUnalignedVolatileWrite[Idx] in instrumentLoadOrStore()
651 OnAccessFunc = IsWrite ? TsanUnalignedWrite[Idx] : TsanUnalignedRead[Idx]; in instrumentLoadOrStore()
654 if (IsCompoundRW || IsWrite) in instrumentLoadOrStore()
656 if (IsCompoundRW || !IsWrite) in instrumentLoadOrStore()