Brian Gaeke
							
						 
						
							 
							
							
							
							
								
							
							
								1a7668a9fd 
								
							 
						 
						
							
							
								
								Implement replaceMachineCodeForFunction() for x86.  
							
							 
							
							... 
							
							
							
							llvm-svn: 9204 
							
						 
						
							2003-10-17 18:27:46 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								37225efa97 
								
							 
						 
						
							
							
								
								Instead of hacking in custom support for Invoke/Unwind, use the LowerInvoke pass  
							
							 
							
							... 
							
							
							
							llvm-svn: 8871 
							
						 
						
							2003-10-05 19:15:47 +00:00  
						
					 
				
					
						
							
							
								 
								Alkis Evlogimenos
							
						 
						
							 
							
							
							
							
								
							
							
								5facafaabe 
								
							 
						 
						
							
							
								
								Moved enum and command-line option in separate file. Also added function that returns the user selected register allocator to the caller.  
							
							 
							
							... 
							
							
							
							llvm-svn: 8819 
							
						 
						
							2003-10-02 16:57:49 +00:00  
						
					 
				
					
						
							
							
								 
								Alkis Evlogimenos
							
						 
						
							 
							
							
							
							
								
							
							
								8207a2c079 
								
							 
						 
						
							
							
								
								Change llc command line for register allocators  
							
							 
							
							... 
							
							
							
							llvm-svn: 8815 
							
						 
						
							2003-10-02 06:13:19 +00:00  
						
					 
				
					
						
							
							
								 
								Alkis Evlogimenos
							
						 
						
							 
							
							
							
							
								
							
							
								3dfcbf1317 
								
							 
						 
						
							
							
								
								Revert previous change. For some reason this went into the main branch  
							
							 
							
							... 
							
							
							
							llvm-svn: 8805 
							
						 
						
							2003-10-01 19:40:13 +00:00  
						
					 
				
					
						
							
							
								 
								Alkis Evlogimenos
							
						 
						
							 
							
							
							
							
								
							
							
								568e4386e8 
								
							 
						 
						
							
							
								
								Added command line option for linear scan allocator  
							
							 
							
							... 
							
							
							
							llvm-svn: 8804 
							
						 
						
							2003-10-01 19:38:10 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4fd144acc8 
								
							 
						 
						
							
							
								
								Targets should configure themselves based on a Module, not some wierd flags  
							
							 
							
							... 
							
							
							
							llvm-svn: 8132 
							
						 
						
							2003-08-24 19:49:48 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4b422520ca 
								
							 
						 
						
							
							
								
								Fix ABI issue: Longs really do need to be only 4 byte aligned on X86.  
							
							 
							
							... 
							
							
							
							This bug caused miscompilation of programs using 'struct stat', but only if
compiled with support for 64-bit filesystems.  This could in theory effect
other things, but only if the LLVM code shared data structures with native code.
llvm-svn: 7928 
							
						 
						
							2003-08-17 23:20:40 +00:00  
						
					 
				
					
						
							
							
								 
								Brian Gaeke
							
						 
						
							 
							
							
							
							
								
							
							
								02cbe2824c 
								
							 
						 
						
							
							
								
								addPassesToJITCompile now takes a FunctionPassManager, to support  
							
							 
							
							... 
							
							
							
							function-at-a-time compilation and emission of code.
Separate addPassesToEmitAssembly from addPassesToJITCompile, because
 the latter requires you to use FunctionPasses, and the former might
 diverge anyway.
llvm-svn: 7817 
							
						 
						
							2003-08-13 18:15:52 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e61db425e8 
								
							 
						 
						
							
							
								
								Add support for a pattern matching instruction selector.  This is still in  
							
							 
							
							... 
							
							
							
							the early implementation phases, so it is disabled by default
llvm-svn: 7719 
							
						 
						
							2003-08-11 14:59:22 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1d6ba3e359 
								
							 
						 
						
							
							
								
								Factor shared code  
							
							 
							
							... 
							
							
							
							llvm-svn: 7600 
							
						 
						
							2003-08-05 16:34:44 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a2e2f5cc45 
								
							 
						 
						
							
							
								
								Rename function to be more consistent with filename  
							
							 
							
							... 
							
							
							
							llvm-svn: 7352 
							
						 
						
							2003-07-26 23:49:58 +00:00  
						
					 
				
					
						
							
							
								 
								Brian Gaeke
							
						 
						
							 
							
							
							
							
								
							
							
								a92dce471b 
								
							 
						 
						
							
							
								
								Printer.cpp: Ditch addRequired/getAnalysis, because they leave  
							
							 
							
							... 
							
							
							
							Printer::doFinalization() out in the cold.  Now we pass in a TargetMachine
  to Printer's constructor and get the TargetData from the TargetMachine.
 Don't pass TargetMachine or MRegisterInfo objects around in the Printer.
 Constify TargetData references.
X86.h: Update comment and prototype of createX86CodePrinterPass().
X86TargetMachine.cpp: Update callers of createX86CodePrinterPass().
llvm-svn: 7275 
							
						 
						
							2003-07-23 20:25:08 +00:00  
						
					 
				
					
						
							
							
								 
								Brian Gaeke
							
						 
						
							 
							
							
							
							
								
							
							
								ac94bab876 
								
							 
						 
						
							
							
								
								lib/Target/X86/X86TargetMachine.{cpp,h}:  Add initial version  
							
							 
							
							... 
							
							
							
							(non-working) of llc guts for X86, and add a prototype for it.
llvm-svn: 6779 
							
						 
						
							2003-06-18 21:43:21 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4f6cdbdf81 
								
							 
						 
						
							
							
								
								Remove two fields from TargetData which are target specific.  
							
							 
							
							... 
							
							
							
							llvm-svn: 5963 
							
						 
						
							2003-04-26 20:11:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								afdf01ef62 
								
							 
						 
						
							
							
								
								Fix compatibility bug: X86 aligns doubles to 4 bytes, not 8!  
							
							 
							
							... 
							
							
							
							llvm-svn: 5935 
							
						 
						
							2003-04-25 06:05:57 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								524608ab79 
								
							 
						 
						
							
							
								
								Add support for the Switch instruction by running the lowerSwitch pass first  
							
							 
							
							... 
							
							
							
							llvm-svn: 5867 
							
						 
						
							2003-04-23 16:24:55 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								30f40d94cc 
								
							 
						 
						
							
							
								
								Rename -no-* to -disable-*  
							
							 
							
							... 
							
							
							
							llvm-svn: 5642 
							
						 
						
							2003-02-26 20:00:41 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b2809dc6b5 
								
							 
						 
						
							
							
								
								Implement code to keep the stack pointer aligned to an 8 byte boundary.  
							
							 
							
							... 
							
							
							
							This improves the performance of the power benchmark by a few percent.
This will be neccesary for SSE code, which requires 16 byte alignment of
the stack.
llvm-svn: 5320 
							
						 
						
							2003-01-16 02:20:12 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								962d5befb3 
								
							 
						 
						
							
							
								
								* No longer need lowerallocation pass  
							
							 
							
							... 
							
							
							
							* Add X86 Stackifier pass
* Add peephole optimizer pass
llvm-svn: 5233 
							
						 
						
							2003-01-13 00:51:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9a81e69439 
								
							 
						 
						
							
							
								
								* Initialize new FrameInfo member  
							
							 
							
							... 
							
							
							
							* most pass ctors no longer take TM arguments
* New prolog/epilog insertion pass
llvm-svn: 5188 
							
						 
						
							2002-12-28 20:33:32 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								55aaff5590 
								
							 
						 
						
							
							
								
								Free machine code  
							
							 
							
							... 
							
							
							
							llvm-svn: 5146 
							
						 
						
							2002-12-25 05:06:21 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a32b4055be 
								
							 
						 
						
							
							
								
								Changes to allow for a configurable target machine that allows big endian and/or long pointer operation  
							
							 
							
							... 
							
							
							
							llvm-svn: 5131 
							
						 
						
							2002-12-24 00:04:01 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d9c6f2a6d3 
								
							 
						 
						
							
							
								
								Local register allocator is now stable enough for use, it passes all tests  
							
							 
							
							... 
							
							
							
							llvm-svn: 5094 
							
						 
						
							2002-12-17 02:51:15 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e0c25aaf99 
								
							 
						 
						
							
							
								
								Add mechanism to select register allocator to use  
							
							 
							
							... 
							
							
							
							llvm-svn: 5079 
							
						 
						
							2002-12-16 16:15:51 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0b9f0b5faf 
								
							 
						 
						
							
							
								
								Rename createSimpleX86RegisterAllocator to createSimpleRegisterAllocator  
							
							 
							
							... 
							
							
							
							llvm-svn: 5071 
							
						 
						
							2002-12-16 14:38:13 +00:00  
						
					 
				
					
						
							
							
								 
								Misha Brukman
							
						 
						
							 
							
							
							
							
								
							
							
								ca8eb8af18 
								
							 
						 
						
							
							
								
								Make function code generation printing debug-only.  
							
							 
							
							... 
							
							
							
							llvm-svn: 5023 
							
						 
						
							2002-12-13 13:16:14 +00:00  
						
					 
				
					
						
							
							
								 
								Brian Gaeke
							
						 
						
							 
							
							
							
							
								
							
							
								4e2c30d894 
								
							 
						 
						
							
							
								
								brg  
							
							 
							
							... 
							
							
							
							InstSelectSimple.cpp: Add stub implementation of visitFreeInst.
 Add comments that mention how we are failing to implement malloc/free.
 Add initial implementation of visitAllocaInst.
X86TargetMachine.cpp: Include llvm/Transforms/Scalar.h.
 Add LowerAllocations pass before instruction selection.
jello/Makefile: Add scalaropts.a.
llvm-svn: 4994 
							
						 
						
							2002-12-13 06:46:31 +00:00  
						
					 
				
					
						
							
							
								 
								Misha Brukman
							
						 
						
							 
							
							
							
							
								
							
							
								55cf6bfae4 
								
							 
						 
						
							
							
								
								Enable the register allocator pass.  
							
							 
							
							... 
							
							
							
							llvm-svn: 4829 
							
						 
						
							2002-11-22 22:45:07 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d7a855668d 
								
							 
						 
						
							
							
								
								Print machine code after instruction selection  
							
							 
							
							... 
							
							
							
							llvm-svn: 4434 
							
						 
						
							2002-10-30 00:47:49 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								02a3d837c2 
								
							 
						 
						
							
							
								
								Convert backend to use passes, implement X86TargetMachine  
							
							 
							
							... 
							
							
							
							llvm-svn: 4421 
							
						 
						
							2002-10-29 22:37:54 +00:00