llvm-project/llvm/docs
David Greene fb927af24f Add Foreach Loop
Add some data structures to represent for loops.  These will be
referenced during object processing to do any needed iteration and
instantiation.

Add foreach keyword support to the lexer.

Add a mode to indicate that we're parsing a foreach loop.  This allows
the value parser to early-out when processing the foreach value list.

Add a routine to parse foreach iteration declarations.  This is
separate from ParseDeclaration because the type of the named value
(the iterator) doesn't match the type of the initializer value (the
value list).  It also needs to add two values to the foreach record:
the iterator and the value list.

Add parsing support for foreach.

Add the code to process foreach loops and create defs based
on iterator values.

Allow foreach loops to be matched at the top level.

When parsing an IDValue check if it is a foreach loop iterator for one
of the active loops.  If so, return a VarInit for it.

Add Emacs keyword support for foreach.

Add VIM keyword support for foreach.

Add tests to check foreach operation.

Add TableGen documentation for foreach.

Support foreach with multiple objects.

Support non-braced foreach body with one object.

Do not require types for the foreach declaration.  Assume the iterator
type from the iteration list element type.

llvm-svn: 151164
2012-02-22 16:09:41 +00:00
..
CommandGuide Fix typo and broken link 2012-02-05 11:17:49 +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 Install the PNG file as well. PR4780. 2011-10-16 08:24:30 +00:00
AliasAnalysis.html basic-aa does support AliasAnalysis chaining now. 2012-01-30 23:05:41 +00:00
Atomics.html s/SequeuentiallyConsistent/SequentiallyConsistent/g 2011-09-11 15:50:05 +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 docs/*.html: Appease W3C Checker to add "charset=utf-8". 2011-10-31 11:21:59 +00:00
Bugpoint.html docs/*.html: Appease W3C Checker to add "charset=utf-8". 2011-10-31 11:21:59 +00:00
CFEBuildInstrs.html docs: Canonicalize URLs. 2011-04-09 02:13:37 +00:00
CMake.html There are already problems with building LLVM under VS2005, and it's 2011-11-16 19:52:13 +00:00
CodeGenerator.html Add a new kind of MachineOperand: MO_RegisterMask. 2012-01-16 19:22:00 +00:00
CodingStandards.html add an explicit section on static constructors. 2012-02-08 01:44:00 +00:00
CommandLine.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
CompilerWriterInfo.html Remove the Alpha backend. 2011-10-27 22:56:32 +00:00
DebuggingJITedCode.html docs/*.html: Appease W3C Checker to add "charset=utf-8". 2011-10-31 11:21:59 +00:00
DeveloperPolicy.html fix broken link 2012-02-08 22:20:00 +00:00
ExceptionHandling.html Remove dead llvm.eh.sjlj.dispatchsetup intrinsic. 2011-11-28 19:23:13 +00:00
ExtendedIntegerResults.txt Revert r103213. It broke several sections of live website. 2010-05-07 00:28:04 +00:00
ExtendingLLVM.html docs/*.html: Appease W3C Checker to add "charset=utf-8". 2011-10-31 11:21:59 +00:00
FAQ.html More llvmc bits. Spotted by Benjamin on IRC. 2011-09-20 00:42:28 +00:00
GCCFEBuildInstrs.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
GarbageCollection.html docs: Update HTML markup(s). 2011-08-12 06:17:17 +00:00
GetElementPtr.html docs/*.html: Fix markups. 2011-10-31 13:04:26 +00:00
GettingStarted.html utils: Kill NewNightlyTest.pl, which has been replaced by LNT (as far as I know). 2012-02-15 19:24:11 +00:00
GettingStartedVS.html Tidy up. s/Low Level Virtual Machine/LLVM/. 2012-01-25 22:00:23 +00:00
GoldPlugin.html Recommend the -flto flag instead of -use-gold-plugin, and update 2011-11-05 04:17:28 +00:00
HowToAddABuilder.html Cleaned text, fixed HTML. 2011-11-03 05:57:26 +00:00
HowToReleaseLLVM.html docs/*.html: Appease W3C Checker to add "charset=utf-8". 2011-10-31 11:21:59 +00:00
HowToSubmitABug.html docs/*.html: Appease W3C Checker to add "charset=utf-8". 2011-10-31 11:21:59 +00:00
LLVMBuild.html llvm-build: Switch to using the common subdirectory list instead of 2011-12-12 22:45:59 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
LangRef.html Give a description of the Objective-C garbage collection module flags. 2012-02-16 01:10:50 +00:00
Lexicon.html test commit (verifyiing commit access) 2012-01-05 08:18:41 +00:00
LinkTimeOptimization.html docs/*.html: Appease W3C Checker to add "charset=utf-8". 2011-10-31 11:21:59 +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/*.html: Appease W3C Checker to add "charset=utf-8". 2011-10-31 11:21:59 +00:00
Passes.html Add a basic-block autovectorization pass. 2012-02-01 03:51:43 +00:00
ProgrammersManual.html Add a Briggs and Torczon sparse set implementation. 2012-02-22 00:56:08 +00:00
Projects.html docs/*.html: Appease W3C Checker to add "charset=utf-8". 2011-10-31 11:21:59 +00:00
ReleaseNotes.html Note x86 regmask operands in release notes. 2012-02-16 18:22:39 +00:00
SegmentedStacks.html Release notes for segmented stacks. 2011-11-29 19:08:23 +00:00
SourceLevelDebugging.html Fix documentation. 2012-02-18 01:38:41 +00:00
SystemLibrary.html docs/*.html: Appease W3C Checker to add "charset=utf-8". 2011-10-31 11:21:59 +00:00
TableGenFundamentals.html Add Foreach Loop 2012-02-22 16:09:41 +00:00
TestingGuide.html Update the docs for some of the test-suite configure changes and 2011-11-29 19:40:56 +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 Revert r146041 et al. The FunctionPass doesn't take an address but the ID. 2011-12-09 19:11:02 +00:00
doxygen.cfg.in Reapply r141657. 2011-10-31 23:46:50 +00:00
doxygen.css docs/doxygen.css: Tweak padding on memdoc. 2011-04-29 09:59:12 +00:00
doxygen.footer Happy new year 2012! 2012-01-01 08:16:56 +00:00
doxygen.header Tidy up. s/Low Level Virtual Machine/LLVM/. 2012-01-25 22:00:23 +00:00
doxygen.intro Tidy up. s/Low Level Virtual Machine/LLVM/. 2012-01-25 22:00:23 +00:00
index.html Fix typo. 2012-01-19 21:50:08 +00:00
llvm.css docs/llvm.css: Introduce <blockquote><pre>. It may be used as blockquoted "doc_code". 2011-08-12 06:17:11 +00:00
re_format.7 Revert r103213. It broke several sections of live website. 2010-05-07 00:28:04 +00:00