Lines Matching refs:AtomicRMWInst
110 static unsigned GetEncodedRMWOperation(AtomicRMWInst::BinOp Op) { in GetEncodedRMWOperation()
113 case AtomicRMWInst::Xchg: return bitc::RMW_XCHG; in GetEncodedRMWOperation()
114 case AtomicRMWInst::Add: return bitc::RMW_ADD; in GetEncodedRMWOperation()
115 case AtomicRMWInst::Sub: return bitc::RMW_SUB; in GetEncodedRMWOperation()
116 case AtomicRMWInst::And: return bitc::RMW_AND; in GetEncodedRMWOperation()
117 case AtomicRMWInst::Nand: return bitc::RMW_NAND; in GetEncodedRMWOperation()
118 case AtomicRMWInst::Or: return bitc::RMW_OR; in GetEncodedRMWOperation()
119 case AtomicRMWInst::Xor: return bitc::RMW_XOR; in GetEncodedRMWOperation()
120 case AtomicRMWInst::Max: return bitc::RMW_MAX; in GetEncodedRMWOperation()
121 case AtomicRMWInst::Min: return bitc::RMW_MIN; in GetEncodedRMWOperation()
122 case AtomicRMWInst::UMax: return bitc::RMW_UMAX; in GetEncodedRMWOperation()
123 case AtomicRMWInst::UMin: return bitc::RMW_UMIN; in GetEncodedRMWOperation()
1275 cast<AtomicRMWInst>(I).getOperation())); in WriteInstruction()
1276 Vals.push_back(cast<AtomicRMWInst>(I).isVolatile()); in WriteInstruction()
1277 Vals.push_back(GetEncodedOrdering(cast<AtomicRMWInst>(I).getOrdering())); in WriteInstruction()
1279 cast<AtomicRMWInst>(I).getSynchScope())); in WriteInstruction()