summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* adjust to changes in InlineAsm interface. Fix a few minor bugs.Chris Lattner2006-02-011-0/+4
| | | | llvm-svn: 25865
* Allow the specification of explicit alignments for constant pool entries.Evan Cheng2006-01-311-5/+9
| | | | llvm-svn: 25855
* Print the most trivial inline asms.Chris Lattner2006-01-301-1/+12
| | | | llvm-svn: 25822
* Stub out a methodChris Lattner2006-01-271-0/+6
| | | | llvm-svn: 25676
* Set up MachineDebugInfo to scan for debug information form "llvm.db"g globals.Jim Laskey2006-01-261-0/+5
| | | | | | Global Variable information is now pulled from "llvm.dbg.globals" llvm-svn: 25655
* rename methodChris Lattner2006-01-241-3/+4
| | | | llvm-svn: 25572
* Print file-scope inline asm blocks at the start of the output file.Chris Lattner2006-01-231-0/+5
| | | | llvm-svn: 25565
* If using __main, emit global ctor/dtor list like any other globalChris Lattner2006-01-121-2/+2
| | | | llvm-svn: 25251
* Applied some recommend changes from sabre. The dominate one beginning "let theJim Laskey2006-01-041-1/+0
| | | | | | | 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-0/+1
| | | | llvm-svn: 25093
* add these so I can be less naughtyDuraid Madina2005-12-281-0/+1
| | | | llvm-svn: 25034
* Don't emit a null terminator, nor anything after it, to the ctor/dtor listChris Lattner2005-12-211-1/+4
| | | | llvm-svn: 24887
* Add a couple more fields, move ctor init list to .cpp file, add supportChris Lattner2005-12-131-0/+70
| | | | | | for emitting the ctor/dtor list for common targets. llvm-svn: 24694
* Avoid emitting two tabs when switching to a named sectionChris Lattner2005-12-091-2/+2
| | | | llvm-svn: 24646
* Teach the SelectionDAG ISel how to turn ConstantPacked values intoNate Begeman2005-12-061-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | constant nodes with vector types. Also teach the asm printer how to print ConstantPacked constant pool entries. This allows us to generate altivec code such as the following, which adds a vector constantto a packed float. LCPI1_0: <4 x float> < float 0.0e+0, float 0.0e+0, float 0.0e+0, float 1.0e+0 > .space 4 .space 4 .space 4 .long 1065353216 ; float 1 .text .align 4 .globl _foo _foo: lis r2, ha16(LCPI1_0) la r2, lo16(LCPI1_0)(r2) li r4, 0 lvx v0, r4, r2 lvx v1, r4, r3 vaddfp v0, v1, v0 stvx v0, r4, r3 blr For the llvm code: void %foo(<4 x float> * %a) { entry: %tmp1 = load <4 x float> * %a; %tmp2 = add <4 x float> %tmp1, < float 0.0, float 0.0, float 0.0, float 1.0 > store <4 x float> %tmp2, <4 x float> *%a ret void } llvm-svn: 24616
* Allow target to customize directive used to switch to arbitrary section in ↵Chris Lattner2005-11-211-1/+28
| | | | | | | | SwitchSection, add generic constant pool emitter llvm-svn: 24464
* increment the function number in SetupMachineFunctionChris Lattner2005-11-211-0/+1
| | | | llvm-svn: 24461
* Adjust to capitalized asmprinter method namesChris Lattner2005-11-211-18/+18
| | | | llvm-svn: 24457
* Add section switching to common code generator code. Add a couple ofChris Lattner2005-11-211-0/+19
| | | | | | asserts. llvm-svn: 24445
* Remove extraneous parents around constants when using a constant expr cast.Chris Lattner2005-11-151-2/+0
| | | | llvm-svn: 24357
* Teach emitAlignment to handle explicit alignment requests by globals.Chris Lattner2005-11-141-1/+3
| | | | llvm-svn: 24354
* Get rid of casts by #including the right headerChris Lattner2005-11-101-6/+6
| | | | llvm-svn: 24275
* Compile C strings to:Chris Lattner2005-11-101-0/+1
| | | | | | | | | | | | | l1__2E_str_1: ; '.str_1' .asciz "foo" not: .align 0 l1__2E_str_1: ; '.str_1' .asciz "foo" llvm-svn: 24273
* add support for .asciz, and enable it by default. If your target ↵Chris Lattner2005-11-101-5/+13
| | | | | | | | | | | | | | | | assemblerdoesn't support .asciz, just set AscizDirective to null in your asmprinter. This compiles C strings to: l1__2E_str_1: ; '.str_1' .asciz "foo" instead of: l1__2E_str_1: ; '.str_1' .ascii "foo\000" llvm-svn: 24272
* Culling out use of unions for converting FP to bits and vice versa.Jim Laskey2005-08-171-18/+7
| | | | llvm-svn: 22838
* Handle 64-bit constant exprs on 64-bit targets.Chris Lattner2005-08-081-1/+3
| | | | llvm-svn: 22696
* aCC and STLport complained about this, because they're like thatDuraid Madina2005-05-151-1/+1
| | | | llvm-svn: 22053
* Remove trailing whitespaceMisha Brukman2005-04-211-6/+6
| | | | llvm-svn: 21420
* add support for prefix/suffix strings to go around GlobalValue(s)Duraid Madina2005-04-021-5/+10
| | | | | | | | | | | (which may or be function pointers) in the asmprinter. For the moment, this changes nothing, except the IA64 backend which can use this to write: data8.ua @fptr(blah__blah__mangled_function_name) (by setting FunctionAddrPrefix/Suffix to "@fptr(" / ")") llvm-svn: 21024
* Print GEP offsets as signed values instead of unsigned values. On X86, thisChris Lattner2005-02-141-3/+7
| | | | | | | | | | | | | | prints: getelementptr (int* %A, int -1) as: "(A) - 4" instead of "(A) + 18446744073709551612", which makes the assembler much happier. This fixes test/Regression/CodeGen/X86/2005-02-14-IllegalAssembler.ll, and Benchmarks/Prolangs-C/cdecl with LLC on X86. llvm-svn: 20183
* fix constant pointer outputing on 64 bit machinesAndrew Lenharth2005-02-041-0/+5
| | | | llvm-svn: 20026
* Silence VS warningsChris Lattner2005-01-081-7/+8
| | | | llvm-svn: 19388
* Fix SingleSource/UnitTests/2004-11-28-GlobalBoolLayout.c, and hopefullyChris Lattner2004-11-281-1/+1
| | | | | | PR449 llvm-svn: 18306
* Add support for undefChris Lattner2004-10-161-2/+2
| | | | llvm-svn: 17055
* Do not use .xword and friends to emit zeros on V9. Apparently there are issuesChris Lattner2004-08-241-6/+0
| | | | | | | | with emitting .xwords when not on an 8-byte boundary (.xword 0 is not the same as 8 .byte 0's). Because we do not know when or when we are not aligned, just emit bytes like the old V9 asmprinter did. llvm-svn: 16006
* Rename varChris Lattner2004-08-181-10/+10
| | | | llvm-svn: 15897
* Add support for targets without a .zero directiveChris Lattner2004-08-171-4/+23
| | | | llvm-svn: 15894
* Add support for alignmentChris Lattner2004-08-171-0/+6
| | | | llvm-svn: 15888
* Use a designated comment character when printing comments.Chris Lattner2004-08-171-9/+18
| | | | llvm-svn: 15880
* Add support for targets that have .quad, drop extra tab insertedChris Lattner2004-08-171-6/+6
| | | | llvm-svn: 15870
* Implement emitGlobalConstantChris Lattner2004-08-171-0/+161
| | | | llvm-svn: 15868
* We now allow targets to use any prefix they want for global symbols. LetsChris Lattner2004-08-171-1/+1
| | | | | | hear it for ".". llvm-svn: 15863
* Some asmwriters want an _ prefixChris Lattner2004-08-171-1/+1
| | | | llvm-svn: 15845
* Initial implementation of the asmprinter base classChris Lattner2004-08-161-0/+110
llvm-svn: 15838
OpenPOWER on IntegriCloud