760c68b8af 
								
							 
						 
						
							
							
								
								Factor GetInstSize() out of constpool island pass.  
							
							... 
							
							
							
							llvm-svn: 33644 
							
						 
						
							2007-01-29 23:45:17 +00:00  
				
					
						
							
							
								 
						
							
								0701c5a074 
								
							 
						 
						
							
							
								
								Thumb jumptable support.  
							
							... 
							
							
							
							llvm-svn: 33568 
							
						 
						
							2007-01-27 02:29:45 +00:00  
				
					
						
							
							
								 
						
							
								3c9dc6bd46 
								
							 
						 
						
							
							
								
								Conditional branch being fixed up is not the last MI in the BB, there is a  
							
							... 
							
							
							
							unconditional branch following it. Simply invert the condition and swap
destinations if the conditional branch can reach the destination of the
unconditional branch:
beq L1
b   L2
=>
bne L2
b   L1
llvm-svn: 33548 
							
						 
						
							2007-01-26 20:38:26 +00:00  
				
					
						
							
							
								 
						
							
								f9e5445ed4 
								
							 
						 
						
							
							
								
								Make LABEL a builtin opcode.  
							
							... 
							
							
							
							llvm-svn: 33537 
							
						 
						
							2007-01-26 14:34:52 +00:00  
				
					
						
							
							
								 
						
							
								1e270b639d 
								
							 
						 
						
							
							
								
								SplitBlockBeforeInstr() insert a unconditional branch to the next BB. This  
							
							... 
							
							
							
							is unnecessary when we are fixing up a conditional branch since we will be
adding a unconditional branch to the destination of the original branch.
llvm-svn: 33517 
							
						 
						
							2007-01-26 02:02:39 +00:00  
				
					
						
							
							
								 
						
							
								db7f0591f3 
								
							 
						 
						
							
							
								
								Need to scan the function for branches even if there aren't any constants.  
							
							... 
							
							
							
							llvm-svn: 33515 
							
						 
						
							2007-01-26 01:04:44 +00:00  
				
					
						
							
							
								 
						
							
								1d138989f4 
								
							 
						 
						
							
							
								
								Forgot to update this.  
							
							... 
							
							
							
							llvm-svn: 33512 
							
						 
						
							2007-01-25 23:31:04 +00:00  
				
					
						
							
							
								 
						
							
								010ae386b8 
								
							 
						 
						
							
							
								
								Add comment, fix typo, reduce memory usage, etc.  
							
							... 
							
							
							
							llvm-svn: 33510 
							
						 
						
							2007-01-25 23:18:59 +00:00  
				
					
						
							
							
								 
						
							
								417260dc11 
								
							 
						 
						
							
							
								
								Doh. Skip JT branches.  
							
							... 
							
							
							
							llvm-svn: 33501 
							
						 
						
							2007-01-25 19:43:52 +00:00  
				
					
						
							
							
								 
						
							
								22c7cf504e 
								
							 
						 
						
							
							
								
								Added (preliminary) branch shortening capability to constantpool island pass.  
							
							... 
							
							
							
							llvm-svn: 33497 
							
						 
						
							2007-01-25 03:12:46 +00:00  
				
					
						
							
							
								 
						
							
								1526ba50d9 
								
							 
						 
						
							
							
								
								Use PC relative ldr to load from a constantpool in Thumb mode.  
							
							... 
							
							
							
							llvm-svn: 33484 
							
						 
						
							2007-01-24 08:53:17 +00:00  
				
					
						
							
							
								 
						
							
								10043e215b 
								
							 
						 
						
							
							
								
								ARM backend contribution from Apple.  
							
							... 
							
							
							
							llvm-svn: 33353 
							
						 
						
							2007-01-19 07:51:42 +00:00