summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPC32AsmPrinter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Renamed PPC32AsmPrinter.cpp => PowerPCAsmPrinter.cpp as the Darwin and AIX asmMisha Brukman2004-09-051-710/+0
| | | | | | printers are now unified into one file. llvm-svn: 16173
* Include MathExtras.h to fix build breakage, thanks to VladimirNate Begeman2004-09-041-0/+1
| | | | llvm-svn: 16164
* All PPC instructions are now auto-printedNate Begeman2004-09-041-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 writerNate Begeman2004-09-021-36/+10
| | | | llvm-svn: 16142
* Changes For Bug 352Reid Spencer2004-09-011-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 writerNate Begeman2004-08-301-0/+6
| | | | llvm-svn: 16112
* Fix warningChris Lattner2004-08-211-1/+1
| | | | llvm-svn: 15964
* Move XForm instructions over to the auto-generated asm writerNate Begeman2004-08-211-0/+6
| | | | llvm-svn: 15962
* Clean up floating point instruction selection.Nate Begeman2004-08-191-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 varChris Lattner2004-08-181-3/+3
| | | | llvm-svn: 15897
* Start using alignment output routines from AsmPrinter.Chris Lattner2004-08-171-12/+12
| | | | | | | | Changes to make this more similar to the X86 asmprinter Fix overalignment of globals. llvm-svn: 15891
* Print comments with ;Chris Lattner2004-08-171-0/+1
| | | | llvm-svn: 15881
* Use the emitGlobalConstant defined in AsmPrinterChris Lattner2004-08-171-163/+2
| | | | llvm-svn: 15869
* New, more general, interface.Chris Lattner2004-08-171-1/+1
| | | | llvm-svn: 15866
* PowerPC 32-/64-bit split: Part I, PPC32* bit files, adapted from former PowerPC*Misha Brukman2004-08-171-18/+16
| | | | llvm-svn: 15850
* Print float constants as 4 byte values.Chris Lattner2004-08-171-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 Lattner2004-08-171-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 similarChris Lattner2004-08-161-11/+9
| | | | llvm-svn: 15842
* Minor changes to make the diff be nothing against the X86 versionChris Lattner2004-08-161-19/+4
| | | | llvm-svn: 15841
* Finegrainify namespacificationChris Lattner2004-08-161-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 havingChris Lattner2004-08-151-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 usersChris Lattner2004-08-151-0/+2
| | | | | | dead. llvm-svn: 15754
* Convert the DForm_4 over to the asmprintergenChris Lattner2004-08-151-0/+5
| | | | llvm-svn: 15751
* Remove dead codeNate Begeman2004-08-151-8/+0
| | | | llvm-svn: 15750
* Print mflr using the asmwriter generatorChris Lattner2004-08-141-0/+12
| | | | llvm-svn: 15749
* Add initial support for using the generated asm writer. Also, fix FP ↵Nate Begeman2004-08-141-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 forNate Begeman2004-08-131-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 Brukman2004-08-111-7/+7
| | | | llvm-svn: 15634
* Renamed PPC32 (namespace for regs, opcodes) to PPC to include 64-bit targetsMisha Brukman2004-08-101-23/+23
| | | | llvm-svn: 15631
* CodePrinter -> AsmPrinterMisha Brukman2004-08-091-3/+3
| | | | llvm-svn: 15599
* getValues does not existChris Lattner2004-08-041-7/+5
| | | | llvm-svn: 15495
* Minor correctionsChris Lattner2004-07-281-2/+2
| | | | llvm-svn: 15309
* Find longs by type, not by their primitive size being 64. Patch by Nate Begeman.Misha Brukman2004-07-281-1/+1
| | | | llvm-svn: 15304
* Fix printing of immediate operands by looking at their operand types inMisha Brukman2004-07-281-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_BRANCHMisha Brukman2004-07-271-1/+12
| | | | | | Patch by Nate Begeman. llvm-svn: 15286
* Increment the label number in runOnFunction() rather than while printing outMisha Brukman2004-07-261-11/+10
| | | | | | some instruction. Patch by Nate Begeman. llvm-svn: 15236
* Simplify boolean test.Misha Brukman2004-07-231-1/+1
| | | | llvm-svn: 15145
* * Codegen of GEPs dramatically improved by folding multiplies and addsMisha Brukman2004-07-231-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 Brukman2004-07-211-7/+29
| | | | | | | * Fix printing of `zeroinitializer' * Fix printing of `linkonce' globals, complete with stubs llvm-svn: 15084
* Differentiate between global and weak symbol loadsMisha Brukman2004-07-201-6/+3
| | | | llvm-svn: 15035
* * Fn args passed in registers are now recorded as used by the call instructionMisha Brukman2004-07-201-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 FixesChris Lattner2004-07-181-2/+2
| | | | llvm-svn: 14961
* * Output non-lazy linking stubs for external global variablesMisha Brukman2004-07-161-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/floatsMisha Brukman2004-07-161-2/+8
| | | | | | * Print out IMPLICIT_DEFS as comments in the assembly, patch by Nate Begeman llvm-svn: 14890
* * Fix header comment, excise references to X86Misha Brukman2004-07-081-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 Brukman2004-07-061-2/+2
| | | | llvm-svn: 14652
* Check if operand has an allocated reg before requesting it.Misha Brukman2004-07-011-0/+1
| | | | llvm-svn: 14550
* * Inquire about the number of operands from the instruction directlyMisha Brukman2004-06-301-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 itMisha Brukman2004-06-291-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 Brukman2004-06-291-33/+54
| | | | llvm-svn: 14479
OpenPOWER on IntegriCloud