Evan Cheng 
							
						 
					 
					
						
						
							
						
						4c1aa86657 
					 
					
						
						
							
							- Added option -relocation-model to set relocation model. Valid values include static, pic,  
						
						... 
						
						
						
						dynamic-no-pic, and default.
PPC and x86 default is dynamic-no-pic for Darwin, pic for others.
- Removed options -enable-pic and -ppc-static.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26315  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-02-22 20:19:42 +00:00 
						 
				 
			
				
					
						
							
							
								Nate Begeman 
							
						 
					 
					
						
						
							
						
						73bfa71524 
					 
					
						
						
							
							Remove the X86 and PowerPC Simple instruction selectors; their time has  
						
						... 
						
						
						
						passed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22886  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-08-18 23:53:15 +00:00 
						 
				 
			
				
					
						
							
							
								Nate Begeman 
							
						 
					 
					
						
						
							
						
						f63be7d395 
					 
					
						
						
							
							First round of support for doing scalar FP using the SSE2 ISA extension and  
						
						... 
						
						
						
						XMM registers.  There are many known deficiencies and fixmes, which will be
addressed ASAP.  The major benefit of this work is that it will allow the
LLVM register allocator to allocate FP registers across basic blocks.
The x86 backend will still default to x87 style FP.  To enable this work,
you must pass -enable-sse-scalar-fp and either -sse2 or -sse3 to llc.
An example before and after would be for:
double foo(double *P) { double Sum = 0; int i; for (i = 0; i < 1000; ++i)
                        Sum += P[i]; return Sum; }
The inner loop looks like the following:
x87:
.LBB_foo_1:     # no_exit
        fldl (%esp)
        faddl (%eax,%ecx,8)
        fstpl (%esp)
        incl %ecx
        cmpl $1000, %ecx
        #FP_REG_KILL
        jne .LBB_foo_1  # no_exit
SSE2:
        addsd (%eax,%ecx,8), %xmm0
        incl %ecx
        cmpl $1000, %ecx
        #FP_REG_KILL
        jne .LBB_foo_1  # no_exit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22340  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-07-06 18:59:04 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						7d93727bb2 
					 
					
						
						
							
							capitalize  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21962  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-05-13 19:48:34 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						34f74a6162 
					 
					
						
						
							
							Expose an option allowing unsafe math optimizations.  Patch contributed by  
						
						... 
						
						
						
						Morten Ofstad!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21630  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-04-30 04:09:52 +00:00 
						 
				 
			
				
					
						
							
							
								Misha Brukman 
							
						 
					 
					
						
						
							
						
						f976c856fc 
					 
					
						
						
							
							Remove trailing whitespace  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21422  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-04-21 22:55:34 +00:00 
						 
				 
			
				
					
						
							
							
								Nate Begeman 
							
						 
					 
					
						
						
							
						
						f8b02949e3 
					 
					
						
						
							
							Make pattern isel default for ppc  
						
						... 
						
						
						
						Add new ppc beta option related to using condition registers
Make pattern isel control flag (-enable-pattern-isel) global and tristate
  0 == off
  1 == on
  2 == target default
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21309  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-04-15 22:12:16 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						45554a61f2 
					 
					
						
						
							
							Add a new target-independent code generator flag.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19567  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-01-15 06:00:32 +00:00 
						 
				 
			
				
					
						
							
							
								Reid Spencer 
							
						 
					 
					
						
						
							
						
						551ccae044 
					 
					
						
						
							
							Changes For Bug 352  
						
						... 
						
						
						
						Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16137  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-09-01 22:55:40 +00:00 
						 
				 
			
				
					
						
							
							
								Misha Brukman 
							
						 
					 
					
						
						
							
						
						167deff938 
					 
					
						
						
							
							Implement new constructor.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15633  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-08-10 23:10:25 +00:00 
						 
				 
			
				
					
						
							
							
								Misha Brukman 
							
						 
					 
					
						
						
							
						
						c8e8764705 
					 
					
						
						
							
							* Add BoolAlignment to TargetData, default is 1 byte, size 1 byte  
						
						... 
						
						
						
						* Convert tabs to spaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15120  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-07-23 01:09:52 +00:00 
						 
				 
			
				
					
						
							
							
								Misha Brukman 
							
						 
					 
					
						
						
							
						
						f90e402af8 
					 
					
						
						
							
							Direct declaration of namespace-ified globals does not work, must enclose  
						
						... 
						
						
						
						them with a namespace declaration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14303  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-06-21 21:44:12 +00:00 
						 
				 
			
				
					
						
							
							
								Misha Brukman 
							
						 
					 
					
						
						
							
						
						53594deff4 
					 
					
						
						
							
							Specify variables' namespace directly instead of using an enclosing namespace.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14302  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-06-21 21:21:49 +00:00 
						 
				 
			
				
					
						
							
							
								Misha Brukman 
							
						 
					 
					
						
						
							
						
						e67d5fb6fd 
					 
					
						
						
							
							Move implemented interface header up to the top.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14301  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-06-21 21:20:23 +00:00 
						 
				 
			
				
					
						
							
							
								Misha Brukman 
							
						 
					 
					
						
						
							
						
						66d6ee4247 
					 
					
						
						
							
							Spell out `NoFramePointerElim' for readability.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14299  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-06-21 21:17:44 +00:00 
						 
				 
			
				
					
						
							
							
								Misha Brukman 
							
						 
					 
					
						
						
							
						
						0fb5a66760 
					 
					
						
						
							
							Implement `NoFPElim' in a target-agnostic fashion so it can be shared.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14297  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-06-21 21:08:45 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						3048373748 
					 
					
						
						
							
							Move the IntrinsicLowering header into the CodeGen directory, as per PR346  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14266  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-06-20 07:49:54 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						bdf1400dd4 
					 
					
						
						
							
							Method has been inlined into all callers  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13953  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-06-02 05:55:48 +00:00 
						 
				 
			
				
					
						
							
							
								Brian Gaeke 
							
						 
					 
					
						
						
							
						
						323819e4e1 
					 
					
						
						
							
							make -print-machineinstrs work for both SparcV9 and X86  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12122  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-03-04 19:16:23 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						2bed9ecc4b 
					 
					
						
						
							
							Add a new constructor  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12087  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-03-03 02:12:47 +00:00 
						 
				 
			
				
					
						
							
							
								Brian Gaeke 
							
						 
					 
					
						
						
							
						
						05b15fb075 
					 
					
						
						
							
							TargetCacheInfo has been removed; its only uses were to propagate a constant  
						
						... 
						
						
						
						(16) into certain areas of the SPARC V9 back-end. I'm fairly sure the US IIIi's
dcache has 32-byte lines, so I'm not sure where the 16 came from. However, in
the interest of not breaking things any more than they already are, I'm going
to leave the constant alone.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12043  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-03-01 06:43:29 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						f70e0c216c 
					 
					
						
						
							
							Clean up a lot of the code I added yesterday by exposing the IntrinsicLowering  
						
						... 
						
						
						
						implementation from the TargetMachine directly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10636  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-12-28 21:23:38 +00:00 
						 
				 
			
				
					
						
							
							
								Brian Gaeke 
							
						 
					 
					
						
						
							
						
						d0fde30ce8 
					 
					
						
						
							
							Put all LLVM code into the llvm namespace, as per bug 109.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-11-11 22:41:34 +00:00 
						 
				 
			
				
					
						
							
							
								John Criswell 
							
						 
					 
					
						
						
							
						
						b576c94c15 
					 
					
						
						
							
							Added LLVM project notice to the top of every C++ source file.  
						
						... 
						
						
						
						Header files will be on the way.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9298  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-10-20 19:43:21 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						37ec811409 
					 
					
						
						
							
							The promotion rules are the same for all targets, they are set by the C standard.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5962  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-04-26 19:47:36 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						f27eeea54f 
					 
					
						
						
							
							Rename MachineOptInfo to TargetoptInfo  
						
						... 
						
						
						
						Rename MachineCacheInfo to TargetCacheInfo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5203  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-12-29 02:50:35 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						62eaf7ef60 
					 
					
						
						
							
							Implement findOptimalStorageSize a bit more generally  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4416  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-10-29 21:47:50 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						93fa70598c 
					 
					
						
						
							
							Seperate code out of TargetMachine into MachineInstrInfo  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4368  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-10-28 23:55:33 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						4f9463772b 
					 
					
						
						
							
							Move addPassesToEmitAssembly from TargetMachine to UltraSparc because it  
						
						... 
						
						
						
						really is sparc specific.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4308  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-10-28 01:03:43 +00:00 
						 
				 
			
				
					
						
							
							
								Misha Brukman 
							
						 
					 
					
						
						
							
						
						fce1143bcf 
					 
					
						
						
							
							Changed MachineCodeForMethod' to MachineFunction'.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4301  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-10-28 00:28:31 +00:00 
						 
				 
			
				
					
						
							
							
								Vikram S. Adve 
							
						 
					 
					
						
						
							
						
						516b26fd86 
					 
					
						
						
							
							Run LICM before GCSE!  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4135  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-10-13 00:34:10 +00:00 
						 
				 
			
				
					
						
							
							
								Vikram S. Adve 
							
						 
					 
					
						
						
							
						
						c308aefe92 
					 
					
						
						
							
							Disable reassociation pass in LLC until it is fixed.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3883  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-09-23 12:55:50 +00:00 
						 
				 
			
				
					
						
							
							
								Anand Shukla 
							
						 
					 
					
						
						
							
						
						c078930ee3 
					 
					
						
						
							
							Changed codegen to add 2 empty slots at the top of stack using StackSlots pass  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3873  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-09-21 05:01:21 +00:00 
						 
				 
			
				
					
						
							
							
								Vikram S. Adve 
							
						 
					 
					
						
						
							
						
						e5b2565a02 
					 
					
						
						
							
							Add peephole optimization pass at the end of code generation.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3846  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-09-20 00:52:43 +00:00 
						 
				 
			
				
					
						
							
							
								Vikram S. Adve 
							
						 
					 
					
						
						
							
						
						e1f7280bf8 
					 
					
						
						
							
							Move all the code that creates code generation passes from Sparc.cpp to  
						
						... 
						
						
						
						TargetMachine.cpp, since it is entirely machine-independent.
Also, add options to disable optional back-end passes (preselection and
instr. scheduling).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3740  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-09-16 15:39:26 +00:00 
						 
				 
			
				
					
						
							
							
								Vikram S. Adve 
							
						 
					 
					
						
						
							
						
						4a48c339d6 
					 
					
						
						
							
							Added class MachineCacheInfo.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1229  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2001-11-09 02:20:18 +00:00 
						 
				 
			
				
					
						
							
							
								Vikram S. Adve 
							
						 
					 
					
						
						
							
						
						7a2f1e7c5d 
					 
					
						
						
							
							Add handle to TargetMachine object in all Machine...Info classes.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1197  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2001-11-08 05:15:08 +00:00 
						 
				 
			
				
					
						
							
							
								Vikram S. Adve 
							
						 
					 
					
						
						
							
						
						0799fc479a 
					 
					
						
						
							
							Renamed files to match the main classes they provide.  
						
						... 
						
						
						
						Some other minor changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@615  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2001-09-18 12:58:33 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						78a81a24e1 
					 
					
						
						
							
							Add a comment  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@571  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2001-09-14 16:08:12 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						c7634618ca 
					 
					
						
						
							
							Break scheduling infrastructure out of TargetMachine.cpp into SchedInfo.cpp  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@569  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2001-09-14 15:43:58 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						e5bc8b0653 
					 
					
						
						
							
							Split Target/Machine.h into three files:  
						
						... 
						
						
						
						* Machine.h
* InstInfo.h
* SchedInfo.h
TODO: Split out reg info stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@567  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2001-09-14 06:08:03 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						b26bcc5087 
					 
					
						
						
							
							Make a new llvm/Target #include directory.  
						
						... 
						
						
						
						Move files from lib/CodeGen/TargetMachine to lib/Target
Move TargetData.h and TargetMachine.h to Target/{Data.h|Machine.h}
Prepare to split TargetMachine.h into several smaller files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@566  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2001-09-14 05:34:53 +00:00