- Aug 06, 2010
-
-
Owen Anderson authored
llvm-svn: 110460
-
Owen Anderson authored
llvm-svn: 110410
-
Owen Anderson authored
ID member as the sole unique type identifier. Clean up APIs related to this change. llvm-svn: 110396
-
- Jul 16, 2010
-
-
Eli Friedman authored
llvm-svn: 108520
-
- Apr 15, 2010
-
-
Dan Gohman authored
llvm-svn: 101342
-
- Apr 08, 2010
-
-
Benjamin Kramer authored
llvm-svn: 100756
-
Chris Lattner authored
llvm-svn: 100709
-
- Mar 12, 2010
-
-
Chris Lattner authored
llvm-svn: 98378
-
Chris Lattner authored
No functionality change. llvm-svn: 98363
-
- Mar 11, 2010
-
-
Chris Lattner authored
llvm-svn: 98293
-
- Feb 02, 2010
-
-
Chris Lattner authored
llvm-svn: 95150
-
Chris Lattner authored
Now the only use of the ELF writer is the JIT, which won't be easy to fix in the short term. :( :( llvm-svn: 95148
-
- Jan 23, 2010
-
-
Chris Lattner authored
llvm-svn: 94297
-
- Jan 17, 2010
-
-
Chris Lattner authored
having to pass various fields from it in. Simplify. llvm-svn: 93686
-
- Jan 16, 2010
-
-
Chris Lattner authored
llvm-svn: 93664
-
Chris Lattner authored
llvm-svn: 93627
-
- Jan 04, 2010
-
-
David Greene authored
Change errs() to dbgs(). llvm-svn: 92502
-
- Oct 05, 2009
-
-
Chris Lattner authored
the new predicates I added) instead of going through a context and doing a pointer comparison. Besides being cheaper, this allows a smart compiler to turn the if sequence into a switch. llvm-svn: 83297
-
- Sep 01, 2009
-
-
Bruno Cardoso Lopes authored
llvm-svn: 80717
-
- Aug 22, 2009
-
-
Chris Lattner authored
llvm-svn: 79777
-
Chris Lattner authored
llvm-svn: 79763
-
Bill Wendling authored
llvm-svn: 79749
-
- Aug 14, 2009
-
-
Bruno Cardoso Lopes authored
llvm-svn: 79029
-
- Aug 13, 2009
-
-
Owen Anderson authored
llvm-svn: 78948
-
Bruno Cardoso Lopes authored
Use MCSectionELF methods as much as possible, removing some ELFWriter methods which are now unused llvm-svn: 78940
-
Bruno Cardoso Lopes authored
syntactically as a string, very similiar to what Chris did with MachO. The parsing support and validation is not introduced yet. llvm-svn: 78890
-
- Aug 10, 2009
-
-
Bruno Cardoso Lopes authored
add support for PtrToInt, Add, Mul. llvm-svn: 78552
-
- Aug 09, 2009
-
-
Chris Lattner authored
This totally optimizes PIC16 sections by not having an 'isdirective' bit anymore!! ;-) llvm-svn: 78517
-
- Aug 08, 2009
-
-
Bruno Cardoso Lopes authored
Handle large integers, x86_fp80, ConstantAggregateZero, and two more ConstantExpr: GetElementPtr and IntToPtr Set SHF_MERGE bit for mergeable strings Avoid zero initialized strings to be classified as a bss symbol Don't allow common symbols to be classified as STB_WEAK Add a constant to be used as a global value offset in data relocations llvm-svn: 78476
-
- Aug 05, 2009
-
-
Bruno Cardoso Lopes authored
a dirty hack and isn't need anymore since the last x86 code emitter patch) - Add a target-dependent modifier to addend calculation - Use R_X86_64_32S relocation for X86::reloc_absolute_word_sext - Use getELFSectionFlags whenever possible - fix getTextSection to use TLOF and emit the right text section - Handle global emission for static ctors, dtors and Type::PointerTyID - Some minor fixes llvm-svn: 78176
-
- Aug 02, 2009
-
-
Chris Lattner authored
defaults to being ELF. llvm-svn: 77866
-
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
-
- 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
-
- Jul 31, 2009
-
-
Chris Lattner authored
MCSection subclasses yet, but this is a step in the right direction. llvm-svn: 77708
-
Chris Lattner authored
initialize method, which can be called when an MCContext is available. llvm-svn: 77687
-
- Jul 29, 2009
-
-
Chris Lattner authored
No functionality change. llvm-svn: 77432
-
- Jul 28, 2009
-
-
Bruno Cardoso Lopes authored
llvm-svn: 77354
-
Chris Lattner authored
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
-
- Jul 27, 2009
-
-
Bruno Cardoso Lopes authored
llvm-svn: 77238
-