b735b4d6db 
								
							 
						 
						
							
							
								
								DebugInfo: remove target-specific Frame Index handling for DBG_VALUE MachineInstrs  
							
							... 
							
							
							
							Frame index handling is now target-agnostic, so delete the target hooks
for creation & asm printing of target-specific addressing in DBG_VALUEs
and any related functions.
llvm-svn: 184067 
							
						 
						
							2013-06-16 20:34:27 +00:00  
				
					
						
							
							
								 
						
							
								a54533ed78 
								
							 
						 
						
							
							
								
								Sparc: No functionality change. Cleanup whitespaces, comment formatting etc.,  
							
							... 
							
							
							
							llvm-svn: 183243 
							
						 
						
							2013-06-04 18:33:25 +00:00  
				
					
						
							
							
								 
						
							
								b25fda95f6 
								
							 
						 
						
							
							
								
								Reorder includes in Target backends to following coding standards. Remove some superfluous forward declarations.  
							
							... 
							
							
							
							llvm-svn: 152997 
							
						 
						
							2012-03-17 18:46:09 +00:00  
				
					
						
							
							
								 
						
							
								b22310fda6 
								
							 
						 
						
							
							
								
								Emacs-tag and some comment fix for all ARM, CellSPU, Hexagon, MBlaze, MSP430, PPC, PTX, Sparc, X86, XCore.  
							
							... 
							
							
							
							llvm-svn: 150878 
							
						 
						
							2012-02-18 12:03:15 +00:00  
				
					
						
							
							
								 
						
							
								1fc8263b4d 
								
							 
						 
						
							
							
								
								Sparc: Implement emitFrameIndexDebugValue and getDebugValue Location hooks.  
							
							... 
							
							
							
							llvm-svn: 147269 
							
						 
						
							2011-12-25 18:50:24 +00:00  
				
					
						
							
							
								 
						
							
								703a0fbf39 
								
							 
						 
						
							
							
								
								Hide the call to InitMCInstrInfo into tblgen generated ctor.  
							
							... 
							
							
							
							llvm-svn: 134244 
							
						 
						
							2011-07-01 17:57:27 +00:00  
				
					
						
							
							
								 
						
							
								1b0e2cbf3f 
								
							 
						 
						
							
							
								
								Implement AnalyzeBranch in Sparc Backend.  
							
							... 
							
							
							
							llvm-svn: 123561 
							
						 
						
							2011-01-16 03:15:11 +00:00  
				
					
						
							
							
								 
						
							
								8289f78569 
								
							 
						 
						
							
							
								
								Remove the isMoveInstr() hook.  
							
							... 
							
							
							
							llvm-svn: 108567 
							
						 
						
							2010-07-16 22:35:46 +00:00  
				
					
						
							
							
								 
						
							
								0961c55161 
								
							 
						 
						
							
							
								
								RISC architectures get their memory operand folding for free.  
							
							... 
							
							
							
							The only folding these load/store architectures can do is converting COPY into a
load or store, and the target independent part of foldMemoryOperand already
knows how to do that.
llvm-svn: 108099 
							
						 
						
							2010-07-11 19:19:13 +00:00  
				
					
						
							
							
								 
						
							
								976b7b61fc 
								
							 
						 
						
							
							
								
								Replace copyRegToReg with copyPhysReg for Sparc.  
							
							... 
							
							
							
							llvm-svn: 108086 
							
						 
						
							2010-07-11 07:56:09 +00:00  
				
					
						
							
							
								 
						
							
								0125b6410a 
								
							 
						 
						
							
							
								
								Add a DebugLoc parameter to TargetInstrInfo::InsertBranch().  This  
							
							... 
							
							
							
							addresses a longstanding deficiency noted in many FIXMEs scattered
across all the targets.
This effectively moves the problem up one level, replacing eleven
FIXMEs in the targets with eight FIXMEs in CodeGen, plus one path
through FastISel where we actually supply a DebugLoc, fixing Radar
7421831.
llvm-svn: 106243 
							
						 
						
							2010-06-17 22:43:56 +00:00  
				
					
						
							
							
								 
						
							
								779c69bbc5 
								
							 
						 
						
							
							
								
								Add a DebugLoc argument to TargetInstrInfo::copyRegToReg, so that it  
							
							... 
							
							
							
							doesn't have to guess.
llvm-svn: 103194 
							
						 
						
							2010-05-06 20:33:48 +00:00  
				
					
						
							
							
								 
						
							
								efb126a665 
								
							 
						 
						
							
							
								
								Add argument TargetRegisterInfo to loadRegFromStackSlot and storeRegToStackSlot.  
							
							... 
							
							
							
							llvm-svn: 103193 
							
						 
						
							2010-05-06 19:06:44 +00:00  
				
					
						
							
							
								 
						
							
								840c700654 
								
							 
						 
						
							
							
								
								several major improvements to the sparc backend: support for weak linkage  
							
							... 
							
							
							
							and PIC codegen.  Patch by Venkatraman Govindaraju!
llvm-svn: 81877 
							
						 
						
							2009-09-15 17:46:24 +00:00  
				
					
						
							
							
								 
						
							
								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