aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PowerPCAsmPrinter.cpp
AgeCommit message (Collapse)Author
2004-08-11Breaking up the PowerPC target into 32- and 64-bit subparts, Part III: the rest.Misha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15636 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-10Renamed PPC32 (namespace for regs, opcodes) to PPC to include 64-bit targetsMisha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15631 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09CodePrinter -> AsmPrinterMisha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15599 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-04getValues does not existChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15495 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-28Minor correctionsChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15309 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-28Find longs by type, not by their primitive size being 64. Patch by Nate Begeman.Misha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15304 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-28Fix printing of immediate operands by looking at their operand types inMisha Brukman
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
2004-07-27Correctly print out long branches, assert on finding pseudo instr COND_BRANCHMisha Brukman
Patch by Nate Begeman. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15286 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-26Increment the label number in runOnFunction() rather than while printing outMisha Brukman
some instruction. Patch by Nate Begeman. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15236 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-23Simplify boolean test.Misha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15145 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-23* Codegen of GEPs dramatically improved by folding multiplies and addsMisha Brukman
* 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
2004-07-21* Fix printing of signed immediate values (Nate Begeman)Misha Brukman
* 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
2004-07-20Differentiate between global and weak symbol loadsMisha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15035 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-20* Fn args passed in registers are now recorded as used by the call instructionMisha Brukman
`-> 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
2004-07-18CPR FixesChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14961 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-16* Output non-lazy linking stubs for external global variablesMisha Brukman
* 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
2004-07-16* Add spaces between words and numbers in comments printed out for longs/floatsMisha Brukman
* 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
2004-07-08* Fix header comment, excise references to X86Misha Brukman
* 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
2004-07-06Use the more compact `bl' instead of cryptic (but equivalent) `bcl 20,31'Misha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14652 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-01Check if operand has an allocated reg before requesting it.Misha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14550 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-30* Inquire about the number of operands from the instruction directlyMisha Brukman
* 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
2004-06-29* Stop using BBNumbering, we don't really need itMisha Brukman
* 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
2004-06-29Assembly syntax/comment fixes by Nate Begeman.Misha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14479 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-28No need to generate a lazy-linking stub for internal functions, they can beMisha Brukman
resolved by the static linker. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14467 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-28Do not set the `link' bit when branching to the first BB of a function, as itMisha Brukman
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
2004-06-28Fix spacing around function arguments.Misha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14463 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-25Combine several if stmts with returns into an if-then-elseif-else chain.Misha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14414 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-25* Be consistent about MachineBB labels and references to them in instr streamMisha Brukman
* 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
2004-06-25* Initialize the entire array statically, not member-at-a-timeMisha Brukman
* 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
2004-06-24* Lowercase the register namesMisha Brukman
* 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
2004-06-24* Tabs to spacesMisha Brukman
* 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
2004-06-24* Order #includesMisha Brukman
* Use the DEBUG() guard for debug printouts git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14367 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-21Type::getPrimitiveID() -> getTypeID()Misha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14287 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-21Initial revisionMisha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14283 91177308-0d34-0410-b5e6-96231b3b80d8