- Jul 26, 2009
-
-
Daniel Dunbar authored
llvm-svn: 77127
-
Daniel Dunbar authored
classes, and migrate existing targets over. llvm-svn: 77126
-
Daniel Dunbar authored
llvm-svn: 77125
-
Daniel Dunbar authored
llvm-svn: 77124
-
Daniel Dunbar authored
- This is now shorter, simpler, safer, and more efficient, what a deal. llvm-svn: 77119
-
Chris Lattner authored
llvm-svn: 77116
-
Daniel Dunbar authored
llvm-svn: 77115
-
Daniel Dunbar authored
- This was overkill and inconsistently implemented. llvm-svn: 77114
-
Daniel Dunbar authored
- This is a simplified mechanism which just looks up a target based on the target triple, with a few additional flags. - Remove getClosestStaticTargetForModule, the moral equivalent is now: lookupTarget(Mod->getTargetTriple, true, false, ...); - This no longer does the fuzzy matching with target data (based on endianness and pointer width) that getClosestStaticTargetForModule was doing, but this was deemed unnecessary. llvm-svn: 77111
-
Chris Lattner authored
llvm-svn: 77110
-
Chris Lattner authored
for now. Make the section switching directives more consistent by not including \n and including \t for them all. llvm-svn: 77107
-
Daniel Dunbar authored
llvm-svn: 77105
-
Chris Lattner authored
and make it more aggressive, we now put: const int G2 __attribute__((weak)) = 42; into the text (readonly) segment like gcc, previously we put it into the data (readwrite) segment. llvm-svn: 77104
-
Daniel Dunbar authored
llvm-svn: 77102
-
Bob Wilson authored
Patch by Anton Korzh, with some modifications from me. llvm-svn: 77101
-
Daniel Dunbar authored
llvm-svn: 77100
-
Daniel Dunbar authored
- Split into a separate patch because there is a slight functionality change, it is no longer valid to call setName(0), which was equivalent to setName(""). I'm hoping no one depends on this... llvm-svn: 77099
-
Daniel Dunbar authored
Also, change MDString to use a StringRef. llvm-svn: 77098
-
Chris Lattner authored
an enum. llvm-svn: 77096
-
- Jul 25, 2009
-
-
Reid Kleckner authored
values. Hopefully this fixes PR4622. llvm-svn: 77088
-
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
-
Chris Lattner authored
llvm-svn: 77084
-
Chris Lattner authored
Thanks to Rafael for the great example. llvm-svn: 77083
-
Dan Gohman authored
llvm-svn: 77080
-
Dan Gohman authored
the step value as unsigned, the start value and the addrec itself still need to be treated as signed. llvm-svn: 77078
-
Andreas Bolka authored
llvm-svn: 77065
-
Daniel Dunbar authored
- Instead of requiring targets to define a JIT quality match function, we just have them specify if they support a JIT. - Target selection for the JIT just gets the host triple and looks for the best target which matches the triple and has a JIT. llvm-svn: 77060
-
Sanjiv Gupta authored
Mark attributes of return insn correctly. It was being assumed safe to delete in isSafeToDelete (a thing checked-in 76281). llvm-svn: 77056
-
Daniel Dunbar authored
- Less boilerplate == good. llvm-svn: 77052
-
Daniel Dunbar authored
llvm-svn: 77051
-
Daniel Dunbar authored
- The only meat here is in Value.{h,cpp} the rest is essential 'const std::string &' -> 'const Twine &'. llvm-svn: 77048
-
Eric Christopher authored
llvm-svn: 77045
-
Eric Christopher authored
llvm-svn: 77044
-
Evan Cheng authored
llvm-svn: 77041
-
Dan Gohman authored
llvm-svn: 77039
-
Evan Cheng authored
llvm-svn: 77035
-
Dan Gohman authored
analyzing add recurrences. llvm-svn: 77034
-
Dan Gohman authored
llvm-svn: 77033
-
Dan Gohman authored
affected after a PHI node has been analyzed, just remove affected SCEVs from the Scalars map, so that they'll be (lazily) recreated as needed. This avoids creating SCEV objects that aren't actually needed. Also, rewrite the associated def-use walking code to be non-recursive and to continue traversing past Instructions that don't have an entry in the Scalars map. llvm-svn: 77032
-
Dan Gohman authored
getAnalysisIfAvailable<TargetData>(). llvm-svn: 77028
-