95fc6ee51a 
								
							 
						 
						
							
							
								
								Remove unused member functions.  
							
							... 
							
							
							
							llvm-svn: 76960 
							
						 
						
							2009-07-24 07:43:59 +00:00  
				
					
						
							
							
								 
						
							
								c544cb0eca 
								
							 
						 
						
							
							
								
								Change TargetInstrInfo::isMoveInstr to return source and destination sub-register indices as well.  
							
							... 
							
							
							
							llvm-svn: 62600 
							
						 
						
							2009-01-20 19:12:24 +00:00  
				
					
						
							
							
								 
						
							
								3f86b51333 
								
							 
						 
						
							
							
								
								Split foldMemoryOperand into public non-virtual and protected virtual  
							
							... 
							
							
							
							parts, and add target-independent code to add/preserve
MachineMemOperands.
llvm-svn: 60488 
							
						 
						
							2008-12-03 18:43:12 +00:00  
				
					
						
							
							
								 
						
							
								0b2732598c 
								
							 
						 
						
							
							
								
								Add more const qualifiers. This fixes build breakage from r59540.  
							
							... 
							
							
							
							llvm-svn: 59542 
							
						 
						
							2008-11-18 19:49:32 +00:00  
				
					
						
							
							
								 
						
							
								33332bce17 
								
							 
						 
						
							
							
								
								Const-ify several TargetInstrInfo methods.  
							
							... 
							
							
							
							llvm-svn: 57622 
							
						 
						
							2008-10-16 01:49:15 +00:00  
				
					
						
							
							
								 
						
							
								27fb3dcbc7 
								
							 
						 
						
							
							
								
								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.
llvm-svn: 55375 
							
						 
						
							2008-08-26 18:03:31 +00:00  
				
					
						
							
							
								 
						
							
								4f6bf04616 
								
							 
						 
						
							
							
								
								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.  
							
							... 
							
							
							
							llvm-svn: 54802 
							
						 
						
							2008-08-14 22:49:33 +00:00  
				
					
						
							
							
								 
						
							
								eabd647cd5 
								
							 
						 
						
							
							
								
								Change target-specific classes to use more precise static types.  
							
							... 
							
							
							
							This eliminates the need for several awkward casts, including
the last dynamic_cast under lib/Target.
llvm-svn: 51091 
							
						 
						
							2008-05-14 01:58:56 +00:00  
				
					
						
							
							
								 
						
							
								c60c67fc37 
								
							 
						 
						
							
							
								
								Add explicit keywords.  
							
							... 
							
							
							
							llvm-svn: 48801 
							
						 
						
							2008-03-25 22:06:05 +00:00  
				
					
						
							
							
								 
						
							
								3a4be0fdef 
								
							 
						 
						
							
							
								
								Rename MRegisterInfo to TargetRegisterInfo.  
							
							... 
							
							
							
							llvm-svn: 46930 
							
						 
						
							2008-02-10 18:45:23 +00:00  
				
					
						
							
							
								 
						
							
								3b3286d4bc 
								
							 
						 
						
							
							
								
								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.  
							
							... 
							
							
							
							llvm-svn: 46893 
							
						 
						
							2008-02-08 21:20:40 +00:00  
				
					
						
							
							
								 
						
							
								2a3be7bb6c 
								
							 
						 
						
							
							
								
								Move even more functionality from MRegisterInfo into TargetInstrInfo.  
							
							... 
							
							
							
							Some day I'll get it all moved over...
llvm-svn: 45672 
							
						 
						
							2008-01-07 01:35:02 +00:00  
				
					
						
							
							
								 
						
							
								eee14601b1 
								
							 
						 
						
							
							
								
								Move some more instruction creation methods from RegisterInfo into InstrInfo.  
							
							... 
							
							
							
							llvm-svn: 45484 
							
						 
						
							2008-01-01 21:11:32 +00:00  
				
					
						
							
							
								 
						
							
								25568e4cef 
								
							 
						 
						
							
							
								
								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.
llvm-svn: 45475 
							
						 
						
							2008-01-01 01:03:04 +00:00  
				
					
						
							
							
								 
						
							
								7a73ae9a86 
								
							 
						 
						
							
							
								
								Move copyRegToReg from MRegisterInfo to TargetInstrInfo.  This is part of the  
							
							... 
							
							
							
							Machine-level API cleanup instigated by Chris.
llvm-svn: 45470 
							
						 
						
							2007-12-31 06:32:00 +00:00  
				
					
						
							
							
								 
						
							
								f3ebc3f3d2 
								
							 
						 
						
							
							
								
								Remove attribution from file headers, per discussion on llvmdev.  
							
							... 
							
							
							
							llvm-svn: 45418 
							
						 
						
							2007-12-29 20:36:04 +00:00  
				
					
						
							
							
								 
						
							
								e20dd92792 
								
							 
						 
						
							
							
								
								RemoveBranch() and InsertBranch() now returns number of instructions deleted / inserted.  
							
							... 
							
							
							
							llvm-svn: 37193 
							
						 
						
							2007-05-18 00:18:17 +00:00  
				
					
						
							
							
								 
						
							
								b7267bd034 
								
							 
						 
						
							
							
								
								implement uncond branch insertion for sparc to fix regressions from last night  
							
							... 
							
							
							
							due to branchfolding
llvm-svn: 31157 
							
						 
						
							2006-10-24 16:39:19 +00:00  
				
					
						
							
							
								 
						
							
								aa2372562e 
								
							 
						 
						
							
							
								
								Patches to make the LLVM sources more -pedantic clean.  Patch provided  
							
							... 
							
							
							
							by Anton Korobeynikov!  This is a step towards closing PR786.
llvm-svn: 28447 
							
						 
						
							2006-05-24 17:04:05 +00:00  
				
					
						
							
							
								 
						
							
								158e1f519c 
								
							 
						 
						
							
							
								
								Rename SPARC V8 target to be the LLVM SPARC target.  
							
							... 
							
							
							
							llvm-svn: 25985 
							
						 
						
							2006-02-05 05:50:24 +00:00