- Aug 14, 2009
-
-
Daniel Dunbar authored
to print one instruction. llvm-svn: 78985
-
- Aug 13, 2009
-
-
Owen Anderson authored
llvm-svn: 78948
-
Dan Gohman authored
PrintUnmangledNameSafely. llvm-svn: 78878
-
- Aug 12, 2009
-
-
Dan Gohman authored
llvm-svn: 78838
-
Dan Gohman authored
the basic block label printing to check whether a block has a name before printing a comment character and whitespace for it. llvm-svn: 78830
-
Dan Gohman authored
that emitted unnecessary whitespace outside of VerboseAsm mode. llvm-svn: 78828
-
Jim Grosbach authored
llvm-svn: 78817
-
Chris Lattner authored
"inlineasmstart/end" strings so that the contents of the directive are separate from the comment character. This lets elf targets get #APP/#NOAPP for free even if they don't use "#" as the comment character. This also allows hoisting the darwin stuff up to the shared TAI class. llvm-svn: 78737
-
- Aug 11, 2009
-
-
Chris Lattner authored
the code based on this and make it fall through better. llvm-svn: 78708
-
Jim Grosbach authored
and short. Well, it's kinda short. Definitely nasty and brutish. The front-end generates the register/unregister calls into the SjLj runtime, call-site indices and landing pad dispatch. The back end fills in the LSDA with the call-site information provided by the front end. Catch blocks are not yet implemented. Built on Darwin and verified no llvm-core "make check" regressions. llvm-svn: 78625
-
- Aug 10, 2009
-
-
David Greene authored
Add support for printing loop structure information in asm comments. This definitely slows down asm output so put it under an -asm-exuberant flag. This information is useful when doing static analysis of performance issues. llvm-svn: 78567
-
- Aug 09, 2009
-
-
Chris Lattner authored
This totally optimizes PIC16 sections by not having an 'isdirective' bit anymore!! ;-) llvm-svn: 78517
-
Chris Lattner authored
2. Move section switch printing to MCSection virtual method which takes a TAI. This eliminates textual formatting stuff from TLOF. 3. Eliminate SwitchToSectionDirective, getSectionFlagsAsString, and TLOFELF::AtIsCommentChar. llvm-svn: 78510
-
- Aug 08, 2009
-
-
Chris Lattner authored
A TAI hook is appropriate in this case because this is just an asm syntax issue, not a semantic difference. TLOF should model the semantics of the section. llvm-svn: 78498
-
Chris Lattner authored
llvm-svn: 78432
-
Chris Lattner authored
llvm-svn: 78428
-
Chris Lattner authored
llvm-svn: 78416
-
- Aug 05, 2009
-
-
David Greene authored
Fix some column padding bugs, reorganize things as suggested by Chris and eliminate complexity. Yay! llvm-svn: 78243
-
Chris Lattner authored
llvm-svn: 78242
-
Chris Lattner authored
llvm-svn: 78154
-
- Aug 04, 2009
-
-
Chris Lattner authored
the masm backend. If anyone cares about masm in the future, we'll have semantic sections it can hang off of. llvm-svn: 78096
-
Chris Lattner authored
eliminate IsInTextSection. llvm-svn: 78017
-
Chris Lattner authored
llvm-svn: 78015
-
- Aug 03, 2009
-
-
Chris Lattner authored
llvm-svn: 77984
-
Chris Lattner authored
llvm-svn: 77976
-
- Aug 02, 2009
-
-
Chris Lattner authored
TLOF, unifying all the dwarf targets at the same time. llvm-svn: 77889
-
Chris Lattner authored
llvm-svn: 77888
-
Chris Lattner authored
behavior of the LSDA section instead of on some random target hook that needs to be kept in synch with other points of truth. llvm-svn: 77855
-
Chris Lattner authored
getLSDASection() to be more specific. This makes it pretty obvious that the ELF LSDA section is being specified wrong in PIC mode. We're probably getting a lot of startup-time relocations to a readonly page, which is expensive and bad. Someone who cares about ELF C++ should investigate this. llvm-svn: 77847
-
Chris Lattner authored
TAI. llvm-svn: 77842
-
Chris Lattner authored
llvm-svn: 77834
-
Chris Lattner authored
compute it based on what it knows. As part of this, rename getSectionForMergeableConstant to getSectionForConstant because it works for non-mergable constants also. The only functionality change from this is that Xcore will start dropping its jump tables into readonly section instead of data section in -static mode. This should be fine as the linker resolves the relocations. If this is a problem, let me know and we'll come up with another solution. llvm-svn: 77833
-
Chris Lattner authored
llvm-svn: 77821
-
Chris Lattner authored
to: .quad X even on a 32-bit system, where X is not 64-bits. There isn't much that we can do here, so we just print: .quad ((X) & 4294967295) instead. llvm-svn: 77818
-
- Aug 01, 2009
-
-
Chris Lattner authored
should have no state that is specific to particular globals in the section. In this case, it means the removal of the "isWeak" and "ExplicitSection" bits. MCSection uses the new form of SectionKind. To handle isWeak, I introduced a new SectionInfo class, which is SectionKind + isWeak, and it is used by the part of the code generator that does classification of a specific global. The ExplicitSection disappears. It is moved onto MCSection as a new "IsDirective" bit. Since the Name of a section is either a section or directive, it makes sense to keep this bit in MCSection. Ultimately the creator of MCSection should canonicalize (e.g.) .text to whatever the actual section is. llvm-svn: 77803
-
Dan Gohman authored
llvm-svn: 77754
-
Chris Lattner authored
need the PreferredEHDataFormat hook, but I have yet-more refactoring to do before I can zap it. llvm-svn: 77742
-
Chris Lattner authored
have no functionality change. llvm-svn: 77741
-
- Jul 31, 2009
-
-
David Greene authored
Simplify operand padding by keying off tabs in the asm stream. If padding is disabled, tabs get replaced by spaces except in the case of the first operand, where the tab is output to line up the operands after the mnemonics. Add some better comments and eliminate redundant code. Fix some testcases to not assume tabs. llvm-svn: 77740
-
Chris Lattner authored
thing is #if0'd out anyway. Just simplify the code by reducing the interface. Not deleting this is essential for Bill's continuing happiness. llvm-svn: 77736
-