619714a65b 
								
							 
						 
						
							
							
								
								Add an OCaml tutorial page 8  
							
							... 
							
							
							
							llvm-svn: 122650 
							
						 
						
							2011-01-01 03:27:43 +00:00  
				
					
						
							
							
								 
						
							
								a230754385 
								
							 
						 
						
							
							
								
								Fix missing includes of "llvm/Analysis/Passes.h" in the tutorials. Thanks  
							
							... 
							
							
							
							for Arnaud Allard de Grandmaison for preparing a patch.
llvm-svn: 119351 
							
						 
						
							2010-11-16 17:28:22 +00:00  
				
					
						
							
							
								 
						
							
								56f3a4c761 
								
							 
						 
						
							
							
								
								Update examples and documentation to explicitly add basicaa, now that it's  
							
							... 
							
							
							
							no longer included by default.
llvm-svn: 119169 
							
						 
						
							2010-11-15 18:41:10 +00:00  
				
					
						
							
							
								 
						
							
								44ab470c8e 
								
							 
						 
						
							
							
								
								update the tutorial to use CreateFAdd to create fp operations.  
							
							... 
							
							
							
							llvm-svn: 112733 
							
						 
						
							2010-09-01 20:09:20 +00:00  
				
					
						
							
							
								 
						
							
								456102117a 
								
							 
						 
						
							
							
								
								fix typos reported by Adam Warner!  
							
							... 
							
							
							
							llvm-svn: 106468 
							
						 
						
							2010-06-21 20:31:30 +00:00  
				
					
						
							
							
								 
						
							
								4f475d07ba 
								
							 
						 
						
							
							
								
								Update html tutorial docs to match api changes.  
							
							... 
							
							
							
							llvm-svn: 105933 
							
						 
						
							2010-06-14 06:09:39 +00:00  
				
					
						
							
							
								 
						
							
								d6a6f61fdb 
								
							 
						 
						
							
							
								
								Fix whitespace to be more consistent with AsmPrinter's style.  
							
							... 
							
							
							
							llvm-svn: 104962 
							
						 
						
							2010-05-28 17:07:41 +00:00  
				
					
						
							
							
								 
						
							
								f375e9a092 
								
							 
						 
						
							
							
								
								Revert r103213. It broke several sections of live website.  
							
							... 
							
							
							
							llvm-svn: 103219 
							
						 
						
							2010-05-07 00:28:04 +00:00  
				
					
						
							
							
								 
						
							
								e08af303a6 
								
							 
						 
						
							
							
								
								Overhauled llvm/clang docs builds. Closes PR6613.  
							
							... 
							
							
							
							NOTE: 2nd part changeset for cfe trunk to follow.
*** PRE-PATCH ISSUES ADDRESSED
- clang api docs fail build from objdir
- clang/llvm api docs collide in install PREFIX/
- clang/llvm main docs collide in install
- clang/llvm main docs have full of hard coded destination
  assumptions and make use of absolute root in static html files;
  namely CommandGuide tools hard codes a website destination
  for cross references and some html cross references assume
  website root paths
*** IMPROVEMENTS
- bumped Doxygen from 1.4.x -> 1.6.3
- splits llvm/clang docs into 'main' and 'api' (doxygen) build trees
- provide consistent, reliable doc builds for both main+api docs
- support buid vs. install vs. website intentions
- support objdir builds
- document targets with 'make help'
- correct clean and uninstall operations
- use recursive dir delete only where absolutely necessary
- added call function fn.RMRF which safeguards against botched 'rm -rf';
  if any target (or any variable is evaluated) which attempts
  to remove any dirs which match a hard-coded 'safelist', a verbose
  error will be printed and make will error-stop.
llvm-svn: 103213 
							
						 
						
							2010-05-06 23:45:43 +00:00  
				
					
						
							
							
								 
						
							
								77eede5776 
								
							 
						 
						
							
							
								
								Fix the ocaml kaleidoscope tutorial to fix linking external libraries.  
							
							... 
							
							
							
							llvm-svn: 99151 
							
						 
						
							2010-03-21 23:15:13 +00:00  
				
					
						
							
							
								 
						
							
								b8c11eb36b 
								
							 
						 
						
							
							
								
								Update the OCaml Kaleidoscope tutorial.  
							
							... 
							
							
							
							llvm-svn: 97965 
							
						 
						
							2010-03-08 19:32:18 +00:00  
				
					
						
							
							
								 
						
							
								444c0955af 
								
							 
						 
						
							
							
								
								Rewrite makefiles to explicitly reference DESTDIR to fix bug 3153.  
							
							... 
							
							
							
							We need this so can not bake DESTDIR into the O'Caml symlinks.
llvm-svn: 97743 
							
						 
						
							2010-03-04 20:56:19 +00:00  
				
					
						
							
							
								 
						
							
								6f34abd092 
								
							 
						 
						
							
							
								
								Floating-point add, sub, and mul are now spelled fadd, fsub, and fmul,  
							
							... 
							
							
							
							respectively.
llvm-svn: 97531 
							
						 
						
							2010-03-02 01:11:08 +00:00  
				
					
						
							
							
								 
						
							
								aed2479a45 
								
							 
						 
						
							
							
								
								irbuilder is doing constant folding now by default, PR6092  
							
							... 
							
							
							
							llvm-svn: 96502 
							
						 
						
							2010-02-17 19:54:34 +00:00  
				
					
						
							
							
								 
						
							
								e0d0948aeb 
								
							 
						 
						
							
							
								
								fix some out of date prose dating from the LLVMContext changes.  
							
							... 
							
							
							
							llvm-svn: 96500 
							
						 
						
							2010-02-17 19:51:31 +00:00  
				
					
						
							
							
								 
						
							
								8a30324e51 
								
							 
						 
						
							
							
								
								Make Kaleidoscope not link against the interpreter, since that didn't  
							
							... 
							
							
							
							work anyway (Interpreter::getPointerToFunction doesn't return a
callable pointer), and improve the error message when an
ExecutionEngine can't be created.
llvm-svn: 95896 
							
						 
						
							2010-02-11 19:15:20 +00:00  
				
					
						
							
							
								 
						
							
								b44d2abc91 
								
							 
						 
						
							
							
								
								Add "Author Date Id Revision" svn:keyword properties to these files, as  
							
							... 
							
							
							
							is done with the other html files in doc, to hopefully keep strings like
"Last modified" current.
llvm-svn: 95225 
							
						 
						
							2010-02-03 17:27:31 +00:00  
				
					
						
							
							
								 
						
							
								091217be6f 
								
							 
						 
						
							
							
								
								Kill ModuleProvider and ghost linkage by inverting the relationship between  
							
							... 
							
							
							
							Modules and ModuleProviders. Because the "ModuleProvider" simply materializes
GlobalValues now, and doesn't provide modules, it's renamed to
"GVMaterializer". Code that used to need a ModuleProvider to materialize
Functions can now materialize the Functions directly. Functions no longer use a
magic linkage to record that they're materializable; they simply ask the
GVMaterializer.
Because the C ABI must never change, we can't remove LLVMModuleProviderRef or
the functions that refer to it. Instead, because Module now exposes the same
functionality ModuleProvider used to, we store a Module* in any
LLVMModuleProviderRef and translate in the wrapper methods.  The bindings to
other languages still use the ModuleProvider concept.  It would probably be
worth some time to update them to follow the C++ more closely, but I don't
intend to do it.
Fixes http://llvm.org/PR5737  and http://llvm.org/PR5735 .
llvm-svn: 94686 
							
						 
						
							2010-01-27 20:34:15 +00:00  
				
					
						
							
							
								 
						
							
								1c2720320b 
								
							 
						 
						
							
							
								
								Remove the 'simple jit' tutorial as it wasn't really being maintained and its  
							
							... 
							
							
							
							material is covered by the Kaleidoscope tutorial.
llvm-svn: 90111 
							
						 
						
							2009-11-30 04:23:17 +00:00  
				
					
						
							
							
								 
						
							
								4567db45b8 
								
							 
						 
						
							
							
								
								Change the JIT to compile eagerly by default as agreed in  
							
							... 
							
							
							
							http://llvm.org/PR5184 , and beef up the comments to describe what both options
do and the risks of lazy compilation in the presence of threads.
llvm-svn: 85295 
						
							2009-10-27 20:30:28 +00:00  
				
					
						
							
							
								 
						
							
								0f4203861f 
								
							 
						 
						
							
							
								
								Documentation: Perform automated correction of common typos.  
							
							... 
							
							
							
							llvm-svn: 83849 
							
						 
						
							2009-10-12 14:46:08 +00:00  
				
					
						
							
							
								 
						
							
								6e2b34bc14 
								
							 
						 
						
							
							
								
								Sync c++ kaleidoscope tutorial with test.  
							
							... 
							
							
							
							llvm-svn: 82572 
							
						 
						
							2009-09-22 21:14:49 +00:00  
				
					
						
							
							
								 
						
							
								b4e19177cb 
								
							 
						 
						
							
							
								
								Expose initializing the native target for the execution engine.  
							
							... 
							
							
							
							llvm-svn: 81800 
							
						 
						
							2009-09-14 21:54:32 +00:00  
				
					
						
							
							
								 
						
							
								c8a18f97bb 
								
							 
						 
						
							
							
								
								Make sure to initialize the fpm in the ocaml tutorial.  
							
							... 
							
							
							
							llvm-svn: 81799 
							
						 
						
							2009-09-14 21:54:15 +00:00  
				
					
						
							
							
								 
						
							
								14b1aacf10 
								
							 
						 
						
							
							
								
								Update the tutorial to match changes to examples/Kaleidoscope.  
							
							... 
							
							
							
							One change I'm not folding in is the removal of two unused variables that
caused warnings, because those were there for expository purposes.
llvm-svn: 81721 
							
						 
						
							2009-09-13 21:38:54 +00:00  
				
					
						
							
							
								 
						
							
								ab7700479f 
								
							 
						 
						
							
							
								
								Allocate the module provider in the Kaleidoscope code on the heap, not the stack, so that it can be properly deleted.  Also update the tutorial with the new code.  This fixes PR4762, hopefully better than the last time.  
							
							... 
							
							
							
							llvm-svn: 80138 
							
						 
						
							2009-08-26 20:58:25 +00:00  
				
					
						
							
							
								 
						
							
								be86e9fd9a 
								
							 
						 
						
							
							
								
								Update the ocaml docs to work with LLVMContext.  
							
							... 
							
							
							
							llvm-svn: 79431 
							
						 
						
							2009-08-19 17:32:38 +00:00  
				
					
						
							
							
								 
						
							
								c5680625c8 
								
							 
						 
						
							
							
								
								#include <cstdlib> in the code listing for strtod.  
							
							... 
							
							
							
							llvm-svn: 79285 
							
						 
						
							2009-08-17 21:07:37 +00:00  
				
					
						
							
							
								 
						
							
								55f1c09e31 
								
							 
						 
						
							
							
								
								Push LLVMContexts through the IntegerType APIs.  
							
							... 
							
							
							
							llvm-svn: 78948 
							
						 
						
							2009-08-13 21:58:54 +00:00  
				
					
						
							
							
								 
						
							
								eaccdd34a3 
								
							 
						 
						
							
							
								
								Documentation: fix HTML validation errors.  
							
							... 
							
							
							
							llvm-svn: 78196 
							
						 
						
							2009-08-05 15:42:44 +00:00  
				
					
						
							
							
								 
						
							
								5a1acd9912 
								
							 
						 
						
							
							
								
								Move a few more APIs back to 2.5 forms.  The only remaining ones left to change back are  
							
							... 
							
							
							
							metadata related, which I'm waiting on to avoid conflicting with Devang.
llvm-svn: 77721 
							
						 
						
							2009-07-31 20:28:14 +00:00  
				
					
						
							
							
								 
						
							
								4056ca9568 
								
							 
						 
						
							
							
								
								Move types back to the 2.5 API.  
							
							... 
							
							
							
							llvm-svn: 77516 
							
						 
						
							2009-07-29 22:17:13 +00:00  
				
					
						
							
							
								 
						
							
								69c464dec4 
								
							 
						 
						
							
							
								
								Move ConstantFP construction back to the 2.5-ish API.  
							
							... 
							
							
							
							llvm-svn: 77247 
							
						 
						
							2009-07-27 20:59:43 +00:00  
				
					
						
							
							
								 
						
							
								47db941fd3 
								
							 
						 
						
							
							
								
								Get rid of the Pass+Context magic.  
							
							... 
							
							
							
							llvm-svn: 76702 
							
						 
						
							2009-07-22 00:24:57 +00:00  
				
					
						
							
							
								 
						
							
								3a56ae8bbb 
								
							 
						 
						
							
							
								
								Various doc updates from Edward O'Callaghan!  
							
							... 
							
							
							
							llvm-svn: 76668 
							
						 
						
							2009-07-21 22:47:03 +00:00  
				
					
						
							
							
								 
						
							
								fc8a2d5a83 
								
							 
						 
						
							
							
								
								Add EngineBuilder to ExecutionEngine in favor of the five optional argument EE::create().  
							
							... 
							
							
							
							Also a test commit.
llvm-svn: 76276 
							
						 
						
							2009-07-18 00:42:18 +00:00  
				
					
						
							
							
								 
						
							
								c277dc408b 
								
							 
						 
						
							
							
								
								Privatize the ConstantFP table.  I'm on a roll!  
							
							... 
							
							
							
							llvm-svn: 76097 
							
						 
						
							2009-07-16 19:05:41 +00:00  
				
					
						
							
							
								 
						
							
								53a52215b5 
								
							 
						 
						
							
							
								
								Begin the painful process of tearing apart the rat'ss nest that is Constants.cpp and ConstantFold.cpp.  
							
							... 
							
							
							
							This involves temporarily hard wiring some parts to use the global context.  This isn't ideal, but it's
the only way I could figure out to make this process vaguely incremental.
llvm-svn: 75445 
							
						 
						
							2009-07-13 04:09:18 +00:00  
				
					
						
							
							
								 
						
							
								a771459bb1 
								
							 
						 
						
							
							
								
								Push LLVMContext _back_ through IRBuilder.  
							
							... 
							
							
							
							llvm-svn: 75040 
							
						 
						
							2009-07-08 20:50:47 +00:00  
				
					
						
							
							
								 
						
							
								cb368e295d 
								
							 
						 
						
							
							
								
								Use llvm::raw_stream instead of llvm::Streams.  
							
							... 
							
							
							
							llvm-svn: 71573 
							
						 
						
							2009-05-12 18:29:42 +00:00  
				
					
						
							
							
								 
						
							
								4ac15cee54 
								
							 
						 
						
							
							
								
								Fix compile error. Pointed out by mait on #llvm IRC!  
							
							... 
							
							
							
							llvm-svn: 68910 
							
						 
						
							2009-04-12 20:15:44 +00:00  
				
					
						
							
							
								 
						
							
								42225e50f3 
								
							 
						 
						
							
							
								
								do not pretend llvm/.../*.h being system headers  
							
							... 
							
							
							
							llvm-svn: 66697 
							
						 
						
							2009-03-11 20:23:40 +00:00  
				
					
						
							
							
								 
						
							
								605c7cab75 
								
							 
						 
						
							
							
								
								fix validator errors  
							
							... 
							
							
							
							llvm-svn: 66688 
							
						 
						
							2009-03-11 20:04:08 +00:00  
				
					
						
							
							
								 
						
							
								bfdf23f07c 
								
							 
						 
						
							
							
								
								Fix exaples using IRBuilder. Thanks, Quadrescence and Glip7 from IRC!  
							
							... 
							
							
							
							llvm-svn: 66687 
							
						 
						
							2009-03-11 19:51:07 +00:00  
				
					
						
							
							
								 
						
							
								da0921f5e6 
								
							 
						 
						
							
							
								
								mention rdynamic, PR3431, patch by Stein Roger Skafløtten!  
							
							... 
							
							
							
							llvm-svn: 64106 
							
						 
						
							2009-02-09 00:04:40 +00:00  
				
					
						
							
							
								 
						
							
								e5a6d7ddae 
								
							 
						 
						
							
							
								
								fix some incorrect links.  
							
							... 
							
							
							
							llvm-svn: 60919 
							
						 
						
							2008-12-12 04:20:01 +00:00  
				
					
						
							
							
								 
						
							
								49c28e4599 
								
							 
						 
						
							
							
								
								fix typo  
							
							... 
							
							
							
							llvm-svn: 58384 
							
						 
						
							2008-10-29 16:32:06 +00:00  
				
					
						
							
							
								 
						
							
								8030749993 
								
							 
						 
						
							
							
								
								adjust calls to ConstantFP::get to new API  
							
							... 
							
							
							
							llvm-svn: 52165 
							
						 
						
							2008-06-10 01:52:17 +00:00  
				
					
						
							
							
								 
						
							
								e438c56174 
								
							 
						 
						
							
							
								
								Update text to point people at the right version of the tutorial for  
							
							... 
							
							
							
							their release.
llvm-svn: 51638 
							
						 
						
							2008-05-28 06:16:08 +00:00  
				
					
						
							
							
								 
						
							
								e48de9c781 
								
							 
						 
						
							
							
								
								adapt to new API  
							
							... 
							
							
							
							llvm-svn: 51387 
							
						 
						
							2008-05-21 18:30:15 +00:00  
				
					
						
							
							
								 
						
							
								d01e263f39 
								
							 
						 
						
							
							
								
								Grammar fix.  
							
							... 
							
							
							
							llvm-svn: 51236 
							
						 
						
							2008-05-19 00:25:01 +00:00  
				
					
						
							
							
								 
						
							
								acbcce41cb 
								
							 
						 
						
							
							
								
								Delete module.  
							
							... 
							
							
							
							llvm-svn: 51235 
							
						 
						
							2008-05-19 00:20:45 +00:00  
				
					
						
							
							
								 
						
							
								8912f21250 
								
							 
						 
						
							
							
								
								Convert non-ASCII apostrophes into ASCII apostrophes.  
							
							... 
							
							
							
							llvm-svn: 51234 
							
						 
						
							2008-05-19 00:19:02 +00:00  
				
					
						
							
							
								 
						
							
								08226ea2ee 
								
							 
						 
						
							
							
								
								Delete the Module object.  
							
							... 
							
							
							
							llvm-svn: 51233 
							
						 
						
							2008-05-19 00:15:33 +00:00  
				
					
						
							
							
								 
						
							
								dc73a703db 
								
							 
						 
						
							
							
								
								s/insure/ensure/  
							
							... 
							
							
							
							llvm-svn: 51232 
							
						 
						
							2008-05-19 00:05:30 +00:00  
				
					
						
							
							
								 
						
							
								5b665498af 
								
							 
						 
						
							
							
								
								merge of 49966 from branches/ggreif/use-diet to trunk. these are already active API changes  
							
							... 
							
							
							
							llvm-svn: 49968 
							
						 
						
							2008-04-19 22:25:09 +00:00  
				
					
						
							
							
								 
						
							
								a5eb45bcfd 
								
							 
						 
						
							
							
								
								A couple minor fixes suggested by Matthijs Kooijman  
							
							... 
							
							
							
							llvm-svn: 49729 
							
						 
						
							2008-04-15 16:59:22 +00:00  
				
					
						
							
							
								 
						
							
								f87e052128 
								
							 
						 
						
							
							
								
								improve diagnostics in call parsing, patch suggested by  
							
							... 
							
							
							
							Matthijs Kooijman
llvm-svn: 49648 
							
						 
						
							2008-04-14 16:44:41 +00:00  
				
					
						
							
							
								 
						
							
								a07136ee2d 
								
							 
						 
						
							
							
								
								Merge LLVMBuilder and FoldingBuilder, calling  
							
							... 
							
							
							
							the result IRBuilder.  Patch by Dominic Hamon.
llvm-svn: 49604 
							
						 
						
							2008-04-13 06:22:09 +00:00  
				
					
						
							
							
								 
						
							
								eb1242a083 
								
							 
						 
						
							
							
								
								There isn't any c++ code in LangImpl8.html, so use that  
							
							... 
							
							
							
							instead of OCamlLangImpl8.html.
llvm-svn: 48979 
							
						 
						
							2008-03-31 08:50:45 +00:00  
				
					
						
							
							
								 
						
							
								0039235491 
								
							 
						 
						
							
							
								
								Chapter 5, 6, and 7 of the ocaml/kaleidoscope tutorial  
							
							... 
							
							
							
							and fix some tabs in chapter 3 and 4.
llvm-svn: 48978 
							
						 
						
							2008-03-31 08:44:50 +00:00  
				
					
						
							
							
								 
						
							
								dd0ace574b 
								
							 
						 
						
							
							
								
								Tweak build system to allow for installing the tutorial and uninstalling the docs.  
							
							... 
							
							
							
							llvm-svn: 48968 
							
						 
						
							2008-03-30 20:32:18 +00:00  
				
					
						
							
							
								 
						
							
								a2eba03db2 
								
							 
						 
						
							
							
								
								Fix some documentation for the tutorial.  
							
							... 
							
							
							
							llvm-svn: 48966 
							
						 
						
							2008-03-30 19:14:31 +00:00  
				
					
						
							
							
								 
						
							
								ca3c28bd58 
								
							 
						 
						
							
							
								
								Add chapter 3 and 4 of the ocaml/kaleidoscope tutorial.  
							
							... 
							
							
							
							llvm-svn: 48949 
							
						 
						
							2008-03-30 09:57:12 +00:00  
				
					
						
							
							
								 
						
							
								a5e13fab86 
								
							 
						 
						
							
							
								
								Adding the first two chapters of the ocaml/kaleidoscope tutorial.  
							
							... 
							
							
							
							llvm-svn: 48871 
							
						 
						
							2008-03-27 08:18:07 +00:00  
				
					
						
							
							
								 
						
							
								05acd73a73 
								
							 
						 
						
							
							
								
								Test commit (removed trailing whitespace)  
							
							... 
							
							
							
							llvm-svn: 48809 
							
						 
						
							2008-03-26 00:38:56 +00:00  
				
					
						
							
							
								 
						
							
								ce2682184f 
								
							 
						 
						
							
							
								
								Oops.  I wanted the compile flags for C++, not the C preprocessor flags.  
							
							... 
							
							
							
							llvm-svn: 48744 
							
						 
						
							2008-03-24 21:38:01 +00:00  
				
					
						
							
							
								 
						
							
								c8576eeaad 
								
							 
						 
						
							
							
								
								fix some bugs in tutorial, patch by Erick Tryzelaar  
							
							... 
							
							
							
							llvm-svn: 47481 
							
						 
						
							2008-02-22 17:09:39 +00:00  
				
					
						
							
							
								 
						
							
								a1ad2bf890 
								
							 
						 
						
							
							
								
								Various updates from Sam Bishop:  
							
							... 
							
							
							
							"I have been working my way through the JIT and Kaleidoscope tutorials in my
(minuscule) spare time.  Thanks again for writing them!  I have attached a
patch containing some minor changes, ranging from spelling and grammar fixes
to adding a "Next: <next tutorial section>" hyperlink to the bottom of each
page.
Every page has been given the "next link" treatment, but otherwise I'm only
half way through the Kaleidoscope tutorial.  I will send a follow-on patch
if time permits."
llvm-svn: 46933 
							
						 
						
							2008-02-10 19:11:04 +00:00  
				
					
						
							
							
								 
						
							
								f4ed277135 
								
							 
						 
						
							
							
								
								dump the module *before* we delete it, not after.  
							
							... 
							
							
							
							llvm-svn: 46741 
							
						 
						
							2008-02-05 06:18:42 +00:00  
				
					
						
							
							
								 
						
							
								b4ef023bf6 
								
							 
						 
						
							
							
								
								fix typo noticed by Joshua Pennington  
							
							... 
							
							
							
							llvm-svn: 44522 
							
						 
						
							2007-12-02 22:46:01 +00:00  
				
					
						
							
							
								 
						
							
								3fbb6a83a8 
								
							 
						 
						
							
							
								
								Add a note  
							
							... 
							
							
							
							llvm-svn: 44414 
							
						 
						
							2007-11-28 19:26:42 +00:00  
				
					
						
							
							
								 
						
							
								752b05fe94 
								
							 
						 
						
							
							
								
								!< is >=, not >.  Thanks to Max Hailperin for pointing this out!  
							
							... 
							
							
							
							llvm-svn: 44291 
							
						 
						
							2007-11-23 22:19:33 +00:00  
				
					
						
							
							
								 
						
							
								c280216c00 
								
							 
						 
						
							
							
								
								Teach me to do stuff late at night.  
							
							... 
							
							
							
							llvm-svn: 44236 
							
						 
						
							2007-11-19 16:10:59 +00:00  
				
					
						
							
							
								 
						
							
								99057116f6 
								
							 
						 
						
							
							
								
								Fix a factually incorrect statement pointed out by Max Hailperin.  
							
							... 
							
							
							
							llvm-svn: 44228 
							
						 
						
							2007-11-19 07:44:43 +00:00  
				
					
						
							
							
								 
						
							
								add10eecf9 
								
							 
						 
						
							
							
								
								many edits, patch by Kelly Wilson!  
							
							... 
							
							
							
							llvm-svn: 44157 
							
						 
						
							2007-11-15 04:51:31 +00:00  
				
					
						
							
							
								 
						
							
								36d5575660 
								
							 
						 
						
							
							
								
								Many typos, grammaro, and wording fixes.  Patch by  
							
							... 
							
							
							
							Kelly Wilson, thanks!
llvm-svn: 44043 
							
						 
						
							2007-11-13 07:06:30 +00:00  
				
					
						
							
							
								 
						
							
								1ced282c73 
								
							 
						 
						
							
							
								
								Typo fix in the tutorial.  
							
							... 
							
							
							
							llvm-svn: 44014 
							
						 
						
							2007-11-12 13:46:21 +00:00  
				
					
						
							
							
								 
						
							
								4df68cf26a 
								
							 
						 
						
							
							
								
								minor edit  
							
							... 
							
							
							
							llvm-svn: 43813 
							
						 
						
							2007-11-07 07:07:55 +00:00  
				
					
						
							
							
								 
						
							
								23dea1ef07 
								
							 
						 
						
							
							
								
								final edits.  
							
							... 
							
							
							
							llvm-svn: 43812 
							
						 
						
							2007-11-07 06:46:51 +00:00  
				
					
						
							
							
								 
						
							
								0903ac4837 
								
							 
						 
						
							
							
								
								chapter 7 edits  
							
							... 
							
							
							
							llvm-svn: 43811 
							
						 
						
							2007-11-07 06:34:39 +00:00  
				
					
						
							
							
								 
						
							
								d80488f0df 
								
							 
						 
						
							
							
								
								edits for chapter 7  
							
							... 
							
							
							
							llvm-svn: 43810 
							
						 
						
							2007-11-07 06:06:38 +00:00  
				
					
						
							
							
								 
						
							
								60ba5ef387 
								
							 
						 
						
							
							
								
								edits for chapter 5  
							
							... 
							
							
							
							llvm-svn: 43808 
							
						 
						
							2007-11-07 05:47:48 +00:00  
				
					
						
							
							
								 
						
							
								b2145a86f7 
								
							 
						 
						
							
							
								
								minor edits  
							
							... 
							
							
							
							llvm-svn: 43807 
							
						 
						
							2007-11-07 05:28:43 +00:00  
				
					
						
							
							
								 
						
							
								30f1db1ad9 
								
							 
						 
						
							
							
								
								edits.  
							
							... 
							
							
							
							llvm-svn: 43804 
							
						 
						
							2007-11-07 05:07:10 +00:00  
				
					
						
							
							
								 
						
							
								26f288b9ea 
								
							 
						 
						
							
							
								
								fixes from Kelly Wilson.  
							
							... 
							
							
							
							llvm-svn: 43767 
							
						 
						
							2007-11-06 18:13:32 +00:00  
				
					
						
							
							
								 
						
							
								ff25240bae 
								
							 
						 
						
							
							
								
								edits for chapter 3  
							
							... 
							
							
							
							llvm-svn: 43761 
							
						 
						
							2007-11-06 07:26:32 +00:00  
				
					
						
							
							
								 
						
							
								401bf39fa4 
								
							 
						 
						
							
							
								
								chapter 2 edits  
							
							... 
							
							
							
							llvm-svn: 43760 
							
						 
						
							2007-11-06 07:16:22 +00:00  
				
					
						
							
							
								 
						
							
								f0d84f1cc7 
								
							 
						 
						
							
							
								
								edits  
							
							... 
							
							
							
							llvm-svn: 43758 
							
						 
						
							2007-11-06 06:32:18 +00:00  
				
					
						
							
							
								 
						
							
								978ec3c389 
								
							 
						 
						
							
							
								
								clarify what proto is.  
							
							... 
							
							
							
							llvm-svn: 43753 
							
						 
						
							2007-11-06 05:07:30 +00:00  
				
					
						
							
							
								 
						
							
								0bf330a1bc 
								
							 
						 
						
							
							
								
								Add a real intro to the series.  
							
							... 
							
							
							
							llvm-svn: 43752 
							
						 
						
							2007-11-06 05:02:48 +00:00  
				
					
						
							
							
								 
						
							
								4f4048a174 
								
							 
						 
						
							
							
								
								typo from Ryan Brown.  
							
							... 
							
							
							
							llvm-svn: 43748 
							
						 
						
							2007-11-06 01:40:41 +00:00  
				
					
						
							
							
								 
						
							
								e6819aeee0 
								
							 
						 
						
							
							
								
								fixes from Ryan Brown.  
							
							... 
							
							
							
							llvm-svn: 43747 
							
						 
						
							2007-11-06 01:39:12 +00:00  
				
					
						
							
							
								 
						
							
								0d28238a1f 
								
							 
						 
						
							
							
								
								Add a missing #include.  
							
							... 
							
							
							
							llvm-svn: 43746 
							
						 
						
							2007-11-06 01:26:56 +00:00  
				
					
						
							
							
								 
						
							
								2f86ed734d 
								
							 
						 
						
							
							
								
								merge in various fixes from Kelly Wilson.  
							
							... 
							
							
							
							llvm-svn: 43731 
							
						 
						
							2007-11-05 20:13:56 +00:00  
				
					
						
							
							
								 
						
							
								fbfae1bd7e 
								
							 
						 
						
							
							
								
								add some links to the tutorial index and between chapters.  
							
							... 
							
							
							
							llvm-svn: 43730 
							
						 
						
							2007-11-05 20:04:56 +00:00  
				
					
						
							
							
								 
						
							
								a25729e0d0 
								
							 
						 
						
							
							
								
								grammaro  
							
							... 
							
							
							
							llvm-svn: 43729 
							
						 
						
							2007-11-05 19:33:52 +00:00  
				
					
						
							
							
								 
						
							
								4484d8d7f0 
								
							 
						 
						
							
							
								
								recursive types are our friend.  
							
							... 
							
							
							
							llvm-svn: 43727 
							
						 
						
							2007-11-05 19:28:07 +00:00  
				
					
						
							
							
								 
						
							
								2a8fd134ea 
								
							 
						 
						
							
							
								
								mention possibility of using a visitor  
							
							... 
							
							
							
							llvm-svn: 43726 
							
						 
						
							2007-11-05 19:25:14 +00:00  
				
					
						
							
							
								 
						
							
								a94cfa13e7 
								
							 
						 
						
							
							
								
								clarify why prototype::codegen returns a function.  
							
							... 
							
							
							
							llvm-svn: 43725 
							
						 
						
							2007-11-05 19:22:50 +00:00  
				
					
						
							
							
								 
						
							
								fd3cb0890b 
								
							 
						 
						
							
							
								
								TOC for chapter 8  
							
							... 
							
							
							
							llvm-svn: 43724 
							
						 
						
							2007-11-05 19:10:15 +00:00  
				
					
						
							
							
								 
						
							
								639a18dc26 
								
							 
						 
						
							
							
								
								add table of contents to each chapter.  
							
							... 
							
							
							
							llvm-svn: 43723 
							
						 
						
							2007-11-05 19:06:59 +00:00  
				
					
						
							
							
								 
						
							
								38eec3071a 
								
							 
						 
						
							
							
								
								add link to llvmbuilder doxygen docs  
							
							... 
							
							
							
							llvm-svn: 43719 
							
						 
						
							2007-11-05 18:02:15 +00:00  
				
					
						
							
							
								 
						
							
								9b2f7773ac 
								
							 
						 
						
							
							
								
								spell identifier correctly.  
							
							... 
							
							
							
							llvm-svn: 43718 
							
						 
						
							2007-11-05 17:54:34 +00:00  
				
					
						
							
							
								 
						
							
								e02310d5e3 
								
							 
						 
						
							
							
								
								fix typo  
							
							... 
							
							
							
							llvm-svn: 43717 
							
						 
						
							2007-11-05 17:52:04 +00:00  
				
					
						
							
							
								 
						
							
								2172186c7b 
								
							 
						 
						
							
							
								
								Dan points out that mem2reg also promotes vectors: be more precise.  
							
							... 
							
							
							
							llvm-svn: 43715 
							
						 
						
							2007-11-05 17:45:54 +00:00  
				
					
						
							
							
								 
						
							
								3527796804 
								
							 
						 
						
							
							
								
								clarify  
							
							... 
							
							
							
							llvm-svn: 43712 
							
						 
						
							2007-11-05 17:39:26 +00:00  
				
					
						
							
							
								 
						
							
								3a39ad630a 
								
							 
						 
						
							
							
								
								fix typo  
							
							... 
							
							
							
							llvm-svn: 43711 
							
						 
						
							2007-11-05 17:38:34 +00:00  
				
					
						
							
							
								 
						
							
								d6f131ba6f 
								
							 
						 
						
							
							
								
								Fix some typos.  
							
							... 
							
							
							
							llvm-svn: 43709 
							
						 
						
							2007-11-05 16:04:58 +00:00  
				
					
						
							
							
								 
						
							
								f8bc406d5d 
								
							 
						 
						
							
							
								
								Trivial fixes.  
							
							... 
							
							
							
							llvm-svn: 43707 
							
						 
						
							2007-11-05 15:15:50 +00:00  
				
					
						
							
							
								 
						
							
								6cdadb6041 
								
							 
						 
						
							
							
								
								add a link.  
							
							... 
							
							
							
							llvm-svn: 43702 
							
						 
						
							2007-11-05 07:02:49 +00:00  
				
					
						
							
							
								 
						
							
								044edf41df 
								
							 
						 
						
							
							
								
								finish the tutorial, yaay.  
							
							... 
							
							
							
							comments and feedback welcome.
llvm-svn: 43701 
							
						 
						
							2007-11-05 07:00:54 +00:00  
				
					
						
							
							
								 
						
							
								b7a5dbb4db 
								
							 
						 
						
							
							
								
								Add the first section of chapter 8.  
							
							... 
							
							
							
							llvm-svn: 43695 
							
						 
						
							2007-11-05 01:58:13 +00:00  
				
					
						
							
							
								 
						
							
								350759513b 
								
							 
						 
						
							
							
								
								finish the chapter.  
							
							... 
							
							
							
							llvm-svn: 43689 
							
						 
						
							2007-11-05 00:23:57 +00:00  
				
					
						
							
							
								 
						
							
								0e6b674993 
								
							 
						 
						
							
							
								
								fix typos  
							
							... 
							
							
							
							llvm-svn: 43682 
							
						 
						
							2007-11-04 19:42:13 +00:00  
				
					
						
							
							
								 
						
							
								65a146d418 
								
							 
						 
						
							
							
								
								finish the 'Memory in LLVM' section  
							
							... 
							
							
							
							llvm-svn: 43667 
							
						 
						
							2007-11-03 22:22:30 +00:00  
				
					
						
							
							
								 
						
							
								dfcc3f26ae 
								
							 
						 
						
							
							
								
								hack and slash the first 20% of chapter seven.  
							
							... 
							
							
							
							llvm-svn: 43663 
							
						 
						
							2007-11-03 08:55:29 +00:00  
				
					
						
							
							
								 
						
							
								74f87df108 
								
							 
						 
						
							
							
								
								fix typos  
							
							... 
							
							
							
							llvm-svn: 43637 
							
						 
						
							2007-11-02 05:54:25 +00:00  
				
					
						
							
							
								 
						
							
								ba2c3cdebb 
								
							 
						 
						
							
							
								
								Finish chapter 6, and add a spiffy demo that shows off the language.  
							
							... 
							
							
							
							llvm-svn: 43636 
							
						 
						
							2007-11-02 05:42:52 +00:00  
				
					
						
							
							
								 
						
							
								68613c7d31 
								
							 
						 
						
							
							
								
								Add the start of chapter 6, still much to go.  
							
							... 
							
							
							
							llvm-svn: 43607 
							
						 
						
							2007-11-01 06:49:54 +00:00  
				
					
						
							
							
								 
						
							
								75045da563 
								
							 
						 
						
							
							
								
								fix validation  
							
							... 
							
							
							
							llvm-svn: 43549 
							
						 
						
							2007-10-31 07:30:39 +00:00  
				
					
						
							
							
								 
						
							
								1db6e89b7a 
								
							 
						 
						
							
							
								
								okay, fine, make me finish this chapter. :)  
							
							... 
							
							
							
							Feedback appreciated!
llvm-svn: 43548 
							
						 
						
							2007-10-31 07:29:43 +00:00  
				
					
						
							
							
								 
						
							
								6b0fb58110 
								
							 
						 
						
							
							
								
								add the code for expression code that we'll add, though most of the  
							
							... 
							
							
							
							description is missing.
llvm-svn: 43547 
							
						 
						
							2007-10-31 06:47:39 +00:00  
				
					
						
							
							
								 
						
							
								149c55aba4 
								
							 
						 
						
							
							
								
								Add the first half of chapter 5: if/then/else.  
							
							... 
							
							
							
							To come: for statement.
llvm-svn: 43546 
							
						 
						
							2007-10-31 06:30:21 +00:00  
				
					
						
							
							
								 
						
							
								991b6b9d0c 
								
							 
						 
						
							
							
								
								typo  
							
							... 
							
							
							
							llvm-svn: 43351 
							
						 
						
							2007-10-25 18:05:29 +00:00  
				
					
						
							
							
								 
						
							
								76a2273f6e 
								
							 
						 
						
							
							
								
								some minor edits, link to Passes.html, make one point  
							
							... 
							
							
							
							I forgot about yesterday.
llvm-svn: 43350 
							
						 
						
							2007-10-25 17:52:39 +00:00  
				
					
						
							
							
								 
						
							
								4cee0451f0 
								
							 
						 
						
							
							
								
								Fix an obvious typo.  
							
							... 
							
							
							
							llvm-svn: 43333 
							
						 
						
							2007-10-25 06:50:30 +00:00  
				
					
						
							
							
								 
						
							
								4c209da848 
								
							 
						 
						
							
							
								
								More tutorial cleanups.  
							
							... 
							
							
							
							llvm-svn: 43332 
							
						 
						
							2007-10-25 06:49:29 +00:00  
				
					
						
							
							
								 
						
							
								af8059c1a7 
								
							 
						 
						
							
							
								
								Add proper footers.  
							
							... 
							
							
							
							llvm-svn: 43331 
							
						 
						
							2007-10-25 06:45:01 +00:00  
				
					
						
							
							
								 
						
							
								a24e5d6996 
								
							 
						 
						
							
							
								
								Don't bother providing code samples.  Maintaining zip files in the repository is a pain.  
							
							... 
							
							
							
							llvm-svn: 43330 
							
						 
						
							2007-10-25 06:41:23 +00:00  
				
					
						
							
							
								 
						
							
								8b59eafb89 
								
							 
						 
						
							
							
								
								Add chapter 4, feedback appreciated.  
							
							... 
							
							
							
							llvm-svn: 43329 
							
						 
						
							2007-10-25 06:23:36 +00:00  
				
					
						
							
							
								 
						
							
								46b4281b6a 
								
							 
						 
						
							
							
								
								Run the verifier on generated code.  
							
							... 
							
							
							
							llvm-svn: 43327 
							
						 
						
							2007-10-25 04:30:35 +00:00  
				
					
						
							
							
								 
						
							
								544f860f59 
								
							 
						 
						
							
							
								
								Update Makefile to use simpler llvm-config parameters.  
							
							... 
							
							
							
							llvm-svn: 43292 
							
						 
						
							2007-10-24 16:06:42 +00:00  
				
					
						
							
							
								 
						
							
								4c9dbd1e9f 
								
							 
						 
						
							
							
								
								Update Makefile to use simpler llvm-config parameters.  
							
							... 
							
							
							
							llvm-svn: 43291 
							
						 
						
							2007-10-24 16:04:08 +00:00  
				
					
						
							
							
								 
						
							
								9a760ebf32 
								
							 
						 
						
							
							
								
								further simplify run options, thanks to gordonh for pointing this out  
							
							... 
							
							
							
							llvm-svn: 43288 
							
						 
						
							2007-10-24 05:09:48 +00:00  
				
					
						
							
							
								 
						
							
								1fb0d5df69 
								
							 
						 
						
							
							
								
								Fix instructions now that PR1739 is fixed.  
							
							... 
							
							
							
							llvm-svn: 43287 
							
						 
						
							2007-10-24 04:37:23 +00:00  
				
					
						
							
							
								 
						
							
								c3def1530a 
								
							 
						 
						
							
							
								
								Fix validation problems, which were somewhat ironically in the "valid html" button code :)  
							
							... 
							
							
							
							llvm-svn: 43247 
							
						 
						
							2007-10-23 06:30:50 +00:00  
				
					
						
							
							
								 
						
							
								e9b16ec28a 
								
							 
						 
						
							
							
								
								add a skeleton for part 4  
							
							... 
							
							
							
							llvm-svn: 43246 
							
						 
						
							2007-10-23 06:27:55 +00:00  
				
					
						
							
							
								 
						
							
								a02ab559a1 
								
							 
						 
						
							
							
								
								complete the codegen chapter  
							
							... 
							
							
							
							llvm-svn: 43245 
							
						 
						
							2007-10-23 06:23:57 +00:00  
				
					
						
							
							
								 
						
							
								b5d8904909 
								
							 
						 
						
							
							
								
								Now with valid HTML 4.01!  
							
							... 
							
							
							
							llvm-svn: 43244 
							
						 
						
							2007-10-23 06:22:21 +00:00  
				
					
						
							
							
								 
						
							
								3ee597e34a 
								
							 
						 
						
							
							
								
								Add a link to the "writing an optimization" tutorial.  
							
							... 
							
							
							
							llvm-svn: 43243 
							
						 
						
							2007-10-23 06:17:39 +00:00  
				
					
						
							
							
								 
						
							
								c4bb8c75ca 
								
							 
						 
						
							
							
								
								Add downloadable code sample for tutorial 2.  
							
							... 
							
							
							
							llvm-svn: 43242 
							
						 
						
							2007-10-23 06:05:37 +00:00  
				
					
						
							
							
								 
						
							
								299be453b5 
								
							 
						 
						
							
							
								
								Add the second of the "basic topics" tutorials.  
							
							... 
							
							
							
							llvm-svn: 43241 
							
						 
						
							2007-10-23 06:03:24 +00:00  
				
					
						
							
							
								 
						
							
								9e87698ec1 
								
							 
						 
						
							
							
								
								Reorder the optimization and bitcode tutorials.  
							
							... 
							
							
							
							llvm-svn: 43240 
							
						 
						
							2007-10-23 06:02:14 +00:00  
				
					
						
							
							
								 
						
							
								61353b41df 
								
							 
						 
						
							
							
								
								Fix up a broken #include, move code to its own section, add conclusions.  
							
							... 
							
							
							
							llvm-svn: 43239 
							
						 
						
							2007-10-23 05:43:01 +00:00  
				
					
						
							
							
								 
						
							
								93b76e0c60 
								
							 
						 
						
							
							
								
								Finish up expr codegen.  
							
							... 
							
							
							
							llvm-svn: 43238 
							
						 
						
							2007-10-23 04:51:30 +00:00  
				
					
						
							
							
								 
						
							
								61b4ec70aa 
								
							 
						 
						
							
							
								
								several improvements suggested by Dan, thanks!  
							
							... 
							
							
							
							llvm-svn: 43237 
							
						 
						
							2007-10-23 04:27:44 +00:00  
				
					
						
							
							
								 
						
							
								ce2c3a456f 
								
							 
						 
						
							
							
								
								fit in 80 cols :)  
							
							... 
							
							
							
							llvm-svn: 43222 
							
						 
						
							2007-10-22 16:44:31 +00:00  
				
					
						
							
							
								 
						
							
								560762d118 
								
							 
						 
						
							
							
								
								start of chapter 3  
							
							... 
							
							
							
							llvm-svn: 43221 
							
						 
						
							2007-10-22 07:01:42 +00:00  
				
					
						
							
							
								 
						
							
								c2b2fc0a26 
								
							 
						 
						
							
							
								
								Fix a few typos I noticed.  
							
							... 
							
							
							
							llvm-svn: 43220 
							
						 
						
							2007-10-22 06:48:28 +00:00