Lines Matching refs:AtomicRMWInst
166 FunctionCallee TsanAtomicRMW[AtomicRMWInst::LAST_BINOP + 1]
321 for (unsigned Op = AtomicRMWInst::FIRST_BINOP; in initialize()
322 Op <= AtomicRMWInst::LAST_BINOP; ++Op) { in initialize()
325 if (Op == AtomicRMWInst::Xchg) in initialize()
327 else if (Op == AtomicRMWInst::Add) in initialize()
329 else if (Op == AtomicRMWInst::Sub) in initialize()
331 else if (Op == AtomicRMWInst::And) in initialize()
333 else if (Op == AtomicRMWInst::Or) in initialize()
335 else if (Op == AtomicRMWInst::Xor) in initialize()
337 else if (Op == AtomicRMWInst::Nand) in initialize()
507 if (isa<AtomicRMWInst>(I)) in isAtomic()
772 } else if (AtomicRMWInst *RMWI = dyn_cast<AtomicRMWInst>(I)) { in instrumentAtomic()