summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PowerPCAsmPrinter.cpp
Commit message (Collapse)AuthorAge
* Breaking up the PowerPC target into 32- and 64-bit subparts, Part III: the rest.Misha Brukman2004-08-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15636 91177308-0d34-0410-b5e6-96231b3b80d8
* Renamed PPC32 (namespace for regs, opcodes) to PPC to include 64-bit targetsMisha Brukman2004-08-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15631 91177308-0d34-0410-b5e6-96231b3b80d8
* CodePrinter -> AsmPrinterMisha Brukman2004-08-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15599 91177308-0d34-0410-b5e6-96231b3b80d8
* getValues does not existChris Lattner2004-08-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15495 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor correctionsChris Lattner2004-07-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15309 91177308-0d34-0410-b5e6-96231b3b80d8
* Find longs by type, not by their primitive size being 64. Patch by Nate Begeman.Misha Brukman2004-07-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15304 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix printing of immediate operands by looking at their operand types inMisha Brukman2004-07-28
| | | | | | | | the TargetInstrInfo. This fixes UnitTests 2003-05-26-Shorts and 2003-07-09-LoadShorts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15296 91177308-0d34-0410-b5e6-96231b3b80d8
* Correctly print out long branches, assert on finding pseudo instr COND_BRANCHMisha Brukman2004-07-27
| | | | | | | Patch by Nate Begeman. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15286 91177308-0d34-0410-b5e6-96231b3b80d8
* Increment the label number in runOnFunction() rather than while printing outMisha Brukman2004-07-26
| | | | | | | some instruction. Patch by Nate Begeman. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15236 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify boolean test.Misha Brukman2004-07-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15145 91177308-0d34-0410-b5e6-96231b3b80d8
* * Codegen of GEPs dramatically improved by folding multiplies and addsMisha Brukman2004-07-23
| | | | | | | | | * Function pointers implemented correctly using appropriate stubs Contributed by Nate Begeman. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15133 91177308-0d34-0410-b5e6-96231b3b80d8
* * Fix printing of signed immediate values (Nate Begeman)Misha Brukman2004-07-21
| | | | | | | | * Fix printing of `zeroinitializer' * Fix printing of `linkonce' globals, complete with stubs git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15084 91177308-0d34-0410-b5e6-96231b3b80d8
* Differentiate between global and weak symbol loadsMisha Brukman2004-07-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15035 91177308-0d34-0410-b5e6-96231b3b80d8
* * Fn args passed in registers are now recorded as used by the call instructionMisha Brukman2004-07-20
| | | | | | | | | `-> 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! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15015 91177308-0d34-0410-b5e6-96231b3b80d8
* CPR FixesChris Lattner2004-07-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14961 91177308-0d34-0410-b5e6-96231b3b80d8
* * Output non-lazy linking stubs for external global variablesMisha Brukman2004-07-16
| | | | | | | | * Get rid of dead and #if 0'd code * Minor for loop speed-up: save end iterator instead of querying every time git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14893 91177308-0d34-0410-b5e6-96231b3b80d8
* * Add spaces between words and numbers in comments printed out for longs/floatsMisha Brukman2004-07-16
| | | | | | | * Print out IMPLICIT_DEFS as comments in the assembly, patch by Nate Begeman git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14890 91177308-0d34-0410-b5e6-96231b3b80d8
* * Fix header comment, excise references to X86Misha Brukman2004-07-08
| | | | | | | * Add suport for printing out references to constant pool indices git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14699 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the more compact `bl' instead of cryptic (but equivalent) `bcl 20,31'Misha Brukman2004-07-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14652 91177308-0d34-0410-b5e6-96231b3b80d8
* Check if operand has an allocated reg before requesting it.Misha Brukman2004-07-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14550 91177308-0d34-0410-b5e6-96231b3b80d8
* * Inquire about the number of operands from the instruction directlyMisha Brukman2004-06-30
| | | | | | | * Only check for a register if we are sure the instruction has one allocated git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14509 91177308-0d34-0410-b5e6-96231b3b80d8
* * Stop using BBNumbering, we don't really need itMisha Brukman2004-06-29
| | | | | | | | | * 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14504 91177308-0d34-0410-b5e6-96231b3b80d8
* Assembly syntax/comment fixes by Nate Begeman.Misha Brukman2004-06-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14479 91177308-0d34-0410-b5e6-96231b3b80d8
* No need to generate a lazy-linking stub for internal functions, they can beMisha Brukman2004-06-28
| | | | | | | resolved by the static linker. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14467 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not set the `link' bit when branching to the first BB of a function, as itMisha Brukman2004-06-28
| | | | | | | will cause an infinite loop. The link bit is only used for calling functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14466 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix spacing around function arguments.Misha Brukman2004-06-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14463 91177308-0d34-0410-b5e6-96231b3b80d8
* Combine several if stmts with returns into an if-then-elseif-else chain.Misha Brukman2004-06-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14414 91177308-0d34-0410-b5e6-96231b3b80d8
* * Be consistent about MachineBB labels and references to them in instr streamMisha Brukman2004-06-25
| | | | | | | * Use MachineBB's built-in numbering system instead of reinventing one git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14408 91177308-0d34-0410-b5e6-96231b3b80d8
* * Initialize the entire array statically, not member-at-a-timeMisha Brukman2004-06-25
| | | | | | | * Remove x86-specific comment re: intel vs. at&t assembly syntax git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14406 91177308-0d34-0410-b5e6-96231b3b80d8
* * Lowercase the register namesMisha Brukman2004-06-24
| | | | | | | | * Parenthesize assert() expressions correctly * Fix spacing around for() and if() statements git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14384 91177308-0d34-0410-b5e6-96231b3b80d8
* * Tabs to spacesMisha Brukman2004-06-24
| | | | | | | * Remove unnecessary parens, braces, clean up code layout git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14379 91177308-0d34-0410-b5e6-96231b3b80d8
* * Order #includesMisha Brukman2004-06-24
| | | | | | | * Use the DEBUG() guard for debug printouts git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14367 91177308-0d34-0410-b5e6-96231b3b80d8
* Type::getPrimitiveID() -> getTypeID()Misha Brukman2004-06-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14287 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial revisionMisha Brukman2004-06-21
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14283 91177308-0d34-0410-b5e6-96231b3b80d8