e9ecc68d8f 
								
							 
						 
						
							
							
								
								API changes for class Use size reduction, wave 1.  
							
							... 
							
							
							
							Specifically, introduction of XXX::Create methods
for Users that have a potentially variable number of
Uses.
llvm-svn: 49277 
							
						 
						
							2008-04-06 20:25:17 +00:00  
				
					
						
							
							
								 
						
							
								723f2a1646 
								
							 
						 
						
							
							
								
								Fix an incorrect comment, PR2147.  
							
							... 
							
							
							
							llvm-svn: 48323 
							
						 
						
							2008-03-13 03:29:42 +00:00  
				
					
						
							
							
								 
						
							
								bcf65db6f3 
								
							 
						 
						
							
							
								
								remove attributions from examples.  
							
							... 
							
							
							
							llvm-svn: 45420 
							
						 
						
							2007-12-29 20:37:57 +00:00  
				
					
						
							
							
								 
						
							
								11cc8b3c14 
								
							 
						 
						
							
							
								
								remove attributions from the rest of the llvm makefiles.  
							
							... 
							
							
							
							llvm-svn: 45416 
							
						 
						
							2007-12-29 20:11:13 +00:00  
				
					
						
							
							
								 
						
							
								edf0788758 
								
							 
						 
						
							
							
								
								Change the PointerType api for creating pointer types. The old functionality of PointerType::get() has become PointerType::getUnqual(), which returns a pointer in the generic address space. The new prototype of PointerType::get() requires both a type and an address space.  
							
							... 
							
							
							
							llvm-svn: 45082 
							
						 
						
							2007-12-17 01:12:55 +00:00  
				
					
						
							
							
								 
						
							
								909ef0973b 
								
							 
						 
						
							
							
								
								add a new BF->LLVM translator, contributed by Sterling Stein.  
							
							... 
							
							
							
							llvm-svn: 41881 
							
						 
						
							2007-09-12 18:24:00 +00:00  
				
					
						
							
							
								 
						
							
								b0f158cfdf 
								
							 
						 
						
							
							
								
								rename APInt::toString -> toStringUnsigned for symmetry with toStringSigned()  
							
							... 
							
							
							
							Add an APSInt::toString() method.
llvm-svn: 41309 
							
						 
						
							2007-08-23 05:15:32 +00:00  
				
					
						
							
							
								 
						
							
								e16561cd5d 
								
							 
						 
						
							
							
								
								Here is the bulk of the sanitizing.  
							
							... 
							
							
							
							Almost all occurrences of "bytecode" in the sources have been eliminated.
llvm-svn: 37913 
							
						 
						
							2007-07-05 17:07:56 +00:00  
				
					
						
							
							
								 
						
							
								fc56043844 
								
							 
						 
						
							
							
								
								Remove BFtoLLVM.  It was old, and a poor example because it didn't use best practices for making  
							
							... 
							
							
							
							a LLVM frontend in C++.  Maybe someday it will be rewritten..
llvm-svn: 37858 
							
						 
						
							2007-07-03 21:36:47 +00:00  
				
					
						
							
							
								 
						
							
								41528e6e42 
								
							 
						 
						
							
							
								
								switch this to bitcode instead of bytecode  
							
							... 
							
							
							
							llvm-svn: 36867 
							
						 
						
							2007-05-06 09:29:13 +00:00  
				
					
						
							
							
								 
						
							
								68173455cd 
								
							 
						 
						
							
							
								
								Revert last patch. The examples build now.  
							
							... 
							
							
							
							llvm-svn: 34970 
							
						 
						
							2007-03-06 17:26:14 +00:00  
				
					
						
							
							
								 
						
							
								8a9ae48d53 
								
							 
						 
						
							
							
								
								Adjust for changes in GenericValue type.  
							
							... 
							
							
							
							llvm-svn: 34969 
							
						 
						
							2007-03-06 17:24:31 +00:00  
				
					
						
							
							
								 
						
							
								70c3c66e38 
								
							 
						 
						
							
							
								
								temporarily disable this until Reid has a chance to fix it.  
							
							... 
							
							
							
							llvm-svn: 34962 
							
						 
						
							2007-03-06 07:30:03 +00:00  
				
					
						
							
							
								 
						
							
								e3cf188c1e 
								
							 
						 
						
							
							
								
								eliminate vector-related ctors  
							
							... 
							
							
							
							llvm-svn: 34227 
							
						 
						
							2007-02-13 06:06:26 +00:00  
				
					
						
							
							
								 
						
							
								969bdf344f 
								
							 
						 
						
							
							
								
								Fix a #include to resolve IntegerType class.  
							
							... 
							
							
							
							llvm-svn: 33385 
							
						 
						
							2007-01-19 22:45:50 +00:00  
				
					
						
							
							
								 
						
							
								727f31b2cd 
								
							 
						 
						
							
							
								
								Add a #include to resolve IntegerType class.  
							
							... 
							
							
							
							llvm-svn: 33384 
							
						 
						
							2007-01-19 22:45:05 +00:00  
				
					
						
							
							
								 
						
							
								b800b3921c 
								
							 
						 
						
							
							
								
								add some casts to support a change in the getOrInsertFunction interface  
							
							... 
							
							
							
							llvm-svn: 32984 
							
						 
						
							2007-01-07 07:40:09 +00:00  
				
					
						
							
							
								 
						
							
								bc013ba367 
								
							 
						 
						
							
							
								
								For PR950:  
							
							... 
							
							
							
							Convert signed integer types to signless.
llvm-svn: 32786 
							
						 
						
							2006-12-31 05:50:28 +00:00  
				
					
						
							
							
								 
						
							
								266e42b312 
								
							 
						 
						
							
							
								
								For PR950:  
							
							... 
							
							
							
							This patch removes the SetCC instructions and replaces them with the ICmp
and FCmp instructions. The SetCondInst instruction has been removed and
been replaced with ICmpInst and FCmpInst.
llvm-svn: 32751 
							
						 
						
							2006-12-23 06:05:41 +00:00  
				
					
						
							
							
								 
						
							
								f3baad3ee1 
								
							 
						 
						
							
							
								
								Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are  
							
							... 
							
							
							
							now cerr, cout, and NullStream resp.
llvm-svn: 32298 
							
						 
						
							2006-12-07 01:30:32 +00:00  
				
					
						
							
							
								 
						
							
								d43999259b 
								
							 
						 
						
							
							
								
								For PR1019:  
							
							... 
							
							
							
							Add HAVE_PTHREAD to makefiles with support from configure and use it to
determine whether to build examples/ParallelJIT.
Patch by Anton Korobeynikov.
llvm-svn: 32054 
							
						 
						
							2006-12-01 00:37:14 +00:00  
				
					
						
							
							
								 
						
							
								afd54eb8b6 
								
							 
						 
						
							
							
								
								Replacing std::iostreams with llvm iostreams. Some of these changes involve  
							
							... 
							
							
							
							adding a temporary wrapper around the ostream to make it friendly to
functions expecting an LLVM stream. This should be fixed in the future.
llvm-svn: 31990 
							
						 
						
							2006-11-29 00:19:40 +00:00  
				
					
						
							
							
								 
						
							
								e0fc4dfc22 
								
							 
						 
						
							
							
								
								For PR950:  
							
							... 
							
							
							
							This patch implements the first increment for the Signless Types feature.
All changes pertain to removing the ConstantSInt and ConstantUInt classes
in favor of just using ConstantInt.
llvm-svn: 31063 
							
						 
						
							2006-10-20 07:07:24 +00:00  
				
					
						
							
							
								 
						
							
								e63072ea0a 
								
							 
						 
						
							
							
								
								Use llvm-config to determine what to link in  
							
							... 
							
							
							
							llvm-svn: 30092 
							
						 
						
							2006-09-04 06:04:03 +00:00  
				
					
						
							
							
								 
						
							
								5dbafa8aad 
								
							 
						 
						
							
							
								
								WriteBytecodeToFile actually can't throw.  
							
							... 
							
							
							
							llvm-svn: 29397 
							
						 
						
							2006-07-28 22:08:23 +00:00  
				
					
						
							
							
								 
						
							
								91c3733cac 
								
							 
						 
						
							
							
								
								WriteBytecodeToFile throws, so this needs EH info.  
							
							... 
							
							
							
							llvm-svn: 29392 
							
						 
						
							2006-07-28 21:55:54 +00:00  
				
					
						
							
							
								 
						
							
								a647c7ff42 
								
							 
						 
						
							
							
								
								Use archive libraries instead of object files for VMCore, BCReader,  
							
							... 
							
							
							
							BCWriter, and bzip2 libraries. Adjust the various makefiles to accommodate
these changes. This was done to speed up link times.
llvm-svn: 28610 
							
						 
						
							2006-06-01 01:30:27 +00:00  
				
					
						
							
							
								 
						
							
								6c8368beea 
								
							 
						 
						
							
							
								
								Support correct build:  
							
							... 
							
							
							
							1. Capture the ENABLE_THREADS configure variable in Makefile.config
2. Use ENABLE_THREADS to avoid building ParallelJIT if threads are not
   present.
llvm-svn: 28609 
							
						 
						
							2006-06-01 01:09:43 +00:00  
				
					
						
							
							
								 
						
							
								d078a1fd4c 
								
							 
						 
						
							
							
								
								Correct some grammar and describe current reality.  
							
							... 
							
							
							
							llvm-svn: 28532 
							
						 
						
							2006-05-29 02:31:47 +00:00  
				
					
						
							
							
								 
						
							
								5eae951603 
								
							 
						 
						
							
							
								
								Catch a potentially thrown exception.  
							
							... 
							
							
							
							llvm-svn: 28295 
							
						 
						
							2006-05-14 19:08:39 +00:00  
				
					
						
							
							
								 
						
							
								e46cbe7a55 
								
							 
						 
						
							
							
								
								Minor corrections.  
							
							... 
							
							
							
							llvm-svn: 27042 
							
						 
						
							2006-03-24 03:11:31 +00:00  
				
					
						
							
							
								 
						
							
								7f731c5db9 
								
							 
						 
						
							
							
								
								Upgrade this to use the new intrinsic names  
							
							... 
							
							
							
							llvm-svn: 26483 
							
						 
						
							2006-03-03 01:31:12 +00:00  
				
					
						
							
							
								 
						
							
								11e26b52b2 
								
							 
						 
						
							
							
								
								When a function takes a variable number of pointer arguments, with a zero  
							
							... 
							
							
							
							pointer marking the end of the list, the zero *must* be cast to the pointer
type.  An un-cast zero is a 32-bit int, and at least on x86_64, gcc will
not extend the zero to 64 bits, thus allowing the upper 32 bits to be
random junk.
The new END_WITH_NULL macro may be used to annotate a such a function
so that GCC (version 4 or newer) will detect the use of un-casted zero
at compile time.
llvm-svn: 23888 
							
						 
						
							2005-10-23 04:37:20 +00:00  
				
					
						
							
							
								 
						
							
								f85fabeb71 
								
							 
						 
						
							
							
								
								For PR616:  
							
							... 
							
							
							
							These patches make threading optional in LLVM. The configuration scripts are now
modified to accept a --disable-threads switch. If this is used, the Mutex class
will be implemented with all functions as no-op. Furthermore, linking against
libpthread will not be done. Finally, the ParallelJIT example needs libpthread
so its makefile was changed to always add -lpthread to the link line.
llvm-svn: 23003 
							
						 
						
							2005-08-24 10:07:20 +00:00  
				
					
						
							
							
								 
						
							
								5f4ef3c5a8 
								
							 
						 
						
							
							
								
								Eliminate all remaining tabs and trailing spaces.  
							
							... 
							
							
							
							llvm-svn: 22523 
							
						 
						
							2005-07-27 06:12:32 +00:00  
				
					
						
							
							
								 
						
							
								8640f2bdc1 
								
							 
						 
						
							
							
								
								Get rid of warnings on Alpha  
							
							... 
							
							
							
							llvm-svn: 22428 
							
						 
						
							2005-07-13 23:20:24 +00:00  
				
					
						
							
							
								 
						
							
								06a1da3efb 
								
							 
						 
						
							
							
								
								Correct the file title.  
							
							... 
							
							
							
							llvm-svn: 22414 
							
						 
						
							2005-07-12 22:00:29 +00:00  
				
					
						
							
							
								 
						
							
								6855097c0d 
								
							 
						 
						
							
							
								
								For PR418:  
							
							... 
							
							
							
							Add an example program that utilizes multiple threads in the JIT to process
work. This was used by Evan Jones as the original test case for ensuring
that the ExecutionEngine was thread safe.
Original source by Evan Jones (adapted from other LLVM JIT examples) and
made LLVM style compliant by Reid Spencer.
llvm-svn: 22411 
							
						 
						
							2005-07-12 21:51:33 +00:00  
				
					
						
							
							
								 
						
							
								5879f9c24d 
								
							 
						 
						
							
							
								
								Don't forget these are calls  
							
							... 
							
							
							
							llvm-svn: 21730 
							
						 
						
							2005-05-06 06:21:59 +00:00  
				
					
						
							
							
								 
						
							
								eaf625dc5c 
								
							 
						 
						
							
							
								
								These are legal for tail calls  
							
							... 
							
							
							
							llvm-svn: 21723 
							
						 
						
							2005-05-06 05:59:50 +00:00  
				
					
						
							
							
								 
						
							
								8c0ca76517 
								
							 
						 
						
							
							
								
								Convert tabs to spaces  
							
							... 
							
							
							
							llvm-svn: 21433 
							
						 
						
							2005-04-22 03:18:56 +00:00  
				
					
						
							
							
								 
						
							
								2f72bafb60 
								
							 
						 
						
							
							
								
								Remove trailing whitespace at the end of lines  
							
							... 
							
							
							
							llvm-svn: 21380 
							
						 
						
							2005-04-20 16:42:34 +00:00  
				
					
						
							
							
								 
						
							
								3779fd6521 
								
							 
						 
						
							
							
								
								add missing copyright header  
							
							... 
							
							
							
							llvm-svn: 20614 
							
						 
						
							2005-03-15 15:46:23 +00:00  
				
					
						
							
							
								 
						
							
								222dcd44ff 
								
							 
						 
						
							
							
								
								Stop using abegin and aend.  
							
							... 
							
							
							
							llvm-svn: 20610 
							
						 
						
							2005-03-15 07:20:55 +00:00  
				
					
						
							
							
								 
						
							
								84adfd8c4f 
								
							 
						 
						
							
							
								
								Stop using abegin.  
							
							... 
							
							
							
							llvm-svn: 20609 
							
						 
						
							2005-03-15 07:12:30 +00:00  
				
					
						
							
							
								 
						
							
								bb9932c96a 
								
							 
						 
						
							
							
								
								Use LLVMLIBS=JIT to get JIT libraries  
							
							... 
							
							
							
							llvm-svn: 18333 
							
						 
						
							2004-11-29 07:17:18 +00:00  
				
					
						
							
							
								 
						
							
								d3f2e95e6c 
								
							 
						 
						
							
							
								
								Add LLVMbzip2 library, now required.  
							
							... 
							
							
							
							llvm-svn: 18255 
							
						 
						
							2004-11-25 20:22:06 +00:00  
				
					
						
							
							
								 
						
							
								7e9e0b0c82 
								
							 
						 
						
							
							
								
								Fix PR456:\  
							
							... 
							
							
							
							Tools and libraries will be built into $(BUILD_OBJ_ROOT)/$(BuildMode)/bin and \
$(BUILD_OBJ_ROOT)/$(BuildMode)/lib, respectively. Furthermore, the example \
programs will go in $(BUILD_OBJ_ROOT)/$(BuildMode)/examples to keep them \
separate from the tools and hopefully out of the PATH. Install targets \
have not changed.
llvm-svn: 17953 
							
						 
						
							2004-11-18 10:03:46 +00:00  
				
					
						
							
							
								 
						
							
								a73e7cae72 
								
							 
						 
						
							
							
								
								Clean up code layout, delete extra blank line, say `fibonacci' instead of `foo'  
							
							... 
							
							
							
							llvm-svn: 17478 
							
						 
						
							2004-11-05 04:11:40 +00:00  
				
					
						
							
							
								 
						
							
								adb5342ae8 
								
							 
						 
						
							
							
								
								Fix typeo  
							
							... 
							
							
							
							llvm-svn: 17466 
							
						 
						
							2004-11-04 05:00:18 +00:00  
				
					
						
							
							
								 
						
							
								bd2886d1f0 
								
							 
						 
						
							
							
								
								Cleanup this example, simplifying it and making it conform to LLVM coding  
							
							... 
							
							
							
							standards
llvm-svn: 17459 
							
						 
						
							2004-11-03 21:43:03 +00:00  
				
					
						
							
							
								 
						
							
								57cbe39d1e 
								
							 
						 
						
							
							
								
								Change Library Names Not To Conflict With Others When Installed  
							
							... 
							
							
							
							llvm-svn: 17286 
							
						 
						
							2004-10-27 23:18:45 +00:00  
				
					
						
							
							
								 
						
							
								f9898d7189 
								
							 
						 
						
							
							
								
								Use the shared Makefile.JIT for JIT-enablement, which also enables the examples  
							
							... 
							
							
							
							to have the JIT functioning on more platforms than just x86
llvm-svn: 16993 
							
						 
						
							2004-10-14 19:02:13 +00:00  
				
					
						
							
							
								 
						
							
								a3d1b776b9 
								
							 
						 
						
							
							
								
								Build BFtoLLVM example front-end by default  
							
							... 
							
							
							
							llvm-svn: 16719 
							
						 
						
							2004-10-05 18:05:53 +00:00  
				
					
						
							
							
								 
						
							
								ca70a78b71 
								
							 
						 
						
							
							
								
								Add BFtoLLVM example front end  
							
							... 
							
							
							
							llvm-svn: 16714 
							
						 
						
							2004-10-05 18:05:25 +00:00  
				
					
						
							
							
								 
						
							
								987319d3a7 
								
							 
						 
						
							
							
								
								Correct the file header to reflect the new "examples" home for the file.  
							
							... 
							
							
							
							llvm-svn: 16295 
							
						 
						
							2004-09-11 20:30:11 +00:00  
				
					
						
							
							
								 
						
							
								0bb062e55d 
								
							 
						 
						
							
							
								
								Add library LLVMsystem.a because the JIT now needs it.  
							
							... 
							
							
							
							llvm-svn: 16285 
							
						 
						
							2004-09-11 04:29:44 +00:00  
				
					
						
							
							
								 
						
							
								5b81eea7a5 
								
							 
						 
						
							
							
								
								Moved small examples from /projects/SmallExamples to /examples.  
							
							... 
							
							
							
							Made the "ModuleMaker" into an example since its just one source file.
llvm-svn: 16003 
							
						 
						
							2004-08-23 19:29:54 +00:00  
				
					
						
							
							
								 
						
							
								b987b7cede 
								
							 
						 
						
							
							
								
								Moved the "SmallExamples" out of the /projects directory and into a new  
							
							... 
							
							
							
							/examples directory. History was maintained. These programs do not need to
be configured but things in /projects must be.
llvm-svn: 16002 
							
						 
						
							2004-08-23 19:28:39 +00:00  
				
					
						
							
							
								 
						
							
								300396971c 
								
							 
						 
						
							
							
								
								Fix Title line  
							
							... 
							
							
							
							Make the "DIRS" option descend any directory with a Makefile.
llvm-svn: 16001 
							
						 
						
							2004-08-23 18:06:31 +00:00