summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add a printSetLabel that takes two id's.Evan Cheng2006-11-011-0/+13
| | | | llvm-svn: 31347
* 1. Clean up code due to changes in SwitchTo*Section(2)Anton Korobeynikov2006-10-311-6/+6
| | | | | | | | | | 2. Added partial debug support for mingw\cygwin targets (the same as Linux\ELF). Please note, that currently mingw\cygwin uses 'stabs' format for storing debug info by default, thus many (runtime) libraries has this information included. These formats shouldn't be mixed in one binary ('stabs' & 'DWARF'), otherwise binutils tools will be confused. llvm-svn: 31311
* don't print dead jump tablesChris Lattner2006-10-281-0/+3
| | | | llvm-svn: 31266
* Move getPreferredAlignmentLog from AsmPrinter to TargetDataDevang Patel2006-10-241-23/+0
| | | | llvm-svn: 31171
* For PR950:Reid Spencer2006-10-201-11/+12
| | | | | | | | This patch implements the first increment for the Signless Types feature. All changes pertain to removing the ConstantSInt and ConstantUInt classes in favor of just using ConstantInt. llvm-svn: 31063
* Clean up interface to getGlobalLinkName.Jim Laskey2006-10-171-2/+3
| | | | llvm-svn: 31001
* Basic support for getGlobalLinkName.Jim Laskey2006-10-171-0/+10
| | | | llvm-svn: 30997
* Jimptables working again on alpha.Andrew Lenharth2006-10-111-1/+1
| | | | | | As a bonus, use the GOT node instead of the AlphaISD::GOT for internal stuff. llvm-svn: 30873
* If a target uses a GOT, put it in the jt data section, not the textChris Lattner2006-10-061-4/+12
| | | | | | | section. This will fix alpha when Andrew implements AlphaTargetMachine::getTargetLowering(). llvm-svn: 30779
* Don't crash if an MBB doesn't have an LLVM BBChris Lattner2006-10-051-1/+1
| | | | llvm-svn: 30757
* Emit pic jumptables to the same section that the function is emitted to,Chris Lattner2006-10-051-1/+4
| | | | | | allowing label differences to work. This fixes CodeGen/X86/pic_jumptable.ll llvm-svn: 30744
* Pass the MachineFunction into EmitJumpTableInfo.Chris Lattner2006-10-051-1/+2
| | | | llvm-svn: 30742
* move getSectionForFunction to AsmPrinterChris Lattner2006-10-051-0/+4
| | | | llvm-svn: 30736
* Use $( $| $) to represent alternatives in asm blocks instead of {|}. ThisChris Lattner2006-10-031-28/+34
| | | | | | is needed to support targets where {|} aren't special symbols. llvm-svn: 30712
* simplify codeChris Lattner2006-09-281-1/+1
| | | | llvm-svn: 30659
* Add support for ${:private} which prints "L" on darwin.Chris Lattner2006-09-271-1/+3
| | | | llvm-svn: 30620
* Add support for ${:comment}, which expands to the current target's commentChris Lattner2006-09-261-0/+24
| | | | | | | character, and ${:uid} which expands to a unique ID for the MachineInstr. More can be added if/when they are needed. llvm-svn: 30619
* Add support for targets that want to do something with the llvm.used list,Chris Lattner2006-09-261-2/+21
| | | | | | because they have an aggressive linker that does dead code stripping. llvm-svn: 30604
* Add support for other relocation bases to jump tables, as well as custom asm ↵Andrew Lenharth2006-09-241-3/+8
| | | | | | directives llvm-svn: 30593
* oopsAndrew Lenharth2006-09-181-1/+0
| | | | llvm-svn: 30462
* absolute addresses must match pointer sizeAndrew Lenharth2006-09-181-0/+1
| | | | llvm-svn: 30461
* Use MachineConstantPoolEntry getOffset() and getType() accessors.Evan Cheng2006-09-141-13/+7
| | | | llvm-svn: 30326
* Added support for machine specific constantpool values. These are useful forEvan Cheng2006-09-121-35/+58
| | | | | | representing expressions that can only be resolved at link time, etc. llvm-svn: 30278
* Make target asm info a property of the target machine.Jim Laskey2006-09-071-1/+2
| | | | llvm-svn: 30162
* Fix pasto that was breaking x86 tests.Evan Cheng2006-09-071-2/+2
| | | | llvm-svn: 30151
* Separate target specific asm properties from the asm printers.Jim Laskey2006-09-061-132/+105
| | | | llvm-svn: 30126
* Don't call isDef on non-registersChris Lattner2006-09-051-1/+2
| | | | llvm-svn: 30117
* Emit .set directives for jump table entries when possible, which reducesNate Begeman2006-08-121-3/+39
| | | | | | the number of relocations in object files, shrinkifying them. llvm-svn: 29650
* Instead of blindly looking past constantexpr casts, actually constantChris Lattner2006-07-291-14/+20
| | | | | | | | fold them. This correctly truncates constants that are too large for the destination slot and makes the code easier to understand. This fixes PR853 and Regression/CodeGen/X86/2006-07-28-AsmPrint-Long-As-Pointer.ll llvm-svn: 29408
* Print empty inline asms as a blank line instead of:Chris Lattner2006-07-281-1/+8
| | | | | | | | # InlineAsm Start # InlineAsm End llvm-svn: 29372
* Code cleanups, per reviewNate Begeman2006-07-271-3/+7
| | | | llvm-svn: 29347
* Support jump tables when in PIC relocation modelNate Begeman2006-07-271-16/+18
| | | | llvm-svn: 29318
* On 64-bit targets like ppc64, we should use .quad to output pointer directives,Chris Lattner2006-07-151-1/+9
| | | | | | not .long. llvm-svn: 29157
* Add support to print 4-, 8-, and 16- byte constant literals in specialEvan Cheng2006-06-291-10/+48
| | | | | | sections. e.g. On Darwin that would be .literal4 and .literal8. llvm-svn: 28977
* Was pointed out that structure alignment and type alignment are not the sameJim Laskey2006-06-151-0/+3
| | | | | | thing. Doubles still need to be special cased. llvm-svn: 28806
* Alignment of globals has not been quite right. Needed to drop the pointer typeJim Laskey2006-06-151-5/+3
| | | | | | to get the alignment of the element type. llvm-svn: 28799
* Assert. Rather than silently stop printing.Evan Cheng2006-06-151-0/+2
| | | | llvm-svn: 28794
* Fix an assert-on-inline-inline-asm bug.Chris Lattner2006-06-081-12/+18
| | | | llvm-svn: 28727
* Remove dead varChris Lattner2006-05-121-1/+0
| | | | llvm-svn: 28250
* Refactor a bunch of includes so that TargetMachine.h doesn't have to includeOwen Anderson2006-05-121-0/+1
| | | | | | | TargetData.h. This should make recompiles a bit faster with my current TargetData tinkering. llvm-svn: 28238
* Fix a regression in my patch from last night that broke the llvmgcc4 build onChris Lattner2006-05-091-1/+1
| | | | | | ppc llvm-svn: 28205
* Implement MASM sections correctly, without a "has masm sections flag" and a ↵Chris Lattner2006-05-091-27/+17
| | | | | | bunch of special case code. llvm-svn: 28194
* Oh yeah, there are two of these now, unify both.Chris Lattner2006-05-091-22/+15
| | | | llvm-svn: 28192
* Setting SwitchToSectionDirective properly in the MASM backend permits a bunchChris Lattner2006-05-091-22/+15
| | | | | | of code to be unified. llvm-svn: 28191
* Don't prefix section directives with a tab. Doing so causes blank lines toChris Lattner2006-05-091-1/+1
| | | | | | be emitted to the .s file. llvm-svn: 28189
* Make the masm codepath work like the normal code path.Chris Lattner2006-05-091-2/+4
| | | | llvm-svn: 28188
* The MASM asmprinter has been fixed, these hacks are no longer needed.Chris Lattner2006-05-091-20/+2
| | | | llvm-svn: 28186
* Split SwitchSection into SwitchTo{Text|Data}Section methods.Chris Lattner2006-05-091-14/+56
| | | | llvm-svn: 28184
* Fix some loose ends in MASM support.Jeff Cohen2006-05-061-5/+5
| | | | llvm-svn: 28148
* Indent multiline asm strings more nicelyChris Lattner2006-05-051-5/+9
| | | | llvm-svn: 28132
OpenPOWER on IntegriCloud