| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Cleanup code to use iterators instead of ".size()". | Bill Wendling | 2009-07-28 | 1 | -21/+25 | |
| | | | | | | | Does any one else hate the name "const_reverse_iterator" as much as I do? llvm-svn: 77399 | |||||
| * | Doxygenify comments. | Bill Wendling | 2009-07-28 | 2 | -2/+4 | |
| | | | | | llvm-svn: 77394 | |||||
| * | Split out large loop into it's very own method. No intended functionality ↵ | Bill Wendling | 2009-07-28 | 2 | -42/+62 | |
| | | | | | | | change. llvm-svn: 77393 | |||||
| * | Output the EH TType format and base offset only if there are types that we're | Bill Wendling | 2009-07-28 | 1 | -6/+15 | |
| | | | | | | | going to emit. llvm-svn: 77382 | |||||
| * | Use the preferred EH data format for the preferred EH data format. | Bill Wendling | 2009-07-28 | 1 | -2/+2 | |
| | | | | | llvm-svn: 77373 | |||||
| * | Fix a typo. | Evan Cheng | 2009-07-28 | 1 | -1/+1 | |
| | | | | | llvm-svn: 77369 | |||||
| * | Return ConstantVector to 2.5 API. | Owen Anderson | 2009-07-28 | 2 | -2/+2 | |
| | | | | | llvm-svn: 77366 | |||||
| * | Handle null and file symbol on doInitialization | Bruno Cardoso Lopes | 2009-07-28 | 2 | -9/+8 | |
| | | | | | llvm-svn: 77354 | |||||
| * | Change ConstantArray to 2.5 API. | Owen Anderson | 2009-07-28 | 2 | -2/+2 | |
| | | | | | llvm-svn: 77347 | |||||
| * | Add reload and remat backscheduling. This is disabled by default. Use | David Greene | 2009-07-28 | 1 | -26/+150 | |
| | | | | | | | -schedule-spills=true to enable. llvm-svn: 77327 | |||||
| * | Rip all of the global variable lowering logic out of TargetAsmInfo. Since | Chris Lattner | 2009-07-28 | 5 | -25/+43 | |
| | | | | | | | | | | | | | | | | | | | | | 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 | |||||
| * | Avoid build warnings. | Mike Stump | 2009-07-27 | 1 | -0/+1 | |
| | | | | | llvm-svn: 77271 | |||||
| * | Move ConstantStruct back to 2.5 API. | Owen Anderson | 2009-07-27 | 1 | -2/+2 | |
| | | | | | llvm-svn: 77266 | |||||
| * | hoist MCContext/MCStreamer up to AsmPrinter since we're going to start creating | Chris Lattner | 2009-07-27 | 1 | -0/+11 | |
| | | | | | | | | MCSections soon instead of Section for all targets, and we need something to own them. llvm-svn: 77252 | |||||
| * | Move ConstantFP construction back to the 2.5-ish API. | Owen Anderson | 2009-07-27 | 2 | -5/+3 | |
| | | | | | llvm-svn: 77247 | |||||
| * | fix comment | Bruno Cardoso Lopes | 2009-07-27 | 1 | -1/+1 | |
| | | | | | llvm-svn: 77239 | |||||
| * | add module identifier to the elf object file | Bruno Cardoso Lopes | 2009-07-27 | 3 | -9/+26 | |
| | | | | | llvm-svn: 77238 | |||||
| * | Handle external symbols for ELF and add some static methods to ELFSym | Bruno Cardoso Lopes | 2009-07-27 | 4 | -46/+155 | |
| | | | | | llvm-svn: 77232 | |||||
| * | Eliminate SectionFlags, just embed a SectionKind into Section | Chris Lattner | 2009-07-27 | 3 | -18/+19 | |
| | | | | | | | instead and drive things based off of that. llvm-svn: 77184 | |||||
| * | Reorganize code a bit to reduce indentation. No visible functionality | Eli Friedman | 2009-07-26 | 1 | -287/+287 | |
| | | | | | | | change. llvm-svn: 77171 | |||||
| * | Remove Value::getName{Start,End}, the last of the old Name APIs. | Daniel Dunbar | 2009-07-26 | 4 | -8/+7 | |
| | | | | | llvm-svn: 77152 | |||||
| * | Remove Value::getNameLen | Daniel Dunbar | 2009-07-26 | 1 | -18/+6 | |
| | | | | | llvm-svn: 77148 | |||||
| * | remove a densemap from TargetAsmInfo that was uniquing the targetflags strings, | Chris Lattner | 2009-07-26 | 1 | -4/+8 | |
| | | | | | | | just use a smallstring instead. llvm-svn: 77144 | |||||
| * | make SectionKind know whether a symbol is weak or not in addition | Chris Lattner | 2009-07-26 | 2 | -14/+18 | |
| | | | | | | | to its classification. llvm-svn: 77140 | |||||
| * | rename Mergable -> Mergeable and Writable -> Writeable | Chris Lattner | 2009-07-26 | 2 | -11/+10 | |
| | | | | | llvm-svn: 77138 | |||||
| * | two files I missed in the last commit. | Chris Lattner | 2009-07-26 | 2 | -12/+12 | |
| | | | | | llvm-svn: 77137 | |||||
| * | simplify getSectionForMergableConstant to take a SectionKind. | Chris Lattner | 2009-07-26 | 2 | -9/+30 | |
| | | | | | llvm-svn: 77134 | |||||
| * | Remove Value::{isName, getNameRef}. | Daniel Dunbar | 2009-07-25 | 1 | -1/+1 | |
| | | | | | | | Also, change MDString to use a StringRef. llvm-svn: 77098 | |||||
| * | this is (unfortunately) several changes mixed together: | Chris Lattner | 2009-07-25 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | 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 | |||||
| * | Convert a few more things to use raw_ostream. | Dan Gohman | 2009-07-25 | 2 | -26/+27 | |
| | | | | | llvm-svn: 77039 | |||||
| * | More migration to raw_ostream, the water has dried up around the iostream hole. | Daniel Dunbar | 2009-07-25 | 16 | -86/+101 | |
| | | | | | | | | | | | - 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 | |||||
| * | Revert the ConstantInt constructors back to their 2.5 forms where possible, ↵ | Owen Anderson | 2009-07-24 | 6 | -44/+44 | |
| | | | | | | | thanks to contexts-on-types. More to come. llvm-svn: 77011 | |||||
| * | Add support for promoting SETCC operations. | Jakob Stoklund Olesen | 2009-07-24 | 4 | -13/+20 | |
| | | | | | llvm-svn: 76987 | |||||
| * | remove a use of SectionFlagsForGlobal. | Chris Lattner | 2009-07-24 | 1 | -3/+4 | |
| | | | | | llvm-svn: 76970 | |||||
| * | More move to raw_ostream. | Daniel Dunbar | 2009-07-24 | 1 | -4/+3 | |
| | | | | | llvm-svn: 76966 | |||||
| * | Move more to raw_ostream, provide support for writing MachineBasicBlock, | Daniel Dunbar | 2009-07-24 | 5 | -5/+45 | |
| | | | | | | | LiveInterval, etc to raw_ostream. llvm-svn: 76965 | |||||
| * | Move to raw_ostream. | Daniel Dunbar | 2009-07-24 | 2 | -38/+39 | |
| | | | | | llvm-svn: 76963 | |||||
| * | Switch to getNameStr(). | Daniel Dunbar | 2009-07-24 | 4 | -13/+13 | |
| | | | | | llvm-svn: 76962 | |||||
| * | document SectionFlags::Named better and make it more easily greppable by | Chris Lattner | 2009-07-24 | 1 | -1/+1 | |
| | | | | | | | eliminating isNamed. llvm-svn: 76946 | |||||
| * | "fix" PR4612, which is a crash on: | Chris Lattner | 2009-07-23 | 1 | -1/+5 | |
| | | | | | | | | | | | %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 | |||||
| * | Convert StringMap to using StringRef for its APIs. | Daniel Dunbar | 2009-07-23 | 1 | -6/+3 | |
| | | | | | | | | | | | | | - 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 | |||||
| * | For real this time: PHI Def & Kill tracking added to PHIElimination. | Lang Hames | 2009-07-23 | 1 | -3/+5 | |
| | | | | | llvm-svn: 76865 | |||||
| * | Added PHI Def & Kill tracking to PHIElimination pass. | Lang Hames | 2009-07-23 | 2 | -4/+56 | |
| | | | | | llvm-svn: 76849 | |||||
| * | Reorder if-else branches as suggested by Bill. | David Greene | 2009-07-22 | 1 | -4/+4 | |
| | | | | | llvm-svn: 76808 | |||||
| * | Constify the key in Mi2IndexMap. | David Greene | 2009-07-22 | 1 | -1/+1 | |
| | | | | | llvm-svn: 76801 | |||||
| * | Ignore undef uses. | Evan Cheng | 2009-07-22 | 1 | -0/+3 | |
| | | | | | llvm-svn: 76799 | |||||
| * | Switch some clients to Value::getName(), and other getName() user | Daniel Dunbar | 2009-07-22 | 1 | -2/+2 | |
| | | | | | | | | simplification. - NFC llvm-svn: 76789 | |||||
| * | Put comment printing under asm-verbose. | David Greene | 2009-07-22 | 1 | -13/+36 | |
| | | | | | llvm-svn: 76780 | |||||
| * | Make some changes suggested by Bill and Evan. | David Greene | 2009-07-22 | 2 | -34/+25 | |
| | | | | | llvm-svn: 76775 | |||||
| * | remove the SelectSectionForMachineConst hook, replacing it with | Chris Lattner | 2009-07-22 | 2 | -3/+10 | |
| | | | | | | | | | 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 | |||||

