summaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/GCMetadata.cpp
AgeCommit message (Collapse)Author
2010-03-14switch GC_LABEL to use an MCSymbol operand instead of a label ID operand.Chris Lattner
llvm-svn: 98474
2010-01-04Change errs() to dbgs().David Greene
llvm-svn: 92516
2009-10-25Remove includes of Support/Compiler.h that are no longer needed after theNick Lewycky
VISIBILITY_HIDDEN removal. llvm-svn: 85043
2009-10-25Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces.Nick Lewycky
Chris claims we should never have visibility_hidden inside any .cpp file but that's still not true even after this commit. llvm-svn: 85042
2009-08-23Change Pass::print to take a raw ostream instead of std::ostream,Chris Lattner
update all code that this affects. llvm-svn: 79830
2009-08-23remove std::ostream versions of printing stuff for MBB and MF,Chris Lattner
upgrading a few things to use raw_ostream llvm-svn: 79811
2009-07-26Remove Value::getName{Start,End}, the last of the old Name APIs.Daniel Dunbar
llvm-svn: 77152
2009-07-23Convert StringMap to using StringRef for its APIs.Daniel Dunbar
- 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
2009-07-14llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.Torok Edwin
This adds location info for all llvm_unreachable calls (which is a macro now) in !NDEBUG builds. In NDEBUG builds location info and the message is off (it only prints "UREACHABLE executed"). llvm-svn: 75640
2009-07-11assert(0) -> LLVM_UNREACHABLE.Torok Edwin
Make llvm_unreachable take an optional string, thus moving the cerr<< out of line. LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for NDEBUG builds. llvm-svn: 75379
2009-07-11Convert more assert(0)+abort() -> LLVM_UNREACHABLE,Torok Edwin
and abort()/exit() -> llvm_report_error(). llvm-svn: 75363
2009-02-18Eliminate several more unnecessary intptr_t casts.Dan Gohman
llvm-svn: 64888
2009-01-28Rename getAnalysisToUpdate to getAnalysisIfAvailable.Duncan Sands
llvm-svn: 63198
2008-09-04Tidy up several unbeseeming casts from pointer to intptr_t.Dan Gohman
llvm-svn: 55779
2008-08-17Rename some GC classes so that their roll will hopefully be clearer.Gordon Henriksen
In particular, Collector was confusing to implementors. Several thought that this compile-time class was the place to implement their runtime GC heap. Of course, it doesn't even exist at runtime. Specifically, the renames are: Collector -> GCStrategy CollectorMetadata -> GCFunctionInfo CollectorModuleMetadata -> GCModuleInfo CollectorRegistry -> GCRegistry Function::getCollector -> getGC (setGC, hasGC, clearGC) Several accessors and nested types have also been renamed to be consistent. These changes should be obvious. llvm-svn: 54899
2008-08-17Don't instantiate GC metadata for declarations.Gordon Henriksen
llvm-svn: 54895
2008-08-17Factor GC metadata table assembly generation out of Collector in preparation ↵Gordon Henriksen
for splitting AsmPrinter into its own library. llvm-svn: 54881