175fdd4678 
								
							 
						 
						
							
							
								
								* Change PPC32AsmPrinter => PowerPCAsmPrinter since it is now shared between  
							
							... 
							
							
							
							Darwin and AIX and is not 32- or 64-bit specific
* Bring back PowerPC.td as a result, to make it use the `PowerPC' class name
* Adjust Makefile accordingly
llvm-svn: 16174 
							
						 
						
							2004-09-05 02:42:44 +00:00  
				
					
						
							
							
								 
						
							
								4acadb3af7 
								
							 
						 
						
							
							
								
								Renamed PPC32AsmPrinter.cpp => PowerPCAsmPrinter.cpp as the Darwin and AIX asm  
							
							... 
							
							
							
							printers are now unified into one file.
llvm-svn: 16173 
							
						 
						
							2004-09-05 02:27:37 +00:00  
				
					
						
							
							
								 
						
							
								e67a212267 
								
							 
						 
						
							
							
								
								Breaking up the PowerPC target into 32- and 64-bit subparts, Part III: the rest.  
							
							... 
							
							
							
							llvm-svn: 15636 
							
						 
						
							2004-08-11 00:11:25 +00:00  
				
					
						
							
							
								 
						
							
								dad438bfb9 
								
							 
						 
						
							
							
								
								Renamed PPC32 (namespace for regs, opcodes) to PPC to include 64-bit targets  
							
							... 
							
							
							
							llvm-svn: 15631 
							
						 
						
							2004-08-10 22:47:03 +00:00  
				
					
						
							
							
								 
						
							
								eca36a5aa0 
								
							 
						 
						
							
							
								
								CodePrinter -> AsmPrinter  
							
							... 
							
							
							
							llvm-svn: 15599 
							
						 
						
							2004-08-09 22:27:45 +00:00  
				
					
						
							
							
								 
						
							
								08c58e63d9 
								
							 
						 
						
							
							
								
								getValues does not exist  
							
							... 
							
							
							
							llvm-svn: 15495 
							
						 
						
							2004-08-04 17:29:14 +00:00  
				
					
						
							
							
								 
						
							
								07fad1cdee 
								
							 
						 
						
							
							
								
								Minor corrections  
							
							... 
							
							
							
							llvm-svn: 15309 
							
						 
						
							2004-07-28 20:18:53 +00:00  
				
					
						
							
							
								 
						
							
								ca5880025d 
								
							 
						 
						
							
							
								
								Find longs by type, not by their primitive size being 64. Patch by Nate Begeman.  
							
							... 
							
							
							
							llvm-svn: 15304 
							
						 
						
							2004-07-28 19:12:24 +00:00  
				
					
						
							
							
								 
						
							
								47d5a22f8b 
								
							 
						 
						
							
							
								
								Fix printing of immediate operands by looking at their operand types in  
							
							... 
							
							
							
							the TargetInstrInfo.  This fixes UnitTests 2003-05-26-Shorts and
2003-07-09-LoadShorts.
llvm-svn: 15296 
							
						 
						
							2004-07-28 00:00:48 +00:00  
				
					
						
							
							
								 
						
							
								a594740016 
								
							 
						 
						
							
							
								
								Correctly print out long branches, assert on finding pseudo instr COND_BRANCH  
							
							... 
							
							
							
							Patch by Nate Begeman.
llvm-svn: 15286 
							
						 
						
							2004-07-27 18:40:39 +00:00  
				
					
						
							
							
								 
						
							
								ed664f91a4 
								
							 
						 
						
							
							
								
								Increment the label number in runOnFunction() rather than while printing out  
							
							... 
							
							
							
							some instruction.  Patch by Nate Begeman.
llvm-svn: 15236 
							
						 
						
							2004-07-26 16:28:33 +00:00  
				
					
						
							
							
								 
						
							
								66c816a6a3 
								
							 
						 
						
							
							
								
								Simplify boolean test.  
							
							... 
							
							
							
							llvm-svn: 15145 
							
						 
						
							2004-07-23 21:43:26 +00:00  
				
					
						
							
							
								 
						
							
								7dba17d1ce 
								
							 
						 
						
							
							
								
								* Codegen of GEPs dramatically improved by folding multiplies and adds  
							
							... 
							
							
							
							* Function pointers implemented correctly using appropriate stubs
Contributed by Nate Begeman.
llvm-svn: 15133 
							
						 
						
							2004-07-23 16:08:20 +00:00  
				
					
						
							
							
								 
						
							
								8d75aa4475 
								
							 
						 
						
							
							
								
								* Fix printing of signed immediate values  (Nate Begeman)  
							
							... 
							
							
							
							* Fix printing of `zeroinitializer'
* Fix printing of `linkonce' globals, complete with stubs
llvm-svn: 15084 
							
						 
						
							2004-07-21 20:11:11 +00:00  
				
					
						
							
							
								 
						
							
								42666aed5e 
								
							 
						 
						
							
							
								
								Differentiate between global and weak symbol loads  
							
							... 
							
							
							
							llvm-svn: 15035 
							
						 
						
							2004-07-20 15:45:27 +00:00  
				
					
						
							
							
								 
						
							
								22802cc6cd 
								
							 
						 
						
							
							
								
								* Fn args passed in registers are now recorded as used by the call instruction  
							
							... 
							
							
							
							`-> asm printer updated to not print out those registers with the call instr
All of Shootout tests now work.  Great thanks to Nate Begeman for the patch!
llvm-svn: 15015 
							
						 
						
							2004-07-20 00:42:19 +00:00  
				
					
						
							
							
								 
						
							
								aba6c47900 
								
							 
						 
						
							
							
								
								CPR Fixes  
							
							... 
							
							
							
							llvm-svn: 14961 
							
						 
						
							2004-07-18 07:29:35 +00:00  
				
					
						
							
							
								 
						
							
								d4ac818593 
								
							 
						 
						
							
							
								
								* Output non-lazy linking stubs for external global variables  
							
							... 
							
							
							
							* Get rid of dead and #if 0'd code
* Minor for loop speed-up: save end iterator instead of querying every time
llvm-svn: 14893 
							
						 
						
							2004-07-16 20:29:04 +00:00  
				
					
						
							
							
								 
						
							
								d350b64352 
								
							 
						 
						
							
							
								
								* Add spaces between words and numbers in comments printed out for longs/floats  
							
							... 
							
							
							
							* Print out IMPLICIT_DEFS as comments in the assembly, patch by Nate Begeman
llvm-svn: 14890 
							
						 
						
							2004-07-16 19:01:13 +00:00  
				
					
						
							
							
								 
						
							
								b604b4df21 
								
							 
						 
						
							
							
								
								* Fix header comment, excise references to X86  
							
							... 
							
							
							
							* Add suport for printing out references to constant pool indices
llvm-svn: 14699 
							
						 
						
							2004-07-08 17:58:04 +00:00  
				
					
						
							
							
								 
						
							
								2138f1b2b0 
								
							 
						 
						
							
							
								
								Use the more compact `bl' instead of cryptic (but equivalent) `bcl 20,31'  
							
							... 
							
							
							
							llvm-svn: 14652 
							
						 
						
							2004-07-06 22:40:34 +00:00  
				
					
						
							
							
								 
						
							
								fcc59bd0e0 
								
							 
						 
						
							
							
								
								Check if operand has an allocated reg before requesting it.  
							
							... 
							
							
							
							llvm-svn: 14550 
							
						 
						
							2004-07-01 21:09:12 +00:00  
				
					
						
							
							
								 
						
							
								fee5a22f8a 
								
							 
						 
						
							
							
								
								* Inquire about the number of operands from the instruction directly  
							
							... 
							
							
							
							* Only check for a register if we are sure the instruction has one allocated
llvm-svn: 14509 
							
						 
						
							2004-06-30 21:54:12 +00:00  
				
					
						
							
							
								 
						
							
								c794feab51 
								
							 
						 
						
							
							
								
								* Stop using BBNumbering, we don't really need it  
							
							... 
							
							
							
							* Only increment labelNumber once, because it's used by both Load{hi,lo}Addr
* There is no .bss section on PowerPC
* Use .align 2 instead of other random numbers
llvm-svn: 14504 
							
						 
						
							2004-06-29 23:40:57 +00:00  
				
					
						
							
							
								 
						
							
								811f5c2c4c 
								
							 
						 
						
							
							
								
								Assembly syntax/comment fixes by Nate Begeman.  
							
							... 
							
							
							
							llvm-svn: 14479 
							
						 
						
							2004-06-29 17:13:26 +00:00  
				
					
						
							
							
								 
						
							
								75985d725c 
								
							 
						 
						
							
							
								
								No need to generate a lazy-linking stub for internal functions, they can be  
							
							... 
							
							
							
							resolved by the static linker.
llvm-svn: 14467 
							
						 
						
							2004-06-28 18:03:37 +00:00  
				
					
						
							
							
								 
						
							
								8455e0177b 
								
							 
						 
						
							
							
								
								Do not set the `link' bit when branching to the first BB of a function, as it  
							
							... 
							
							
							
							will cause an infinite loop.  The link bit is only used for calling functions.
llvm-svn: 14466 
							
						 
						
							2004-06-28 17:57:40 +00:00  
				
					
						
							
							
								 
						
							
								9cb88aae40 
								
							 
						 
						
							
							
								
								Fix spacing around function arguments.  
							
							... 
							
							
							
							llvm-svn: 14463 
							
						 
						
							2004-06-28 15:53:27 +00:00  
				
					
						
							
							
								 
						
							
								26e36e5758 
								
							 
						 
						
							
							
								
								Combine several if stmts with returns into an if-then-elseif-else chain.  
							
							... 
							
							
							
							llvm-svn: 14414 
							
						 
						
							2004-06-25 19:24:52 +00:00  
				
					
						
							
							
								 
						
							
								c56b66f504 
								
							 
						 
						
							
							
								
								* Be consistent about MachineBB labels and references to them in instr stream  
							
							... 
							
							
							
							* Use MachineBB's built-in numbering system instead of reinventing one
llvm-svn: 14408 
							
						 
						
							2004-06-25 15:42:10 +00:00  
				
					
						
							
							
								 
						
							
								a27375832b 
								
							 
						 
						
							
							
								
								* Initialize the entire array statically, not member-at-a-time  
							
							... 
							
							
							
							* Remove x86-specific comment re: intel vs. at&t assembly syntax
llvm-svn: 14406 
							
						 
						
							2004-06-25 15:11:34 +00:00  
				
					
						
							
							
								 
						
							
								a08a2363ec 
								
							 
						 
						
							
							
								
								* Lowercase the register names  
							
							... 
							
							
							
							* Parenthesize assert() expressions correctly
* Fix spacing around for() and if() statements
llvm-svn: 14384 
							
						 
						
							2004-06-24 23:51:00 +00:00  
				
					
						
							
							
								 
						
							
								f62ee7a11b 
								
							 
						 
						
							
							
								
								* Tabs to spaces  
							
							... 
							
							
							
							* Remove unnecessary parens, braces, clean up code layout
llvm-svn: 14379 
							
						 
						
							2004-06-24 23:04:11 +00:00  
				
					
						
							
							
								 
						
							
								f57c3cd1e8 
								
							 
						 
						
							
							
								
								* Order #includes  
							
							... 
							
							
							
							* Use the DEBUG() guard for debug printouts
llvm-svn: 14367 
							
						 
						
							2004-06-24 17:31:42 +00:00  
				
					
						
							
							
								 
						
							
								6292a056a8 
								
							 
						 
						
							
							
								
								Type::getPrimitiveID() -> getTypeID()  
							
							... 
							
							
							
							llvm-svn: 14287 
							
						 
						
							2004-06-21 17:19:08 +00:00  
				
					
						
							
							
								 
						
							
								e05203fb40 
								
							 
						 
						
							
							
								
								Initial revision  
							
							... 
							
							
							
							llvm-svn: 14283 
							
						 
						
							2004-06-21 16:55:25 +00:00