Lines Matching refs:AtomicRMWInst
116 Function *TsanAtomicRMW[AtomicRMWInst::LAST_BINOP + 1][kNumberOfAccessSizes];
191 for (int op = AtomicRMWInst::FIRST_BINOP; in initializeCallbacks()
192 op <= AtomicRMWInst::LAST_BINOP; ++op) { in initializeCallbacks()
195 if (op == AtomicRMWInst::Xchg) in initializeCallbacks()
197 else if (op == AtomicRMWInst::Add) in initializeCallbacks()
199 else if (op == AtomicRMWInst::Sub) in initializeCallbacks()
201 else if (op == AtomicRMWInst::And) in initializeCallbacks()
203 else if (op == AtomicRMWInst::Or) in initializeCallbacks()
205 else if (op == AtomicRMWInst::Xor) in initializeCallbacks()
207 else if (op == AtomicRMWInst::Nand) in initializeCallbacks()
371 if (isa<AtomicRMWInst>(I)) in isAtomic()
603 } else if (AtomicRMWInst *RMWI = dyn_cast<AtomicRMWInst>(I)) { in instrumentAtomic()