Lines Matching refs:AtomicRMWInst
158 static AtomicRMWInst::BinOp GetDecodedRMWOperation(unsigned Val) {
160 default: return AtomicRMWInst::BAD_BINOP;
161 case bitc::RMW_XCHG: return AtomicRMWInst::Xchg;
162 case bitc::RMW_ADD: return AtomicRMWInst::Add;
163 case bitc::RMW_SUB: return AtomicRMWInst::Sub;
164 case bitc::RMW_AND: return AtomicRMWInst::And;
165 case bitc::RMW_NAND: return AtomicRMWInst::Nand;
166 case bitc::RMW_OR: return AtomicRMWInst::Or;
167 case bitc::RMW_XOR: return AtomicRMWInst::Xor;
168 case bitc::RMW_MAX: return AtomicRMWInst::Max;
169 case bitc::RMW_MIN: return AtomicRMWInst::Min;
170 case bitc::RMW_UMAX: return AtomicRMWInst::UMax;
171 case bitc::RMW_UMIN: return AtomicRMWInst::UMin;
2878 AtomicRMWInst::BinOp Operation = GetDecodedRMWOperation(Record[OpNum]);
2879 if (Operation < AtomicRMWInst::FIRST_BINOP ||
2880 Operation > AtomicRMWInst::LAST_BINOP)
2886 I = new AtomicRMWInst(Operation, Ptr, Val, Ordering, SynchScope);
2887 cast<AtomicRMWInst>(I)->setVolatile(Record[OpNum+1]);