6ed15fd181 
								
							 
						 
						
							
							
								
								Add IMPLICIT_DEFS pseudo-instruction; patch by: Nate Begeman  
							
							... 
							
							
							
							llvm-svn: 14895 
							
						 
						
							2004-07-16 20:33:41 +00:00  
				
					
						
							
							
								 
						
							
								8c9938654a 
								
							 
						 
						
							
							
								
								The generated instruction selector isn't (yet) functional  
							
							... 
							
							
							
							llvm-svn: 14894 
							
						 
						
							2004-07-16 20:31:13 +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  
				
					
						
							
							
								 
						
							
								a6b9a566b9 
								
							 
						 
						
							
							
								
								Define double alignment as 8 bytes now that assert(DoubleAlignment == PointerSize)  
							
							... 
							
							
							
							has been eliminated
llvm-svn: 14891 
							
						 
						
							2004-07-16 19:32:12 +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  
				
					
						
							
							
								 
						
							
								5ce1408537 
								
							 
						 
						
							
							
								
								Do IMPLICIT_DEFs on incoming args' hard regs, to avoid confusing the regalloc.  
							
							... 
							
							
							
							Support single-fp incoming args.
Support single-fp outgoing args ('call' operands).
Support double-fp return values.
llvm-svn: 14880 
							
						 
						
							2004-07-16 10:31:25 +00:00  
				
					
						
							
							
								 
						
							
								2453818b8a 
								
							 
						 
						
							
							
								
								The powerpc is now gone.  However it is now just known as the Skeleton target.  
							
							... 
							
							
							
							llvm-svn: 14877 
							
						 
						
							2004-07-16 07:14:34 +00:00  
				
					
						
							
							
								 
						
							
								c9819f09c2 
								
							 
						 
						
							
							
								
								Revert stuff that I didn't mean to checkin  
							
							... 
							
							
							
							llvm-svn: 14844 
							
						 
						
							2004-07-15 02:33:38 +00:00  
				
					
						
							
							
								 
						
							
								7dc9de5f43 
								
							 
						 
						
							
							
								
								Patches towards fixing PR341  
							
							... 
							
							
							
							llvm-svn: 14841 
							
						 
						
							2004-07-15 02:14:30 +00:00  
				
					
						
							
							
								 
						
							
								2661c50173 
								
							 
						 
						
							
							
								
								Make sure MTSPR instruction is inserted into the BasicBlock  
							
							... 
							
							
							
							llvm-svn: 14822 
							
						 
						
							2004-07-14 18:26:31 +00:00  
				
					
						
							
							
								 
						
							
								5193410cd9 
								
							 
						 
						
							
							
								
								Don't define the same register twice when loading a ConstantPointerRef to a reg  
							
							... 
							
							
							
							llvm-svn: 14819 
							
						 
						
							2004-07-14 17:57:04 +00:00  
				
					
						
							
							
								 
						
							
								d4cbe67ce6 
								
							 
						 
						
							
							
								
								* Fix multiplication by powers of two and otherwise  
							
							... 
							
							
							
							* Clarify variable name (StoreInst SI instead of LI)
llvm-svn: 14818 
							
						 
						
							2004-07-14 15:29:51 +00:00  
				
					
						
							
							
								 
						
							
								aa678b5ed4 
								
							 
						 
						
							
							
								
								* Specify that FP arith options have 3 operands  
							
							... 
							
							
							
							* Correctly load FP constants from the constant pool, should be refactored
llvm-svn: 14799 
							
						 
						
							2004-07-13 15:35:45 +00:00  
				
					
						
							
							
								 
						
							
								be1b680f54 
								
							 
						 
						
							
							
								
								Correctly load FP constants out of the constant pool.  
							
							... 
							
							
							
							llvm-svn: 14782 
							
						 
						
							2004-07-12 23:49:47 +00:00  
				
					
						
							
							
								 
						
							
								dcb0eec80d 
								
							 
						 
						
							
							
								
								Implement getModuleMatchQuality and getJITMatchQuality() for PowerPC  
							
							... 
							
							
							
							llvm-svn: 14780 
							
						 
						
							2004-07-12 23:36:12 +00:00  
				
					
						
							
							
								 
						
							
								b889c6b261 
								
							 
						 
						
							
							
								
								Delete the allocate*TargetMachine function, which is now dead.  
							
							... 
							
							
							
							The shared command line options are now in a header that makes sense.
llvm-svn: 14757 
							
						 
						
							2004-07-11 04:17:58 +00:00  
				
					
						
							
							
								 
						
							
								c2726e63ed 
								
							 
						 
						
							
							
								
								Delete the allocate*TargetMachine function, which is now dead .  
							
							... 
							
							
							
							The shared command line options are now in a header that makes sense.
llvm-svn: 14756 
							
						 
						
							2004-07-11 04:17:10 +00:00  
				
					
						
							
							
								 
						
							
								73eb9436ee 
								
							 
						 
						
							
							
								
								Make these format a bit nicer  
							
							... 
							
							
							
							llvm-svn: 14747 
							
						 
						
							2004-07-11 03:27:42 +00:00  
				
					
						
							
							
								 
						
							
								4266f8017d 
								
							 
						 
						
							
							
								
								Auto-registrate target  
							
							... 
							
							
							
							llvm-svn: 14745 
							
						 
						
							2004-07-11 02:48:49 +00:00  
				
					
						
							
							
								 
						
							
								97c176b639 
								
							 
						 
						
							
							
								
								Add compilability  
							
							... 
							
							
							
							llvm-svn: 14744 
							
						 
						
							2004-07-11 02:48:28 +00:00  
				
					
						
							
							
								 
						
							
								82a065dc41 
								
							 
						 
						
							
							
								
								* Add support for indexing into structures, thanks to Chris (x86)  
							
							... 
							
							
							
							The large diff is because of indentation of a whole region
* Fix querying predecessor blocks in SelectPHINodes(), thanks to Brian (v8)
* Add support for external functions malloc() and free()
* Fix some code indentation
Remember, kids: It's not plagiarism if you "creatively borrow" from your
sources.  It's called "research"!
llvm-svn: 14723 
							
						 
						
							2004-07-09 15:45:07 +00:00  
				
					
						
							
							
								 
						
							
								14d02cd2d8 
								
							 
						 
						
							
							
								
								Read/write the offset value for stack-relative loads via correct instr operand.  
							
							... 
							
							
							
							llvm-svn: 14722 
							
						 
						
							2004-07-09 15:37:16 +00:00  
				
					
						
							
							
								 
						
							
								aefab3404e 
								
							 
						 
						
							
							
								
								Add support for __fixdfdi(), __floatdisf(), and __floatdidf() external functions  
							
							... 
							
							
							
							llvm-svn: 14703 
							
						 
						
							2004-07-08 19:41:16 +00:00  
				
					
						
							
							
								 
						
							
								4c4e044e65 
								
							 
						 
						
							
							
								
								* Use several Function* for external functions instead of a std::map  
							
							... 
							
							
							
							* Non-const FP values must be loaded into int regs (for vararg fns) via memory
llvm-svn: 14701 
							
						 
						
							2004-07-08 18:27:59 +00:00  
				
					
						
							
							
								 
						
							
								59b2d4ef9d 
								
							 
						 
						
							
							
								
								* Add support for loading FP constants from the constant pool  
							
							... 
							
							
							
							* Load FP values into int regs as well for vararg functions; without memory ops!
llvm-svn: 14700 
							
						 
						
							2004-07-08 18:02:38 +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  
				
					
						
							
							
								 
						
							
								3955f9079b 
								
							 
						 
						
							
							
								
								* Use a map for caching lookups to external functions (fp div/rem)  
							
							... 
							
							
							
							* Tabs to spaces
llvm-svn: 14673 
							
						 
						
							2004-07-07 20:07:22 +00:00  
				
					
						
							
							
								 
						
							
								6ff655117d 
								
							 
						 
						
							
							
								
								* Wrap long lines (comments and code)  
							
							... 
							
							
							
							* Tabs to spaces
llvm-svn: 14672 
							
						 
						
							2004-07-07 20:01:36 +00:00  
				
					
						
							
							
								 
						
							
								ef84814ea9 
								
							 
						 
						
							
							
								
								Add fmod() to the Module being compiled so that it gets a stub in the asm file  
							
							... 
							
							
							
							llvm-svn: 14670 
							
						 
						
							2004-07-07 15:36:18 +00:00  
				
					
						
							
							
								 
						
							
								4556d889f4 
								
							 
						 
						
							
							
								
								* Add support for calling vararg functions (must pass doubles in int regs too)  
							
							... 
							
							
							
							* Make visitSetCondInst() share condition-generating code with EmitComparison()
* There are 13 FPRs for function-passing arguments, not 8
* Do not rely on registers being sequential, use an array lookup
* In unimplemented switch cases, send an error and abort instead of silent
  fall-through
* Add doInitialization() for adding function prototypes for external math fns
* Minor changes: fix indentation, spacing, code clarity
llvm-svn: 14653 
							
						 
						
							2004-07-06 22:51:53 +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  
				
					
						
							
							
								 
						
							
								e9b763a83f 
								
							 
						 
						
							
							
								
								* Add utility functions: convert SetCC => PPC opcode and invert PPC opcode  
							
							... 
							
							
							
							* If SetCondInst is folded into BranchInst (and it is the only user), do not
  emit code for SetCondInst
* Fix assembly opcodes in comments in visitSetCondInst()
* Fix codegen of conditional branches
llvm-svn: 14643 
							
						 
						
							2004-07-06 15:32:44 +00:00  
				
					
						
							
							
								 
						
							
								4308baa0f1 
								
							 
						 
						
							
							
								
								Add FIXME notes for spilling int/fp regs (need to calculate stack space).  
							
							... 
							
							
							
							llvm-svn: 14581 
							
						 
						
							2004-07-02 17:54:38 +00:00  
				
					
						
							
							
								 
						
							
								3594324248 
								
							 
						 
						
							
							
								
								Fix all of those problems that the PPC backend has running 176.gcc :)  
							
							... 
							
							
							
							llvm-svn: 14565 
							
						 
						
							2004-07-02 05:48:42 +00:00  
				
					
						
							
							
								 
						
							
								24a0371791 
								
							 
						 
						
							
							
								
								* Follow the PowerPC convention of leaving 24 bytes for linking on the stack.  
							
							... 
							
							
							
							* Also leave space for spilling integer registers (this should be calculated)
llvm-svn: 14554 
							
						 
						
							2004-07-01 21:35:00 +00:00  
				
					
						
							
							
								 
						
							
								d028593c6e 
								
							 
						 
						
							
							
								
								* Get rid of constant-expr handling code: we use the ConstantExpr lowering pass  
							
							... 
							
							
							
							* Use the SetCC handling code in the format of Brian's V8
* Add FIXMEs where calls to functions are being made without adding them to the
  Module first... they cause missing symbols at assembly-time.
llvm-svn: 14553 
							
						 
						
							2004-07-01 21:34:10 +00:00  
				
					
						
							
							
								 
						
							
								1f3a7f0255 
								
							 
						 
						
							
							
								
								Wrap long line  
							
							... 
							
							
							
							llvm-svn: 14552 
							
						 
						
							2004-07-01 21:27:59 +00:00  
				
					
						
							
							
								 
						
							
								d575287551 
								
							 
						 
						
							
							
								
								* Do not allocate r0 as we use it indiscriminantly in the instr selector.  
							
							... 
							
							
							
							* Do not define CR register class because we don't (yet) have the i4 type
llvm-svn: 14551 
							
						 
						
							2004-07-01 21:24:50 +00:00  
				
					
						
							
							
								 
						
							
								fcc59bd0e0 
								
							 
						 
						
							
							
								
								Check if operand has an allocated reg before requesting it.  
							
							... 
							
							
							
							llvm-svn: 14550 
							
						 
						
							2004-07-01 21:09:12 +00:00  
				
					
						
							
							
								 
						
							
								0648a903c7 
								
							 
						 
						
							
							
								
								* Coalesce the handy CALL* alias opcodes with the standard ones  
							
							... 
							
							
							
							* Congregate more branch-and-link opcodes together
* Mark FP, CPR, and special registers as volatile across calls
llvm-svn: 14511 
							
						 
						
							2004-06-30 22:00:45 +00:00  
				
					
						
							
							
								 
						
							
								299fa1b147 
								
							 
						 
						
							
							
								
								* Allow more registers to be allocated from the general register pool  
							
							... 
							
							
							
							* Define the condition register class
llvm-svn: 14510 
							
						 
						
							2004-06-30 21:54:50 +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  
				
					
						
							
							
								 
						
							
								2b9106f808 
								
							 
						 
						
							
							
								
								Always assume a function may have calls because the printer may add `bl' to get  
							
							... 
							
							
							
							the PC in a code sequence for global variables.
llvm-svn: 14506 
							
						 
						
							2004-06-30 00:09:12 +00:00  
				
					
						
							
							
								 
						
							
								351646f31e 
								
							 
						 
						
							
							
								
								* Don't save LR when outputting globals: it's already saved on the stack once  
							
							... 
							
							
							
							for the function
* Registers aren't necessarily sequential wrt their enums, don't rely on it
  when emitting function arguments into sequential registers
* Remove X86-specific comments about AL/BL/AH/BH/EDX/etc
* Add an abort() for an unimplemented signed right shift
* The src operand for a GEP was never emitted!  Fixed.
* We can skip zero-valued GEP indices as they are no-ops.
"Hello, World!" now works.
llvm-svn: 14505 
							
						 
						
							2004-06-29 23:45:05 +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  
				
					
						
							
							
								 
						
							
								d409669877 
								
							 
						 
						
							
							
								
								Set up the prologue and epilogue to be more like the manual and GCC output.  
							
							... 
							
							
							
							llvm-svn: 14502 
							
						 
						
							2004-06-29 23:38:26 +00:00  
				
					
						
							
							
								 
						
							
								7454c6fff0 
								
							 
						 
						
							
							
								
								* Use LA instead of LWZ for LoadLoAddr  
							
							... 
							
							
							
							* Specify the isCall bit and caller-save registers for some call instrs
llvm-svn: 14501 
							
						 
						
							2004-06-29 23:37:36 +00:00  
				
					
						
							
							
								 
						
							
								5459dfb47b 
								
							 
						 
						
							
							
								
								Only allocate non-volatile registers R13-31 (for now).  
							
							... 
							
							
							
							llvm-svn: 14500 
							
						 
						
							2004-06-29 23:35:32 +00:00  
				
					
						
							
							
								 
						
							
								4efe3da794 
								
							 
						 
						
							
							
								
								Lower ConstantExpressions before the code generator.  
							
							... 
							
							
							
							llvm-svn: 14497 
							
						 
						
							2004-06-29 23:33:20 +00:00  
				
					
						
							
							
								 
						
							
								802403723b 
								
							 
						 
						
							
							
								
								* Fix saving LR in function prologue  
							
							... 
							
							
							
							* Adjust epilogue restore sequence to match the PowerPC documentation
llvm-svn: 14480 
							
						 
						
							2004-06-29 17:14:42 +00:00  
				
					
						
							
							
								 
						
							
								811f5c2c4c 
								
							 
						 
						
							
							
								
								Assembly syntax/comment fixes by Nate Begeman.  
							
							... 
							
							
							
							llvm-svn: 14479 
							
						 
						
							2004-06-29 17:13:26 +00:00  
				
					
						
							
							
								 
						
							
								c5f9b356af 
								
							 
						 
						
							
							
								
								The code generator should work with unreachable blocks.  If not, then this  
							
							... 
							
							
							
							is a bug that should be fixed in the code generator, not papered over with
the simplifycfg pass.  Eliminating this makes bugpoint much more useful
llvm-svn: 14477 
							
						 
						
							2004-06-29 07:20:16 +00:00  
				
					
						
							
							
								 
						
							
								15c10883ff 
								
							 
						 
						
							
							
								
								Can't print out machine code before it is constructed.  
							
							... 
							
							
							
							llvm-svn: 14472 
							
						 
						
							2004-06-28 21:16:57 +00:00  
				
					
						
							
							
								 
						
							
								3aad397726 
								
							 
						 
						
							
							
								
								Fix the assembly opcode on LOADLoAddr, courtesy of Nate Begeman.  
							
							... 
							
							
							
							llvm-svn: 14470 
							
						 
						
							2004-06-28 18:27:08 +00:00  
				
					
						
							
							
								 
						
							
								767fa11096 
								
							 
						 
						
							
							
								
								Set isBranch and isTerminator bits on all branch instructions.  
							
							... 
							
							
							
							llvm-svn: 14469 
							
						 
						
							2004-06-28 18:23:35 +00:00  
				
					
						
							
							
								 
						
							
								2f0cda8b2a 
								
							 
						 
						
							
							
								
								Fix loading and storing PC-relative static variables, courtesy of Nate Begeman.  
							
							... 
							
							
							
							llvm-svn: 14468 
							
						 
						
							2004-06-28 18:20:59 +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  
				
					
						
							
							
								 
						
							
								c52ea2574d 
								
							 
						 
						
							
							
								
								Allow debugging machine instrs (by printout) before/after isel and regalloc  
							
							... 
							
							
							
							llvm-svn: 14416 
							
						 
						
							2004-06-25 19:57:47 +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  
				
					
						
							
							
								 
						
							
								c22fd9a6a5 
								
							 
						 
						
							
							
								
								Do not move any values into registers for a void return (there isn't anything).  
							
							... 
							
							
							
							llvm-svn: 14413 
							
						 
						
							2004-06-25 19:04:27 +00:00  
				
					
						
							
							
								 
						
							
								b5932a5708 
								
							 
						 
						
							
							
								
								Convert tabs to spaces.  
							
							... 
							
							
							
							llvm-svn: 14412 
							
						 
						
							2004-06-25 18:45:07 +00:00  
				
					
						
							
							
								 
						
							
								5dbf760e00 
								
							 
						 
						
							
							
								
								Fix opcode: no immediate in an `or r1, r2, r3' (all registers) instr.  
							
							... 
							
							
							
							llvm-svn: 14411 
							
						 
						
							2004-06-25 18:36:53 +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  
				
					
						
							
							
								 
						
							
								468d9a0087 
								
							 
						 
						
							
							
								
								Fix bug in previous checkin.  
							
							... 
							
							
							
							llvm-svn: 14405 
							
						 
						
							2004-06-25 14:57:19 +00:00  
				
					
						
							
							
								 
						
							
								9ff1cda1a8 
								
							 
						 
						
							
							
								
								* Wrap long lines  
							
							... 
							
							
							
							* Replace silent fall-through FIXME comments with an error to cerr and an abort
* No need to set size of statically initialized arrays
llvm-svn: 14404 
							
						 
						
							2004-06-25 14:50:41 +00:00  
				
					
						
							
							
								 
						
							
								08b0e61841 
								
							 
						 
						
							
							
								
								Excise X86-specific comments.  
							
							... 
							
							
							
							llvm-svn: 14403 
							
						 
						
							2004-06-25 14:13:26 +00:00  
				
					
						
							
							
								 
						
							
								5e3afa0d4c 
								
							 
						 
						
							
							
								
								Add option to print out machine code before register allocation.  
							
							... 
							
							
							
							llvm-svn: 14387 
							
						 
						
							2004-06-24 23:55:01 +00:00  
				
					
						
							
							
								 
						
							
								a79dd915b7 
								
							 
						 
						
							
							
								
								Use DEBUG() guard for printing out debug info.  
							
							... 
							
							
							
							llvm-svn: 14386 
							
						 
						
							2004-06-24 23:54:05 +00:00  
				
					
						
							
							
								 
						
							
								c45a5a369d 
								
							 
						 
						
							
							
								
								Add a `break' in the switch/case statement between the int/fp sections.  
							
							... 
							
							
							
							llvm-svn: 14385 
							
						 
						
							2004-06-24 23:53:24 +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  
				
					
						
							
							
								 
						
							
								842c710028 
								
							 
						 
						
							
							
								
								* Tabs to spaces  
							
							... 
							
							
							
							* Send an error message to std::cerr before abort()ing
llvm-svn: 14381 
							
						 
						
							2004-06-24 23:19:36 +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  
				
					
						
							
							
								 
						
							
								9adccb6a50 
								
							 
						 
						
							
							
								
								Unindent some more code to be consistent.  
							
							... 
							
							
							
							llvm-svn: 14377 
							
						 
						
							2004-06-24 22:00:15 +00:00  
				
					
						
							
							
								 
						
							
								1e057bf1b7 
								
							 
						 
						
							
							
								
								Unindent some code, it only needs 2 spaces.  
							
							... 
							
							
							
							llvm-svn: 14376 
							
						 
						
							2004-06-24 21:56:15 +00:00  
				
					
						
							
							
								 
						
							
								29b3dd7d35 
								
							 
						 
						
							
							
								
								In emitting code for a GEP instr, iterate over GEPTypes because there is one  
							
							... 
							
							
							
							more operand in GEPOps than there are types in GEPTypes: the pointer that is the
first operand of the GEP instruction.
llvm-svn: 14375 
							
						 
						
							2004-06-24 21:54:47 +00:00  
				
					
						
							
							
								 
						
							
								f57c3cd1e8 
								
							 
						 
						
							
							
								
								* Order #includes  
							
							... 
							
							
							
							* Use the DEBUG() guard for debug printouts
llvm-svn: 14367 
							
						 
						
							2004-06-24 17:31:42 +00:00  
				
					
						
							
							
								 
						
							
								c88c1ba066 
								
							 
						 
						
							
							
								
								Spell out `NoFramePointerElim'.  
							
							... 
							
							
							
							llvm-svn: 14300 
							
						 
						
							2004-06-21 21:18:48 +00:00  
				
					
						
							
							
								 
						
							
								5cb198a9c6 
								
							 
						 
						
							
							
								
								Use the common `NoFPElim' setting instead of our own.  
							
							... 
							
							
							
							llvm-svn: 14298 
							
						 
						
							2004-06-21 21:10:24 +00:00  
				
					
						
							
							
								 
						
							
								5e323e10df 
								
							 
						 
						
							
							
								
								* Make indentation consistent at 2 chars  
							
							... 
							
							
							
							* Doxygenify function comments
* Wrap code at 80 cols
llvm-svn: 14295 
							
						 
						
							2004-06-21 20:22:03 +00:00  
				
					
						
							
							
								 
						
							
								a97f29237e 
								
							 
						 
						
							
							
								
								This file is no longer applicable.  
							
							... 
							
							
							
							llvm-svn: 14294 
							
						 
						
							2004-06-21 20:17:41 +00:00  
				
					
						
							
							
								 
						
							
								302df232b5 
								
							 
						 
						
							
							
								
								llvm/IntrinsicLowering.h => llvm/CodeGen/IntrinsicLowering.h  
							
							... 
							
							
							
							llvm-svn: 14292 
							
						 
						
							2004-06-21 18:30:31 +00:00  
				
					
						
							
							
								 
						
							
								11f74d7072 
								
							 
						 
						
							
							
								
								Intrinsic::isnan has gone away, support for it commented out.  
							
							... 
							
							
							
							Intrinsic::isunordered has arrived, and we just use the standard lowering
pass for it.
llvm-svn: 14290 
							
						 
						
							2004-06-21 17:58:36 +00:00  
				
					
						
							
							
								 
						
							
								c3a0b330c9 
								
							 
						 
						
							
							
								
								Convert tabs to spaces.  
							
							... 
							
							
							
							llvm-svn: 14289 
							
						 
						
							2004-06-21 17:41:12 +00:00  
				
					
						
							
							
								 
						
							
								254d2cf452 
								
							 
						 
						
							
							
								
								Type::getPrimitiveID() -> getTypeID()  
							
							... 
							
							
							
							llvm-svn: 14288 
							
						 
						
							2004-06-21 17:25:55 +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  
				
					
						
							
							
								 
						
							
								bba0f0e492 
								
							 
						 
						
							
							
								
								Add file comment.  
							
							... 
							
							
							
							llvm-svn: 14172 
							
						 
						
							2004-06-14 15:13:59 +00:00  
				
					
						
							
							
								 
						
							
								6d6b3b3ce9 
								
							 
						 
						
							
							
								
								Fix the fixed stack offset, patch contributed by Vladimir Prus  
							
							... 
							
							
							
							llvm-svn: 14110 
							
						 
						
							2004-06-10 06:19:25 +00:00  
				
					
						
							
							
								 
						
							
								daeeaa72cd 
								
							 
						 
						
							
							
								
								fine grainify namespacification  
							
							... 
							
							
							
							llvm-svn: 11959 
							
						 
						
							2004-02-28 19:53:18 +00:00  
				
					
						
							
							
								 
						
							
								6a35516dcc 
								
							 
						 
						
							
							
								
								Add back machine code deleter pass until we get a MachineCode pass  
							
							... 
							
							
							
							that will be responsible for the creation of MachineFunctions and will
be required by all MachineFunctionPass passes.
llvm-svn: 11453 
							
						 
						
							2004-02-15 00:03:15 +00:00  
				
					
						
							
							
								 
						
							
								80da865f77 
								
							 
						 
						
							
							
								
								Change MachineBasicBlock's vector of MachineInstr pointers into an  
							
							... 
							
							
							
							ilist of MachineInstr objects. This allows constant time removal and
insertion of MachineInstr instances from anywhere in each
MachineBasicBlock. It also allows for constant time splicing of
MachineInstrs into or out of MachineBasicBlocks.
llvm-svn: 11340 
							
						 
						
							2004-02-12 02:27:10 +00:00  
				
					
						
							
							
								 
						
							
								ac2ced8554 
								
							 
						 
						
							
							
								
								Include PowerPC.h.  Flesh out the stub versions of addPassesToEmitAssembly()  
							
							... 
							
							
							
							and addPassesToJITCompile() slightly.
llvm-svn: 11076 
							
						 
						
							2004-02-02 19:06:36 +00:00  
				
					
						
							
							
								 
						
							
								2458bd6507 
								
							 
						 
						
							
							
								
								Add comments describing how you would add prototypes for factory methods for  
							
							... 
							
							
							
							PowerPC-specific passes here.
llvm-svn: 11073 
							
						 
						
							2004-02-02 19:05:28 +00:00  
				
					
						
							
							
								 
						
							
								f0cc848602 
								
							 
						 
						
							
							
								
								Add the JITInfo object, accessor & initializer.  
							
							... 
							
							
							
							llvm-svn: 10972 
							
						 
						
							2004-01-23 06:39:30 +00:00  
				
					
						
							
							
								 
						
							
								4880432af8 
								
							 
						 
						
							
							
								
								Add CodeEmitter and JITInfo stubs. Dump the old  
							
							... 
							
							
							
							PowerPCTargetMachine::addPassesToJITCompile() method, in favor of the
TargetJITInfo interface.
llvm-svn: 10971 
							
						 
						
							2004-01-23 06:35:43 +00:00  
				
					
						
							
							
								 
						
							
								b14a3f73cd 
								
							 
						 
						
							
							
								
								Import of skeletal PowerPC backend I have had laying around for months...  
							
							... 
							
							
							
							llvm-svn: 10937 
							
						 
						
							2004-01-21 21:13:19 +00:00