summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SystemZ/AsmPrinter
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't flush the raw_ostream between each MachineFunction. These flushDan Gohman2009-08-051-2/+0
| | | | | | | | | | | calls were originally put in place because errs() at one time was not unbuffered, and these print routines are commonly used with errs() for debugging. However, errs() is now properly unbuffered, so the flush calls are no longer needed. This significantly reduces the number of write(2) calls for regular asm printing when there are many small functions. llvm-svn: 78137
* pass the mangler down into the various SectionForGlobal methods.Chris Lattner2009-07-291-2/+2
| | | | | | No functionality change. llvm-svn: 77432
* Rip all of the global variable lowering logic out of TargetAsmInfo. SinceChris Lattner2009-07-281-2/+3
| | | | | | | | | | | | | | | | | | | | it is highly specific to the object file that will be generated in the end, this introduces a new TargetLoweringObjectFile interface that is implemented for each of ELF/MachO/COFF/Alpha/PIC16 and XCore. Though still is still a brutal and ugly refactoring, this is a major step towards goodness. This patch also: 1. fixes a bunch of dangling pointer problems in the PIC16 backend. 2. disables the TargetLowering copy ctor which PIC16 was accidentally using. 3. gets us closer to xcore having its own crazy target section flags and pic16 not having to shadow sections with its own objects. 4. fixes wierdness where ELF targets would set CStringSection but not CStringSection_. Factor the code better. 5. fixes some bugs in string lowering on ELF targets. llvm-svn: 77294
* Eliminate some uses of DOUT, cerr, and getNameStart().Daniel Dunbar2009-07-261-5/+6
| | | | llvm-svn: 77145
* Add new helpers for registering targets.Daniel Dunbar2009-07-251-13/+1
| | | | | | - Less boilerplate == good. llvm-svn: 77052
* make AsmPrinter::doFinalization iterate over the global variablesChris Lattner2009-07-211-12/+2
| | | | | | | and call PrintGlobalVariable, allowing elimination and simplification of various targets. llvm-svn: 76604
* fix Sparc, SystemZ, and MSP430 to not override AsmPrinter::doInitialization.Chris Lattner2009-07-211-8/+0
| | | | | | | This eliminates redundancy setting up the mangler and adds support to them for module-level inline asm and a .file directive. llvm-svn: 76592
* Rename LessPrivateGlobalPrefix -> LinkerPrivateGlobalPrefix to match theChris Lattner2009-07-211-1/+1
| | | | | | LLVM IR concept. llvm-svn: 76590
* Pass in the unfortunately named "LessPrivatePrefix" for theBill Wendling2009-07-201-1/+2
| | | | | | | | "LinkerPrivatePrefix". It seems to have been used in only one place before I started this "linker_private" business. I'm thinking that a rename is in order... llvm-svn: 76479
* Add plumbing for the `linker_private' linkage type. This type is meant forBill Wendling2009-07-201-0/+2
| | | | | | | | | "private" symbols which the assember shouldn't strip, but which the linker may remove after evaluation. This is mostly useful for Objective-C metadata. This is plumbing, so we don't have a use of it yet. More to come, etc. llvm-svn: 76385
* CMake support for SystemZ.Daniel Dunbar2009-07-201-0/+6
| | | | llvm-svn: 76384
* Put Target definitions inside Target specific header, and llvm namespace.Daniel Dunbar2009-07-181-1/+0
| | | | llvm-svn: 76344
* Turn few asserts into errors / unreachable'sAnton Korobeynikov2009-07-181-2/+2
| | | | llvm-svn: 76313
* UnbreakAnton Korobeynikov2009-07-161-20/+22
| | | | llvm-svn: 76064
* Add constpool lowering / printingAnton Korobeynikov2009-07-161-0/+9
| | | | llvm-svn: 76016
* Add missed operands typesAnton Korobeynikov2009-07-161-0/+6
| | | | llvm-svn: 76009
* Implement 'large' PIC modelAnton Korobeynikov2009-07-161-5/+48
| | | | llvm-svn: 76006
* UnbreakAnton Korobeynikov2009-07-161-24/+1
| | | | llvm-svn: 75996
* Add jump tablesAnton Korobeynikov2009-07-161-0/+8
| | | | llvm-svn: 75984
* Preliminary asmprinting of globalsAnton Korobeynikov2009-07-161-1/+120
| | | | llvm-svn: 75975
* Implement asmprinting for odd-even regpairsAnton Korobeynikov2009-07-161-2/+13
| | | | llvm-svn: 75974
* Print signed imms properlyAnton Korobeynikov2009-07-161-0/+7
| | | | llvm-svn: 75970
* Revert thinkoAnton Korobeynikov2009-07-161-2/+1
| | | | llvm-svn: 75968
* Temporary workaround problem with signed 32-bit imm'sAnton Korobeynikov2009-07-161-1/+2
| | | | llvm-svn: 75967
* Some preliminary call loweringAnton Korobeynikov2009-07-161-0/+14
| | | | llvm-svn: 75941
* Swap the order of imm and idx field for rri addrmode in order to make ↵Anton Korobeynikov2009-07-161-3/+3
| | | | | | handling of rri and ri addrmodes common llvm-svn: 75937
* [PATCH 023/155] TypoAnton Korobeynikov2009-07-161-1/+1
| | | | llvm-svn: 75932
* Do some heroic rri address matching (shamelessly stolen from x86 backend). ↵Anton Korobeynikov2009-07-161-1/+24
| | | | | | Not tested though. llvm-svn: 75929
* Add shifts and reg-imm address matchingAnton Korobeynikov2009-07-161-1/+19
| | | | llvm-svn: 75927
* Add simple reg-reg and reg-imm movesAnton Korobeynikov2009-07-161-1/+16
| | | | llvm-svn: 75912
* Let's start another backend :)Anton Korobeynikov2009-07-162-0/+187
llvm-svn: 75909
OpenPOWER on IntegriCloud