llvm-6502/include/llvm/Bitcode
Eli Friedman ff03048c13 LangRef and basic memory-representation/reading/writing for 'cmpxchg' and
'atomicrmw' instructions, which allow representing all the current atomic
rmw intrinsics.

The allowed operands for these instructions are heavily restricted at the
moment; we can probably loosen it a bit, but supporting general
first-class types (where it makes sense) might get a bit complicated,
given how SelectionDAG works.

As an initial cut, these operations do not support specifying an alignment,
but it would be possible to add if we think it's useful. Specifying an
alignment lower than the natural alignment would be essentially
impossible to support on anything other than x86, but specifying a greater
alignment would be possible.  I can't think of any useful optimizations which
would use that information, but maybe someone else has ideas.

Optimizer/codegen support coming soon.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136404 91177308-0d34-0410-b5e6-96231b3b80d8
2011-07-28 21:48:00 +00:00
..
Archive.h Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
BitCodes.h Merge System into Support. 2010-11-29 18:16:10 +00:00
BitstreamReader.h fix a really bad bug that would cause nested cursors to break, 2011-07-09 17:00:12 +00:00
BitstreamWriter.h don't emit zero bit fields with Emit, fixing undefined behavior, 2010-08-18 00:29:18 +00:00
LLVMBitCodes.h LangRef and basic memory-representation/reading/writing for 'cmpxchg' and 2011-07-28 21:48:00 +00:00
ReaderWriter.h Remove tabs. 2010-10-06 07:19:18 +00:00