summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Set up MachineDebugInfo to scan for debug information form "llvm.db"g globals.Jim Laskey2006-01-261-1/+1
| | | | | | Global Variable information is now pulled from "llvm.dbg.globals" llvm-svn: 25655
* Crude Dwarf global variable debugging.Jim Laskey2006-01-241-4/+4
| | | | llvm-svn: 25569
* Add explicit #includes of <iostream>Chris Lattner2006-01-221-0/+1
| | | | llvm-svn: 25515
* trivial formatting improvement: don't insert extra blank lines between .commChris Lattner2006-01-211-1/+1
| | | | | | vars. llvm-svn: 25492
* Added minimum Dwarf aranges. Cleaned up some section headers. Line numberJim Laskey2006-01-181-12/+12
| | | | | | support now works in gdb. llvm-svn: 25417
* Add frame work for additional dwarf sections. Comments will improve as codeJim Laskey2006-01-171-3/+11
| | | | | | is added. llvm-svn: 25410
* Adding basic support for Dwarf line number debug information.Jim Laskey2006-01-171-6/+8
| | | | | | I promise to keep future commits smaller. llvm-svn: 25396
* Added initial support for DEBUG_LABEL allowing debug specific labels to beJim Laskey2006-01-051-1/+5
| | | | | | inserted in the code. llvm-svn: 25104
* Applied some recommend changes from sabre. The dominate one beginning "let theJim Laskey2006-01-041-7/+11
| | | | | | | pass manager do it's thing." Fixes crash when compiling -g files and suppresses dwarf statements if no debug info is present. llvm-svn: 25100
* Tie dwarf generation to darwin assembler.Jim Laskey2006-01-041-8/+34
| | | | llvm-svn: 25093
* Fix one of the things in the todo file, and get a bit closer to foldingNate Begeman2005-12-241-0/+1
| | | | | | constant offsets from statics into the address arithmetic. llvm-svn: 24999
* fix handling of weak linkageChris Lattner2005-12-221-3/+2
| | | | llvm-svn: 24964
* Fix a couple of the FIXMEs, thanks to suggestion from Chris. This allowsNate Begeman2005-12-191-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | us to load and store vectors directly at a pointer (offset of zero) by using r0 as the base register. This also requires some asm printer work to satisfy the darwin assembler. For void %foo(<4 x float> * %a) { entry: %tmp1 = load <4 x float> * %a; %tmp2 = add <4 x float> %tmp1, %tmp1 store <4 x float> %tmp2, <4 x float> *%a ret void } We now produce: _foo: lvx v0, 0, r3 vaddfp v0, v0, v0 stvx v0, 0, r3 blr Instead of: _foo: li r2, 0 lvx v0, r2, r3 vaddfp v0, v0, v0 stvx v0, r2, r3 blr llvm-svn: 24872
* Convert load/store over to being pattern matchedNate Begeman2005-12-191-1/+13
| | | | llvm-svn: 24871
* Added source file/line correspondence for dwarf (PowerPC only at this point.)Jim Laskey2005-12-161-0/+8
| | | | llvm-svn: 24748
* Weak and linkonce global vars should still have a .globl emitted for themChris Lattner2005-12-161-1/+2
| | | | llvm-svn: 24747
* Update the darwin handling of linkonce & weak functions and GV stubs. ThisChris Lattner2005-12-161-57/+63
| | | | | | should work in all permutations. llvm-svn: 24728
* Use the shared asmprinter code for printing special llvm globalsChris Lattner2005-12-131-33/+5
| | | | llvm-svn: 24695
* reindent a loop, unswitch a loop. No functionality changesChris Lattner2005-12-131-105/+109
| | | | llvm-svn: 24692
* Remove type casts that are no longer neededChris Lattner2005-12-111-2/+3
| | | | llvm-svn: 24661
* Teach the PPC backend about the ctor and dtor list when not using __main andChris Lattner2005-12-091-0/+34
| | | | | | linking the entire program into one bc file. llvm-svn: 24645
* No longer track value types for asm printer operands, and remove them asNate Begeman2005-11-301-30/+17
| | | | | | | an argument to every operand printing function. Requires some slight tweaks to x86, the only user. llvm-svn: 24541
* Use generic constant pool emission code in the AsmPrinter class.Chris Lattner2005-11-211-30/+4
| | | | llvm-svn: 24465
* Use the FunctionNumber provided by the AsmPrinter classChris Lattner2005-11-211-19/+15
| | | | llvm-svn: 24462
* Use CommentString where possible, fix a bug where aix mode wouldn't assembleChris Lattner2005-11-211-4/+4
| | | | | | due to basic blocks being misnamed. llvm-svn: 24459
* unify the darwin and aix constant pool printersChris Lattner2005-11-211-48/+28
| | | | llvm-svn: 24458
* Adjust to capitalized AsmPrinter method namesChris Lattner2005-11-211-11/+11
| | | | llvm-svn: 24456
* use PrivateGlobalPrefix for basic blocksChris Lattner2005-11-211-5/+6
| | | | llvm-svn: 24453
* This is now implemented in common codegen codeChris Lattner2005-11-211-20/+0
| | | | llvm-svn: 24446
* set PrivateGlobalPrefix on darwin, use it when printing out CP referencesChris Lattner2005-11-211-7/+9
| | | | llvm-svn: 24441
* only use dyld stubs if not in ppc-static mode. This completes support forChris Lattner2005-11-171-15/+21
| | | | | | non-static codegen. llvm-svn: 24403
* refactor call operand handling to eliminate special cases from printOp.Chris Lattner2005-11-171-19/+17
| | | | llvm-svn: 24401
* disentangle call operands from branch operands a bitChris Lattner2005-11-171-2/+5
| | | | llvm-svn: 24400
* Patch to clean up function call pseudos and support the BLA instruction,Nate Begeman2005-11-161-0/+4
| | | | | | | which branches to an absolute address. This is required to support objc direct dispatch. llvm-svn: 24370
* Make sure to use SwitchSection to switch sections so that we don't ↵Chris Lattner2005-11-151-2/+3
| | | | | | | | accidentally emit functions into the .const section. Whoops. llvm-svn: 24363
* Handle globals with explicit alignment requestsChris Lattner2005-11-141-4/+4
| | | | llvm-svn: 24355
* Teach the PPC asmwriter to honor globals with explicit section requests.Chris Lattner2005-11-141-22/+32
| | | | llvm-svn: 24353
* Make BB and CPI labels use the function number, not the function name as aChris Lattner2005-11-101-19/+18
| | | | | | | uniquing id. This makes things happy when the function name is quoted, preventing labels like LBB"foo"_2. llvm-svn: 24295
* Darwin supports quoted labels. This implements:Chris Lattner2005-11-101-0/+3
| | | | | | test/Regression/CodeGen/PowerPC/darwin-labels.ll llvm-svn: 24287
* Make the aix asm printer interface properly with the parent classChris Lattner2005-11-101-3/+3
| | | | llvm-svn: 24274
* Add a flag to enable a darwin linker optimizationChris Lattner2005-11-011-1/+7
| | | | llvm-svn: 24130
* Make constant pool entries use private labels. This is important when you'reChris Lattner2005-10-311-3/+3
| | | | | | not compiling a whole program at a time :) llvm-svn: 24129
* Do not globalize internal symbolsChris Lattner2005-10-281-1/+2
| | | | llvm-svn: 24064
* Fix the JIT encoding of LWA, LD, STD, and STDU.Chris Lattner2005-10-181-0/+4
| | | | llvm-svn: 23787
* More PPC32 -> PPC changes, as well as merging some classes that wereNate Begeman2005-10-161-3/+3
| | | | | | redundant after the change. llvm-svn: 23759
* Rename PPC32*.h to PPC*.hChris Lattner2005-10-141-1/+1
| | | | | | This completes the grand PPC file renaming llvm-svn: 23745
* Rename PowerPC*.h to PPC*.hChris Lattner2005-10-141-0/+712
llvm-svn: 23743
OpenPOWER on IntegriCloud