Lines Matching refs:IsWrite
480 const bool IsWrite = isa<StoreInst>(*I); in chooseInstructionsToInstrument() local
481 Value *Addr = IsWrite ? cast<StoreInst>(I)->getPointerOperand() in chooseInstructionsToInstrument()
487 if (!IsWrite) { in chooseInstructionsToInstrument()
522 if (IsWrite) { in chooseInstructionsToInstrument()
644 const bool IsWrite = isa<StoreInst>(*II.Inst); in instrumentLoadOrStore() local
645 Value *Addr = IsWrite ? cast<StoreInst>(II.Inst)->getPointerOperand() in instrumentLoadOrStore()
658 if (IsWrite && isVtableAccess(II.Inst)) { in instrumentLoadOrStore()
676 if (!IsWrite && isVtableAccess(II.Inst)) { in instrumentLoadOrStore()
683 const unsigned Alignment = IsWrite ? cast<StoreInst>(II.Inst)->getAlignment() in instrumentLoadOrStore()
688 (IsWrite ? cast<StoreInst>(II.Inst)->isVolatile() in instrumentLoadOrStore()
698 OnAccessFunc = IsWrite ? TsanVolatileWrite[Idx] : TsanVolatileRead[Idx]; in instrumentLoadOrStore()
700 OnAccessFunc = IsWrite ? TsanWrite[Idx] : TsanRead[Idx]; in instrumentLoadOrStore()
705 OnAccessFunc = IsWrite ? TsanUnalignedVolatileWrite[Idx] in instrumentLoadOrStore()
708 OnAccessFunc = IsWrite ? TsanUnalignedWrite[Idx] : TsanUnalignedRead[Idx]; in instrumentLoadOrStore()
711 if (IsCompoundRW || IsWrite) in instrumentLoadOrStore()
713 if (IsCompoundRW || !IsWrite) in instrumentLoadOrStore()