llvm/docs
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
..
CommandGuide Comment edit. 2011-04-23 03:27:19 +00:00
HistoricalNotes Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
img Revert r103213. It broke several sections of live website. 2010-05-07 00:28:04 +00:00
tutorial A couple of minor fixes to the OCaml tutorial. PR10025 and PR10316. Patches by Damien Schoof! 2011-07-15 20:03:30 +00:00
AliasAnalysis.html Update documentation: -basicaa does chaining these days. 2011-05-24 22:01:32 +00:00
BitCodeFormat.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
BranchWeightMetadata.html Add documenation about "branch_weight" metadata and __builtin_expect instruction 2011-07-06 18:31:02 +00:00
Bugpoint.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
CFEBuildInstrs.html docs: Canonicalize URLs. 2011-04-09 02:13:37 +00:00
CMake.html Update instructions: LLVM.cmake is now LLVMConfig.cmake 2011-05-01 02:12:20 +00:00
CodeGenerator.html Updating stale documentation on regalloc modes. 2011-07-26 18:31:49 +00:00
CodingStandards.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
CommandLine.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
CompilerDriver.html 1. Keep lines in 80 columns. 2011-05-06 22:11:29 +00:00
CompilerDriverTutorial.html Regenerate. 2011-04-24 14:17:37 +00:00
CompilerWriterInfo.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
DebuggingJITedCode.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
DeveloperPolicy.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
doxygen.cfg.in Revert r103213. It broke several sections of live website. 2010-05-07 00:28:04 +00:00
doxygen.css docs/doxygen.css: Tweak padding on memdoc. 2011-04-29 09:59:12 +00:00
doxygen.footer docs: Canonicalize URLs. 2011-04-09 02:13:37 +00:00
doxygen.header Revert r103213. It broke several sections of live website. 2010-05-07 00:28:04 +00:00
doxygen.intro Revert r103213. It broke several sections of live website. 2010-05-07 00:28:04 +00:00
ExceptionHandling.html Implement and document the llvm.eh.resume intrinsic, which is 2011-05-28 07:45:59 +00:00
ExtendedIntegerResults.txt Revert r103213. It broke several sections of live website. 2010-05-07 00:28:04 +00:00
ExtendingLLVM.html The enum was moved to ISDOpcodes.h. 2011-06-30 06:37:07 +00:00
FAQ.html docs: Use <Hn> as Heading elements instead of <DIV class="doc_foo">. 2011-04-18 23:59:50 +00:00
GarbageCollection.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
GCCFEBuildInstrs.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
GetElementPtr.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
GettingStarted.html docs/GettingStarted.html: Tweak style. 2011-07-20 23:37:51 +00:00
GettingStartedVS.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
GoldPlugin.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
HowToReleaseLLVM.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
HowToSubmitABug.html Typo. 2011-06-07 20:03:13 +00:00
index.html Add documenation about "branch_weight" metadata and __builtin_expect instruction 2011-07-06 18:31:02 +00:00
LangRef.html LangRef and basic memory-representation/reading/writing for 'cmpxchg' and 2011-07-28 21:48:00 +00:00
Lexicon.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
LinkTimeOptimization.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
llvm.css docs/llvm.css: Introduce cascading style <div> and <p> continued on <h[2-5]>. For now, it is applied in AliasAnalysis.html and ReleaseNotes.html. 2011-04-21 01:52:00 +00:00
Makefile Don't run ocamldoc if it's not installed 2011-02-09 18:32:04 +00:00
MakefileGuide.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
Packaging.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
Passes.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
ProgrammersManual.html how about that, StringRef doesn't allow any mutation, thanks to 2011-07-23 17:18:57 +00:00
Projects.html Corrections and additional information for "Creating and LLVM Project" 2011-06-03 02:20:48 +00:00
re_format.7 Revert r103213. It broke several sections of live website. 2010-05-07 00:28:04 +00:00
ReleaseNotes.html Convert GetElementPtrInst to use ArrayRef. 2011-07-25 09:48:08 +00:00
SourceLevelDebugging.html Update document listing DIVariable elements to reflect recent changes. 2011-07-27 18:14:50 +00:00
SystemLibrary.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
TableGenFundamentals.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
TestingGuide.html Correct typos in TestingGuide.html 2011-05-18 18:07:16 +00:00
UsingLibraries.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
WritingAnLLVMBackend.html Use set operations instead of plain lists to enumerate register classes. 2011-06-15 23:28:14 +00:00
WritingAnLLVMPass.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00