Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | adjust to changes in InlineAsm interface. Fix a few minor bugs. | Chris Lattner | 2006-02-01 | 1 | -0/+4 | |
| | | | | llvm-svn: 25865 | |||||
* | Allow the specification of explicit alignments for constant pool entries. | Evan Cheng | 2006-01-31 | 1 | -5/+9 | |
| | | | | llvm-svn: 25855 | |||||
* | Print the most trivial inline asms. | Chris Lattner | 2006-01-30 | 1 | -1/+12 | |
| | | | | llvm-svn: 25822 | |||||
* | Stub out a method | Chris Lattner | 2006-01-27 | 1 | -0/+6 | |
| | | | | llvm-svn: 25676 | |||||
* | Set up MachineDebugInfo to scan for debug information form "llvm.db"g globals. | Jim Laskey | 2006-01-26 | 1 | -0/+5 | |
| | | | | | | Global Variable information is now pulled from "llvm.dbg.globals" llvm-svn: 25655 | |||||
* | rename method | Chris Lattner | 2006-01-24 | 1 | -3/+4 | |
| | | | | llvm-svn: 25572 | |||||
* | Print file-scope inline asm blocks at the start of the output file. | Chris Lattner | 2006-01-23 | 1 | -0/+5 | |
| | | | | llvm-svn: 25565 | |||||
* | If using __main, emit global ctor/dtor list like any other global | Chris Lattner | 2006-01-12 | 1 | -2/+2 | |
| | | | | llvm-svn: 25251 | |||||
* | Applied some recommend changes from sabre. The dominate one beginning "let the | Jim Laskey | 2006-01-04 | 1 | -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 Laskey | 2006-01-04 | 1 | -0/+1 | |
| | | | | llvm-svn: 25093 | |||||
* | add these so I can be less naughty | Duraid Madina | 2005-12-28 | 1 | -0/+1 | |
| | | | | llvm-svn: 25034 | |||||
* | Don't emit a null terminator, nor anything after it, to the ctor/dtor list | Chris Lattner | 2005-12-21 | 1 | -1/+4 | |
| | | | | llvm-svn: 24887 | |||||
* | Add a couple more fields, move ctor init list to .cpp file, add support | Chris Lattner | 2005-12-13 | 1 | -0/+70 | |
| | | | | | | for emitting the ctor/dtor list for common targets. llvm-svn: 24694 | |||||
* | Avoid emitting two tabs when switching to a named section | Chris Lattner | 2005-12-09 | 1 | -2/+2 | |
| | | | | llvm-svn: 24646 | |||||
* | Teach the SelectionDAG ISel how to turn ConstantPacked values into | Nate Begeman | 2005-12-06 | 1 | -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 Lattner | 2005-11-21 | 1 | -1/+28 | |
| | | | | | | | | SwitchSection, add generic constant pool emitter llvm-svn: 24464 | |||||
* | increment the function number in SetupMachineFunction | Chris Lattner | 2005-11-21 | 1 | -0/+1 | |
| | | | | llvm-svn: 24461 | |||||
* | Adjust to capitalized asmprinter method names | Chris Lattner | 2005-11-21 | 1 | -18/+18 | |
| | | | | llvm-svn: 24457 | |||||
* | Add section switching to common code generator code. Add a couple of | Chris Lattner | 2005-11-21 | 1 | -0/+19 | |
| | | | | | | asserts. llvm-svn: 24445 | |||||
* | Remove extraneous parents around constants when using a constant expr cast. | Chris Lattner | 2005-11-15 | 1 | -2/+0 | |
| | | | | llvm-svn: 24357 | |||||
* | Teach emitAlignment to handle explicit alignment requests by globals. | Chris Lattner | 2005-11-14 | 1 | -1/+3 | |
| | | | | llvm-svn: 24354 | |||||
* | Get rid of casts by #including the right header | Chris Lattner | 2005-11-10 | 1 | -6/+6 | |
| | | | | llvm-svn: 24275 | |||||
* | Compile C strings to: | Chris Lattner | 2005-11-10 | 1 | -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 Lattner | 2005-11-10 | 1 | -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 Laskey | 2005-08-17 | 1 | -18/+7 | |
| | | | | llvm-svn: 22838 | |||||
* | Handle 64-bit constant exprs on 64-bit targets. | Chris Lattner | 2005-08-08 | 1 | -1/+3 | |
| | | | | llvm-svn: 22696 | |||||
* | aCC and STLport complained about this, because they're like that | Duraid Madina | 2005-05-15 | 1 | -1/+1 | |
| | | | | llvm-svn: 22053 | |||||
* | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -6/+6 | |
| | | | | llvm-svn: 21420 | |||||
* | add support for prefix/suffix strings to go around GlobalValue(s) | Duraid Madina | 2005-04-02 | 1 | -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, this | Chris Lattner | 2005-02-14 | 1 | -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 machines | Andrew Lenharth | 2005-02-04 | 1 | -0/+5 | |
| | | | | llvm-svn: 20026 | |||||
* | Silence VS warnings | Chris Lattner | 2005-01-08 | 1 | -7/+8 | |
| | | | | llvm-svn: 19388 | |||||
* | Fix SingleSource/UnitTests/2004-11-28-GlobalBoolLayout.c, and hopefully | Chris Lattner | 2004-11-28 | 1 | -1/+1 | |
| | | | | | | PR449 llvm-svn: 18306 | |||||
* | Add support for undef | Chris Lattner | 2004-10-16 | 1 | -2/+2 | |
| | | | | llvm-svn: 17055 | |||||
* | Do not use .xword and friends to emit zeros on V9. Apparently there are issues | Chris Lattner | 2004-08-24 | 1 | -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 var | Chris Lattner | 2004-08-18 | 1 | -10/+10 | |
| | | | | llvm-svn: 15897 | |||||
* | Add support for targets without a .zero directive | Chris Lattner | 2004-08-17 | 1 | -4/+23 | |
| | | | | llvm-svn: 15894 | |||||
* | Add support for alignment | Chris Lattner | 2004-08-17 | 1 | -0/+6 | |
| | | | | llvm-svn: 15888 | |||||
* | Use a designated comment character when printing comments. | Chris Lattner | 2004-08-17 | 1 | -9/+18 | |
| | | | | llvm-svn: 15880 | |||||
* | Add support for targets that have .quad, drop extra tab inserted | Chris Lattner | 2004-08-17 | 1 | -6/+6 | |
| | | | | llvm-svn: 15870 | |||||
* | Implement emitGlobalConstant | Chris Lattner | 2004-08-17 | 1 | -0/+161 | |
| | | | | llvm-svn: 15868 | |||||
* | We now allow targets to use any prefix they want for global symbols. Lets | Chris Lattner | 2004-08-17 | 1 | -1/+1 | |
| | | | | | | hear it for ".". llvm-svn: 15863 | |||||
* | Some asmwriters want an _ prefix | Chris Lattner | 2004-08-17 | 1 | -1/+1 | |
| | | | | llvm-svn: 15845 | |||||
* | Initial implementation of the asmprinter base class | Chris Lattner | 2004-08-16 | 1 | -0/+110 | |
llvm-svn: 15838 |