@@ -361,35 +361,39 @@ typedef enum {
361361} LLVMAtomicOrdering ;
362362
363363typedef enum {
364- LLVMAtomicRMWBinOpXchg , /**< Set the new value and return the one old */
365- LLVMAtomicRMWBinOpAdd , /**< Add a value and return the old one */
366- LLVMAtomicRMWBinOpSub , /**< Subtract a value and return the old one */
367- LLVMAtomicRMWBinOpAnd , /**< And a value and return the old one */
368- LLVMAtomicRMWBinOpNand , /**< Not-And a value and return the old one */
369- LLVMAtomicRMWBinOpOr , /**< OR a value and return the old one */
370- LLVMAtomicRMWBinOpXor , /**< Xor a value and return the old one */
371- LLVMAtomicRMWBinOpMax , /**< Sets the value if it's greater than the
372- original using a signed comparison and return
373- the old one */
374- LLVMAtomicRMWBinOpMin , /**< Sets the value if it's Smaller than the
375- original using a signed comparison and return
376- the old one */
377- LLVMAtomicRMWBinOpUMax , /**< Sets the value if it's greater than the
378- original using an unsigned comparison and return
379- the old one */
380- LLVMAtomicRMWBinOpUMin , /**< Sets the value if it's greater than the
381- original using an unsigned comparison and return
382- the old one */
383- LLVMAtomicRMWBinOpFAdd , /**< Add a floating point value and return the
384- old one */
385- LLVMAtomicRMWBinOpFSub , /**< Subtract a floating point value and return the
364+ LLVMAtomicRMWBinOpXchg , /**< Set the new value and return the one old */
365+ LLVMAtomicRMWBinOpAdd , /**< Add a value and return the old one */
366+ LLVMAtomicRMWBinOpSub , /**< Subtract a value and return the old one */
367+ LLVMAtomicRMWBinOpAnd , /**< And a value and return the old one */
368+ LLVMAtomicRMWBinOpNand , /**< Not-And a value and return the old one */
369+ LLVMAtomicRMWBinOpOr , /**< OR a value and return the old one */
370+ LLVMAtomicRMWBinOpXor , /**< Xor a value and return the old one */
371+ LLVMAtomicRMWBinOpMax , /**< Sets the value if it's greater than the
372+ original using a signed comparison and return
373+ the old one */
374+ LLVMAtomicRMWBinOpMin , /**< Sets the value if it's Smaller than the
375+ original using a signed comparison and return
376+ the old one */
377+ LLVMAtomicRMWBinOpUMax , /**< Sets the value if it's greater than the
378+ original using an unsigned comparison and return
379+ the old one */
380+ LLVMAtomicRMWBinOpUMin , /**< Sets the value if it's greater than the
381+ original using an unsigned comparison and return
382+ the old one */
383+ LLVMAtomicRMWBinOpFAdd , /**< Add a floating point value and return the
386384 old one */
387- LLVMAtomicRMWBinOpFMax , /**< Sets the value if it's greater than the
388- original using an floating point comparison and
389- return the old one */
390- LLVMAtomicRMWBinOpFMin , /**< Sets the value if it's smaller than the
391- original using an floating point comparison and
392- return the old one */
385+ LLVMAtomicRMWBinOpFSub , /**< Subtract a floating point value and return the
386+ old one */
387+ LLVMAtomicRMWBinOpFMax , /**< Sets the value if it's greater than the
388+ original using an floating point comparison and
389+ return the old one */
390+ LLVMAtomicRMWBinOpFMin , /**< Sets the value if it's smaller than the
391+ original using an floating point comparison and
392+ return the old one */
393+ LLVMAtomicRMWBinOpUIncWrap , /**< Increments the value, wrapping back to zero
394+ when incremented above input value */
395+ LLVMAtomicRMWBinOpUDecWrap , /**< Decrements the value, wrapping back to
396+ the input value when decremented below zero */
393397} LLVMAtomicRMWBinOp ;
394398
395399typedef enum {
0 commit comments