Lines Matching refs:AtomicRMWInst
646 static AtomicRMWInst::BinOp getDecodedRMWOperation(unsigned Val) { in getDecodedRMWOperation()
648 default: return AtomicRMWInst::BAD_BINOP; in getDecodedRMWOperation()
649 case bitc::RMW_XCHG: return AtomicRMWInst::Xchg; in getDecodedRMWOperation()
650 case bitc::RMW_ADD: return AtomicRMWInst::Add; in getDecodedRMWOperation()
651 case bitc::RMW_SUB: return AtomicRMWInst::Sub; in getDecodedRMWOperation()
652 case bitc::RMW_AND: return AtomicRMWInst::And; in getDecodedRMWOperation()
653 case bitc::RMW_NAND: return AtomicRMWInst::Nand; in getDecodedRMWOperation()
654 case bitc::RMW_OR: return AtomicRMWInst::Or; in getDecodedRMWOperation()
655 case bitc::RMW_XOR: return AtomicRMWInst::Xor; in getDecodedRMWOperation()
656 case bitc::RMW_MAX: return AtomicRMWInst::Max; in getDecodedRMWOperation()
657 case bitc::RMW_MIN: return AtomicRMWInst::Min; in getDecodedRMWOperation()
658 case bitc::RMW_UMAX: return AtomicRMWInst::UMax; in getDecodedRMWOperation()
659 case bitc::RMW_UMIN: return AtomicRMWInst::UMin; in getDecodedRMWOperation()
4276 AtomicRMWInst::BinOp Operation = getDecodedRMWOperation(Record[OpNum]); in parseFunctionBody()
4277 if (Operation < AtomicRMWInst::FIRST_BINOP || in parseFunctionBody()
4278 Operation > AtomicRMWInst::LAST_BINOP) in parseFunctionBody()
4284 I = new AtomicRMWInst(Operation, Ptr, Val, Ordering, SynchScope); in parseFunctionBody()
4285 cast<AtomicRMWInst>(I)->setVolatile(Record[OpNum+1]); in parseFunctionBody()