Lines Matching refs:AtomicRMWInst
7795 Value *Expr, AtomicOrdering AO, AtomicRMWInst::BinOp RMWOp, in createAtomicUpdate()
7809 assert((RMWOp != AtomicRMWInst::Max) && (RMWOp != AtomicRMWInst::Min) && in createAtomicUpdate()
7810 (RMWOp != AtomicRMWInst::UMax) && (RMWOp != AtomicRMWInst::UMin) && in createAtomicUpdate()
7822 AtomicRMWInst::BinOp RMWOp) { in emitRMWOpAsInstruction()
7824 case AtomicRMWInst::Add: in emitRMWOpAsInstruction()
7826 case AtomicRMWInst::Sub: in emitRMWOpAsInstruction()
7828 case AtomicRMWInst::And: in emitRMWOpAsInstruction()
7830 case AtomicRMWInst::Nand: in emitRMWOpAsInstruction()
7832 case AtomicRMWInst::Or: in emitRMWOpAsInstruction()
7834 case AtomicRMWInst::Xor: in emitRMWOpAsInstruction()
7836 case AtomicRMWInst::Xchg: in emitRMWOpAsInstruction()
7837 case AtomicRMWInst::FAdd: in emitRMWOpAsInstruction()
7838 case AtomicRMWInst::FSub: in emitRMWOpAsInstruction()
7839 case AtomicRMWInst::BAD_BINOP: in emitRMWOpAsInstruction()
7840 case AtomicRMWInst::Max: in emitRMWOpAsInstruction()
7841 case AtomicRMWInst::Min: in emitRMWOpAsInstruction()
7842 case AtomicRMWInst::UMax: in emitRMWOpAsInstruction()
7843 case AtomicRMWInst::UMin: in emitRMWOpAsInstruction()
7844 case AtomicRMWInst::FMax: in emitRMWOpAsInstruction()
7845 case AtomicRMWInst::FMin: in emitRMWOpAsInstruction()
7846 case AtomicRMWInst::UIncWrap: in emitRMWOpAsInstruction()
7847 case AtomicRMWInst::UDecWrap: in emitRMWOpAsInstruction()
7855 AtomicOrdering AO, AtomicRMWInst::BinOp RMWOp, in emitAtomicUpdate()
7861 case AtomicRMWInst::Add: in emitAtomicUpdate()
7862 case AtomicRMWInst::And: in emitAtomicUpdate()
7863 case AtomicRMWInst::Nand: in emitAtomicUpdate()
7864 case AtomicRMWInst::Or: in emitAtomicUpdate()
7865 case AtomicRMWInst::Xor: in emitAtomicUpdate()
7866 case AtomicRMWInst::Xchg: in emitAtomicUpdate()
7869 case AtomicRMWInst::Sub: in emitAtomicUpdate()
7883 if (RMWOp == AtomicRMWInst::Xchg) in emitAtomicUpdate()
7956 AtomicRMWInst::BinOp RMWOp, AtomicUpdateCallbackTy &UpdateOp, in createAtomicCapture()
7969 assert((RMWOp != AtomicRMWInst::Max) && (RMWOp != AtomicRMWInst::Min) && in createAtomicCapture()
7975 AtomicRMWInst::BinOp AtomicOp = (UpdateExpr ? RMWOp : AtomicRMWInst::Xchg); in createAtomicCapture()
8106 AtomicRMWInst::BinOp NewOp; in createAtomicCompare()
8110 NewOp = Op == OMPAtomicCompareOp::MAX ? AtomicRMWInst::Min in createAtomicCompare()
8111 : AtomicRMWInst::Max; in createAtomicCompare()
8113 NewOp = Op == OMPAtomicCompareOp::MAX ? AtomicRMWInst::UMin in createAtomicCompare()
8114 : AtomicRMWInst::UMax; in createAtomicCompare()
8116 NewOp = Op == OMPAtomicCompareOp::MAX ? AtomicRMWInst::FMin in createAtomicCompare()
8117 : AtomicRMWInst::FMax; in createAtomicCompare()
8122 NewOp = Op == OMPAtomicCompareOp::MAX ? AtomicRMWInst::Max in createAtomicCompare()
8123 : AtomicRMWInst::Min; in createAtomicCompare()
8125 NewOp = Op == OMPAtomicCompareOp::MAX ? AtomicRMWInst::UMax in createAtomicCompare()
8126 : AtomicRMWInst::UMin; in createAtomicCompare()
8128 NewOp = Op == OMPAtomicCompareOp::MAX ? AtomicRMWInst::FMax in createAtomicCompare()
8129 : AtomicRMWInst::FMin; in createAtomicCompare()
8133 AtomicRMWInst *OldValue = in createAtomicCompare()
8142 case AtomicRMWInst::Max: in createAtomicCompare()
8145 case AtomicRMWInst::UMax: in createAtomicCompare()
8148 case AtomicRMWInst::FMax: in createAtomicCompare()
8151 case AtomicRMWInst::Min: in createAtomicCompare()
8154 case AtomicRMWInst::UMin: in createAtomicCompare()
8157 case AtomicRMWInst::FMin: in createAtomicCompare()