Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Renamed PPC32AsmPrinter.cpp => PowerPCAsmPrinter.cpp as the Darwin and AIX asm | Misha Brukman | 2004-09-05 | 1 | -710/+0 |
| | | | | | | printers are now unified into one file. llvm-svn: 16173 | ||||
* | Include MathExtras.h to fix build breakage, thanks to Vladimir | Nate Begeman | 2004-09-04 | 1 | -0/+1 |
| | | | | llvm-svn: 16164 | ||||
* | All PPC instructions are now auto-printed | Nate Begeman | 2004-09-04 | 1 | -162/+382 |
| | | | | | | | 32 and 64 bit AsmWriters unified Darwin and AIX specific features of AsmWriter split out llvm-svn: 16163 | ||||
* | Convert remaining X-Form and Pseudo instructions over to asm writer | Nate Begeman | 2004-09-02 | 1 | -36/+10 |
| | | | | llvm-svn: 16142 | ||||
* | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 1 | -4/+4 |
| | | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137 | ||||
* | Move yet more instructions over to being printed by the generated asm writer | Nate Begeman | 2004-08-30 | 1 | -0/+6 |
| | | | | llvm-svn: 16112 | ||||
* | Fix warning | Chris Lattner | 2004-08-21 | 1 | -1/+1 |
| | | | | llvm-svn: 15964 | ||||
* | Move XForm instructions over to the auto-generated asm writer | Nate Begeman | 2004-08-21 | 1 | -0/+6 |
| | | | | llvm-svn: 15962 | ||||
* | Clean up floating point instruction selection. | Nate Begeman | 2004-08-19 | 1 | -11/+14 |
| | | | | | | | | Change int->float cast code to put conversion constants in constant pool. Shorten code sequence for constant pool fp loads. Remove LOADLoDirect/LOADLoIndirect psuedo instructions and tweak asmwriter llvm-svn: 15913 | ||||
* | Rename var | Chris Lattner | 2004-08-18 | 1 | -3/+3 |
| | | | | llvm-svn: 15897 | ||||
* | Start using alignment output routines from AsmPrinter. | Chris Lattner | 2004-08-17 | 1 | -12/+12 |
| | | | | | | | | Changes to make this more similar to the X86 asmprinter Fix overalignment of globals. llvm-svn: 15891 | ||||
* | Print comments with ; | Chris Lattner | 2004-08-17 | 1 | -0/+1 |
| | | | | llvm-svn: 15881 | ||||
* | Use the emitGlobalConstant defined in AsmPrinter | Chris Lattner | 2004-08-17 | 1 | -163/+2 |
| | | | | llvm-svn: 15869 | ||||
* | New, more general, interface. | Chris Lattner | 2004-08-17 | 1 | -1/+1 |
| | | | | llvm-svn: 15866 | ||||
* | PowerPC 32-/64-bit split: Part I, PPC32* bit files, adapted from former PowerPC* | Misha Brukman | 2004-08-17 | 1 | -18/+16 |
| | | | | llvm-svn: 15850 | ||||
* | Print float constants as 4 byte values. | Chris Lattner | 2004-08-17 | 1 | -22/+25 |
| | | | | | | Also, fix endianness problems when cross compiling from little-endian host. llvm-svn: 15847 | ||||
* | Make sure to put an _ prefix on all identifiers! | Chris Lattner | 2004-08-17 | 1 | -16/+29 |
| | | | | | | Also, add some (currently disabled) code to print float's as 32-bits. llvm-svn: 15846 | ||||
* | More changes to make PPC32 and X86 more similar | Chris Lattner | 2004-08-16 | 1 | -11/+9 |
| | | | | llvm-svn: 15842 | ||||
* | Minor changes to make the diff be nothing against the X86 version | Chris Lattner | 2004-08-16 | 1 | -19/+4 |
| | | | | llvm-svn: 15841 | ||||
* | Finegrainify namespacification | Chris Lattner | 2004-08-16 | 1 | -109/+15 |
| | | | | | | Start using the AsmPrinter base class to factor out a bunch of code llvm-svn: 15840 | ||||
* | Zimm16 is now dead. Its entry is not removed from the enum, to avoid having | Chris Lattner | 2004-08-15 | 1 | -2/+0 |
| | | | | | | | to renumber everything. Similar elimination should be applied to other operand enum values that are only used to format printing in the .s file. llvm-svn: 15755 | ||||
* | Convert all of the DForm_6* operations, which makes all of the Zimm16 users | Chris Lattner | 2004-08-15 | 1 | -0/+2 |
| | | | | | | dead. llvm-svn: 15754 | ||||
* | Convert the DForm_4 over to the asmprintergen | Chris Lattner | 2004-08-15 | 1 | -0/+5 |
| | | | | llvm-svn: 15751 | ||||
* | Remove dead code | Nate Begeman | 2004-08-15 | 1 | -8/+0 |
| | | | | llvm-svn: 15750 | ||||
* | Print mflr using the asmwriter generator | Chris Lattner | 2004-08-14 | 1 | -0/+12 |
| | | | | llvm-svn: 15749 | ||||
* | Add initial support for using the generated asm writer. Also, fix FP ↵ | Nate Begeman | 2004-08-14 | 1 | -61/+73 |
| | | | | | | constant printing to always print 8 byte intializers. Move printing of LinkOnce stubs. llvm-svn: 15741 | ||||
* | Fix siod by switching BoolTy to byte rather than int until CFE changes for | Nate Begeman | 2004-08-13 | 1 | -26/+27 |
| | | | | | | | Darwin. Also, change asm printer to output proper stubs for external functions whose address is passed as an argument to aid in bugpointing. llvm-svn: 15721 | ||||
* | Breaking up the PowerPC target into 32- and 64-bit subparts, Part I: 32-bit. | Misha Brukman | 2004-08-11 | 1 | -7/+7 |
| | | | | llvm-svn: 15634 | ||||
* | Renamed PPC32 (namespace for regs, opcodes) to PPC to include 64-bit targets | Misha Brukman | 2004-08-10 | 1 | -23/+23 |
| | | | | llvm-svn: 15631 | ||||
* | CodePrinter -> AsmPrinter | Misha Brukman | 2004-08-09 | 1 | -3/+3 |
| | | | | llvm-svn: 15599 | ||||
* | getValues does not exist | Chris Lattner | 2004-08-04 | 1 | -7/+5 |
| | | | | llvm-svn: 15495 | ||||
* | Minor corrections | Chris Lattner | 2004-07-28 | 1 | -2/+2 |
| | | | | llvm-svn: 15309 | ||||
* | Find longs by type, not by their primitive size being 64. Patch by Nate Begeman. | Misha Brukman | 2004-07-28 | 1 | -1/+1 |
| | | | | llvm-svn: 15304 | ||||
* | Fix printing of immediate operands by looking at their operand types in | Misha Brukman | 2004-07-28 | 1 | -15/+26 |
| | | | | | | | the TargetInstrInfo. This fixes UnitTests 2003-05-26-Shorts and 2003-07-09-LoadShorts. llvm-svn: 15296 | ||||
* | Correctly print out long branches, assert on finding pseudo instr COND_BRANCH | Misha Brukman | 2004-07-27 | 1 | -1/+12 |
| | | | | | | Patch by Nate Begeman. llvm-svn: 15286 | ||||
* | Increment the label number in runOnFunction() rather than while printing out | Misha Brukman | 2004-07-26 | 1 | -11/+10 |
| | | | | | | some instruction. Patch by Nate Begeman. llvm-svn: 15236 | ||||
* | Simplify boolean test. | Misha Brukman | 2004-07-23 | 1 | -1/+1 |
| | | | | llvm-svn: 15145 | ||||
* | * Codegen of GEPs dramatically improved by folding multiplies and adds | Misha Brukman | 2004-07-23 | 1 | -25/+31 |
| | | | | | | | | * Function pointers implemented correctly using appropriate stubs Contributed by Nate Begeman. llvm-svn: 15133 | ||||
* | * Fix printing of signed immediate values (Nate Begeman) | Misha Brukman | 2004-07-21 | 1 | -7/+29 |
| | | | | | | | * Fix printing of `zeroinitializer' * Fix printing of `linkonce' globals, complete with stubs llvm-svn: 15084 | ||||
* | Differentiate between global and weak symbol loads | Misha Brukman | 2004-07-20 | 1 | -6/+3 |
| | | | | llvm-svn: 15035 | ||||
* | * Fn args passed in registers are now recorded as used by the call instruction | Misha Brukman | 2004-07-20 | 1 | -6/+18 |
| | | | | | | | | `-> 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 | ||||
* | CPR Fixes | Chris Lattner | 2004-07-18 | 1 | -2/+2 |
| | | | | llvm-svn: 14961 | ||||
* | * Output non-lazy linking stubs for external global variables | Misha Brukman | 2004-07-16 | 1 | -46/+29 |
| | | | | | | | * 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 | ||||
* | * Add spaces between words and numbers in comments printed out for longs/floats | Misha Brukman | 2004-07-16 | 1 | -2/+8 |
| | | | | | | * Print out IMPLICIT_DEFS as comments in the assembly, patch by Nate Begeman llvm-svn: 14890 | ||||
* | * Fix header comment, excise references to X86 | Misha Brukman | 2004-07-08 | 1 | -15/+23 |
| | | | | | | * Add suport for printing out references to constant pool indices llvm-svn: 14699 | ||||
* | Use the more compact `bl' instead of cryptic (but equivalent) `bcl 20,31' | Misha Brukman | 2004-07-06 | 1 | -2/+2 |
| | | | | llvm-svn: 14652 | ||||
* | Check if operand has an allocated reg before requesting it. | Misha Brukman | 2004-07-01 | 1 | -0/+1 |
| | | | | llvm-svn: 14550 | ||||
* | * Inquire about the number of operands from the instruction directly | Misha Brukman | 2004-06-30 | 1 | -2/+4 |
| | | | | | | * Only check for a register if we are sure the instruction has one allocated llvm-svn: 14509 | ||||
* | * Stop using BBNumbering, we don't really need it | Misha Brukman | 2004-06-29 | 1 | -10/+2 |
| | | | | | | | | * 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 | ||||
* | Assembly syntax/comment fixes by Nate Begeman. | Misha Brukman | 2004-06-29 | 1 | -33/+54 |
| | | | | llvm-svn: 14479 |