atomicrmw and cmpxchg have a volatile flag, so allow itthem to be set/gget and set with
LLVMGet{Get,Set}Volatile. atomicrmw and LLVMSetVolatile.fence have orderings, so allow them to be get and set with LLVM{Get,Set}Ordering. Add missing LLVMAtomicRMWBinOpFAdd and
LLVMAtomicRMWBinOpFSub enum constants. AtomicCmpXchg also has a weak flag,
add a getter/setter for that too. Add a getter/setter for the binary-op of
of an atomicrmw.
Whatomicrmw and cmpxchg have a volatile fixing atomics,lag, so allow it to be set/get with LLVMGetVolatile and LLVMSetVolatile. I noticed thatAdd missing LLVMAtomicRMWBinOpFAdd and LLVMIsA## was missing for CatchSwitchInst,
CallBrInst and FenceInstAtomicRMWBinOpFSub enum constants. AtomicCmpXchg also has a weak flag, as well as AtomicCmpXchgInst and AtomicRMWInst.
Fixed them alladd a getter/setter for that too. Add a getter/setter for the binary-op of an atomicrmw.
While fixing atomics, I noticed that LLVMIsA## was missing for CatchSwitchInst, CallBrInst and FenceInst, as well as AtomicCmpXchgInst and AtomicRMWInst. Fixed them all.
Update llvm-c-test to include atomicrmw and fence, and to copy volatile for allthe four applicable instructions.