- Jul 28, 2009
-
-
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
-
Mike Stump authored
llvm-svn: 77271
-
Owen Anderson authored
llvm-svn: 77266
-
- Jul 27, 2009
-
-
Chris Lattner authored
MCSections soon instead of Section for all targets, and we need something to own them. llvm-svn: 77252
-
Owen Anderson authored
llvm-svn: 77247
-
Bruno Cardoso Lopes authored
llvm-svn: 77239
-
Bruno Cardoso Lopes authored
llvm-svn: 77238
-
Bruno Cardoso Lopes authored
llvm-svn: 77232
-
Chris Lattner authored
instead and drive things based off of that. llvm-svn: 77184
-
Eli Friedman authored
change. llvm-svn: 77171
-
- Jul 26, 2009
-
-
Daniel Dunbar authored
llvm-svn: 77152
-
Daniel Dunbar authored
llvm-svn: 77148
-
Chris Lattner authored
just use a smallstring instead. llvm-svn: 77144
-
Chris Lattner authored
to its classification. llvm-svn: 77140
-
Chris Lattner authored
llvm-svn: 77138
-
Chris Lattner authored
llvm-svn: 77137
-
Chris Lattner authored
llvm-svn: 77134
-
Daniel Dunbar authored
Also, change MDString to use a StringRef. llvm-svn: 77098
-
- Jul 25, 2009
-
-
Chris Lattner authored
1. Spell SectionFlags::Writeable as "Writable". 2. Add predicates for deriving SectionFlags from SectionKinds. 3. Sink ELF-specific getSectionPrefixForUniqueGlobal impl into ELFTargetAsmInfo. 4. Fix SectionFlagsForGlobal to know that BSS/ThreadBSS has the BSS bit set (the real fix for PR4619). 5. Fix isSuitableForBSS to not put globals with explicit sections set in BSS (which was the reason #4 wasn't fixed earlier). 6. Remove my previous hack for PR4619. llvm-svn: 77085
-
Dan Gohman authored
llvm-svn: 77039
-
Daniel Dunbar authored
- Some clients which used DOUT have moved to DEBUG. We are deprecating the "magic" DOUT behavior which avoided calling printing functions when the statement was disabled. In addition to being unnecessary magic, it had the downside of leaving code in -Asserts builds, and of hiding potentially unnecessary computations. llvm-svn: 77019
-
Owen Anderson authored
Revert the ConstantInt constructors back to their 2.5 forms where possible, thanks to contexts-on-types. More to come. llvm-svn: 77011
-
- Jul 24, 2009
-
-
Jakob Stoklund Olesen authored
llvm-svn: 76987
-
Chris Lattner authored
llvm-svn: 76970
-
Daniel Dunbar authored
llvm-svn: 76966
-
Daniel Dunbar authored
LiveInterval, etc to raw_ostream. llvm-svn: 76965
-
Daniel Dunbar authored
llvm-svn: 76963
-
Daniel Dunbar authored
llvm-svn: 76962
-
Chris Lattner authored
eliminating isNamed. llvm-svn: 76946
-
- Jul 23, 2009
-
-
Chris Lattner authored
%0 = malloc [3758096384 x i32] The "malloc" instruction doesn't support 64-bits correctly (see PR715), and should be removed. Victor is actively working on fixing this, in the meantime just don't crash. llvm-svn: 76899
-
Daniel Dunbar authored
- Yay for '-'s and simplifications! - I kept StringMap::GetOrCreateValue for compatibility purposes, this can eventually go away. Likewise the StringMapEntry Create functions still follow the old style. - NIFC. llvm-svn: 76888
-
Lang Hames authored
llvm-svn: 76865
-
Lang Hames authored
llvm-svn: 76849
-
David Greene authored
Reorder if-else branches as suggested by Bill. llvm-svn: 76808
-
- Jul 22, 2009
-
-
David Greene authored
Constify the key in Mi2IndexMap. llvm-svn: 76801
-
Evan Cheng authored
llvm-svn: 76799
-
Daniel Dunbar authored
simplification. - NFC llvm-svn: 76789
-
David Greene authored
Put comment printing under asm-verbose. llvm-svn: 76780
-
David Greene authored
Make some changes suggested by Bill and Evan. llvm-svn: 76775
-
Chris Lattner authored
a new getSectionForMergableConstant hook. This removes one dependence of TAI on Type, and provides the hook with enough info to make the right decision based on whether the global has relocations etc. llvm-svn: 76705
-