Dale Johannesen 
							
						 
					 
					
						
						
							
						
						01b36e6436 
					 
					
						
						
							
							Remove non-DebugLoc versions of BuildMI from Alpha and Cell.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64433  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-02-13 02:30:42 +00:00 
						 
				 
			
				
					
						
							
							
								Dale Johannesen 
							
						 
					 
					
						
						
							
						
						c5b5051357 
					 
					
						
						
							
							Check in missing file.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64410  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-02-12 23:24:44 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						d1c321a89a 
					 
					
						
						
							
							Move debug loc info along when the spiller creates new instructions.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64342  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-02-12 00:02:55 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						dc54d317e7 
					 
					
						
						
							
							Turns out AnalyzeBranch can modify the mbb being analyzed. This is a nasty  
						
						... 
						
						
						
						suprise to some callers, e.g. register coalescer. For now, add an parameter
that tells AnalyzeBranch whether it's safe to modify the mbb. A better
solution is out there, but I don't have time to deal with it right now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64124  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-02-09 07:14:22 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						04ee5a1d92 
					 
					
						
						
							
							Change TargetInstrInfo::isMoveInstr to return source and destination sub-register indices as well.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62600  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-01-20 19:12:24 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						d68a07650c 
					 
					
						
						
							
							Tidy up #includes, deleting a bunch of unnecessary #includes.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61715  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-01-05 17:59:02 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						c54baa2d43 
					 
					
						
						
							
							Split foldMemoryOperand into public non-virtual and protected virtual  
						
						... 
						
						
						
						parts, and add target-independent code to add/preserve
MachineMemOperands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60488  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-12-03 18:43:12 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						cbad42cfd1 
					 
					
						
						
							
							Add more const qualifiers. This fixes build breakage from r59540.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59542  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-11-18 19:49:32 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						8e8b8a223c 
					 
					
						
						
							
							Const-ify several TargetInstrInfo methods.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57622  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-10-16 01:49:15 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						d735b8019b 
					 
					
						
						
							
							Switch the MachineOperand accessors back to the short names like  
						
						... 
						
						
						
						isReg, etc., from isRegister, etc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57006  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-10-03 15:45:36 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						940f83e772 
					 
					
						
						
							
							Make TargetInstrInfo::copyRegToReg return a bool indicating whether the copy requested  
						
						... 
						
						
						
						was inserted or not.  This allows bitcast in fast isel to properly handle the case
where an appropriate reg-to-reg copy is not available.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55375  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-08-26 18:03:31 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						44eb65cf58 
					 
					
						
						
							
							Convert uses of std::vector in TargetInstrInfo to SmallVector.  This change had to be propoagated down into all the targets and up into all clients of this API.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54802  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-08-14 22:49:33 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						8e5f2c6f65 
					 
					
						
						
							
							Pool-allocation for MachineInstrs, MachineBasicBlocks, and  
						
						... 
						
						
						
						MachineMemOperands. The pools are owned by MachineFunctions.
This drastically reduces the number of calls to malloc/free made
during the "Emit" phase of scheduling, as well as later phases
in CodeGen. Combined with other changes, this speeds up the
"instruction selection" phase of CodeGen by 10% in some cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53212  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-07-07 23:14:23 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						9f1c8317a4 
					 
					
						
						
							
							- Remove calls to copyKillDeadInfo which is an N^2 function. Instead, propagate kill / dead markers as new instructions are constructed in foldMemoryOperand, convertToThressAddress, etc.  
						
						... 
						
						
						
						- Also remove LiveVariables::instructionChanged, etc. Replace all calls with cheaper calls which update VarInfo kill list.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53097  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-07-03 09:09:37 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						d27c991ceb 
					 
					
						
						
							
							Fix "Control reaches the end of non-void function" warnings,  
						
						... 
						
						
						
						patch by David Chisnall.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48963  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-03-30 18:22:13 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						5fd79d0560 
					 
					
						
						
							
							It's not always safe to fold movsd into xorpd, etc. Check the alignment of the load address first to make sure it's 16 byte aligned.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46893  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-02-08 21:20:40 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						cc8cd0cbf1 
					 
					
						
						
							
							remove MachineOpCode typedef.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45679  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-01-07 02:48:55 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						43dbe05279 
					 
					
						
						
							
							Move even more functionality from MRegisterInfo into TargetInstrInfo.  
						
						... 
						
						
						
						Some day I'll get it all moved over...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45672  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-01-07 01:35:02 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						f6372aa1cc 
					 
					
						
						
							
							Move some more instruction creation methods from RegisterInfo into InstrInfo.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45484  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-01-01 21:11:32 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						6410552250 
					 
					
						
						
							
							Fix a problem where lib/Target/TargetInstrInfo.h would include and use  
						
						... 
						
						
						
						a header file from libcodegen.  This violates a layering order: codegen
depends on target, not the other way around.  The fix to this is to 
split TII into two classes, TII and TargetInstrInfoImpl, which defines
stuff that depends on libcodegen.  It is defined in libcodegen, where 
the base is not.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45475  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-01-01 01:03:04 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						d10fd9791c 
					 
					
						
						
							
							Move copyRegToReg from MRegisterInfo to TargetInstrInfo.  This is part of the  
						
						... 
						
						
						
						Machine-level API cleanup instigated by Chris.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45470  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-12-31 06:32:00 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						8aa797aa51 
					 
					
						
						
							
							Add new shorter predicates for testing machine operands for various types:  
						
						... 
						
						
						
						e.g. MO.isMBB() instead of MO.isMachineBasicBlock().  I don't plan on 
switching everything over, so new clients should just start using the 
shorter names.
Remove old long accessors, switching everything over to use the short
accessor: getMachineBasicBlock() -> getMBB(), 
getConstantPoolIndex() -> getIndex(), setMachineBasicBlock -> setMBB(), etc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45464  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-12-30 23:10:15 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						4ee451de36 
					 
					
						
						
							
							Remove attribution from file headers, per discussion on llvmdev.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45418  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-12-29 20:36:04 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						718cb665ca 
					 
					
						
						
							
							Add lengthof and endof templates that hide a lot of sizeof computations.  
						
						... 
						
						
						
						Patch by Sterling Stein!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41758  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-09-07 04:06:50 +00:00 
						 
				 
			
				
					
						
							
							
								Dale Johannesen 
							
						 
					 
					
						
						
							
						
						13e8b51e3e 
					 
					
						
						
							
							Handle blocks with 2 unconditional branches in AnalyzeBranch.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37571  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-13 17:59:52 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						bfd2ec4a8e 
					 
					
						
						
							
							Add a utility routine to check for unpredicated terminator instruction.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37528  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-08 21:59:56 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						126f17a176 
					 
					
						
						
							
							BlockHasNoFallThrough() now returns true if block ends with a return instruction.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37266  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-05-21 18:44:17 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						b5cdaa257e 
					 
					
						
						
							
							RemoveBranch() and InsertBranch() now returns number of instructions deleted / inserted.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37192  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-05-18 00:05:48 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						1e341729dd 
					 
					
						
						
							
							Relex assertions to account for additional implicit def / use operands.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36430  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-04-25 07:12:14 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						f5da13367f 
					 
					
						
						
							
							What should be the last unnecessary <iostream>s in the library.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32333  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-12-07 22:21:48 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						c0f64ffab9 
					 
					
						
						
							
							Change MachineInstr ctor's to take a TargetInstrDescriptor reference instead  
						
						... 
						
						
						
						of opcode and number of operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31947  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-11-27 23:37:22 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						7ce4578353 
					 
					
						
						
							
							Matches MachineInstr changes.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31712  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-11-13 23:36:35 +00:00 
						 
				 
			
				
					
						
							
							
								Andrew Lenharth 
							
						 
					 
					
						
						
							
						
						6bbf6b0b65 
					 
					
						
						
							
							more shotenning  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31331  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-10-31 23:46:56 +00:00 
						 
				 
			
				
					
						
							
							
								Andrew Lenharth 
							
						 
					 
					
						
						
							
						
						f81173f70e 
					 
					
						
						
							
							Add all that branch mangling niftiness  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31313  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-10-31 16:49:55 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						3d7d39ab15 
					 
					
						
						
							
							fix warning about missing newline at end of file  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31162  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-10-24 17:07:11 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						0476b28525 
					 
					
						
						
							
							implement uncond branch insertion so alpha works work branchfolding.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31158  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-10-24 16:41:36 +00:00 
						 
				 
			
				
					
						
							
							
								Andrew Lenharth 
							
						 
					 
					
						
						
							
						
						ddc877ccae 
					 
					
						
						
							
							these are copies too  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26653  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-09 18:18:51 +00:00 
						 
				 
			
				
					
						
							
							
								Andrew Lenharth 
							
						 
					 
					
						
						
							
						
						133d3100ea 
					 
					
						
						
							
							isStoreToStackSlot  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25925  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-02-03 03:07:37 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						4083960147 
					 
					
						
						
							
							Move isLoadFrom/StoreToStackSlot from MRegisterInfo to TargetInstrInfo,a far more logical place.  Other methods should also be moved if anyoneis interested. :)  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25913  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-02-02 20:12:32 +00:00 
						 
				 
			
				
					
						
							
							
								Andrew Lenharth 
							
						 
					 
					
						
						
							
						
						5cefc5e64d 
					 
					
						
						
							
							whatever.  Intermediate patch to see what breaks.  Seems ok.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24260  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-11-09 19:17:08 +00:00 
						 
				 
			
				
					
						
							
							
								Misha Brukman 
							
						 
					 
					
						
						
							
						
						4633f1cde8 
					 
					
						
						
							
							Remove trailing whitespace  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21424  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-04-21 23:13:11 +00:00 
						 
				 
			
				
					
						
							
							
								Misha Brukman 
							
						 
					 
					
						
						
							
						
						2a8350a25c 
					 
					
						
						
							
							Make the rest of file header comments consistent in format and style  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20048  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-02-05 02:24:26 +00:00 
						 
				 
			
				
					
						
							
							
								Andrew Lenharth 
							
						 
					 
					
						
						
							
						
						3e98fde96b 
					 
					
						
						
							
							initial fp support  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19847  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-01-26 21:54:09 +00:00 
						 
				 
			
				
					
						
							
							
								Andrew Lenharth 
							
						 
					 
					
						
						
							
						
						2d6f022a98 
					 
					
						
						
							
							Clean ups, and taught the instruction selector about immediate forms  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19816  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-01-24 19:44:07 +00:00 
						 
				 
			
				
					
						
							
							
								Andrew Lenharth 
							
						 
					 
					
						
						
							
						
						304d0f3076 
					 
					
						
						
							
							Let me introduce you to the early stages of the llvm backend for the alpha processor  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19764  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-01-22 23:41:55 +00:00