summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/PassRegistry.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename VMCore directory to IR.Chandler Carruth2013-01-021-209/+0
| | | | | | | | | | | | | | | | | | Aside from moving the actual files, this patch only updates the build system and the source file comments under lib/... that are relevant. I'll be updating other docs and other files in smaller subsequnet commits. While I've tried to test this, but it is entirely possible that there will still be some build system fallout. Also, note that I've not changed the library name itself: libLLVMCore.a is still the library name. I'd be interested in others' opinions about whether we should rename this as well (I think we should, just not sure what it might break) llvm-svn: 171359
* Use the new script to sort the includes of every file under lib.Chandler Carruth2012-12-031-4/+4
| | | | | | | | | | | | | | | | | Sooooo many of these had incorrect or strange main module includes. I have manually inspected all of these, and fixed the main module include to be the nearest plausible thing I could find. If you own or care about any of these source files, I encourage you to take some time and check that these edits were sensible. I can't have broken anything (I strictly added headers, and reordered them, never removed), but they may not be the headers you'd really like to identify as containing the API being implemented. Many forward declarations and missing includes were added to a header files to allow them to parse cleanly when included first. The main module rule does in fact have its merits. =] llvm-svn: 169131
* Cosmetic changes, as per Nick's review.Devang Patel2011-09-291-0/+1
| | | | llvm-svn: 140785
* Fix a ton of comment typos found by codespell. Patch byChris Lattner2011-04-151-1/+1
| | | | | | Luis Felipe Strano Moraes! llvm-svn: 129558
* Silence a warning from non-standard warning avoidance code.Jakob Stoklund Olesen2011-01-051-1/+2
| | | | llvm-svn: 122911
* Merge System into Support.Michael J. Spencer2010-11-291-1/+1
| | | | llvm-svn: 120298
* Make some symbols static, move classes into anonymous namespaces.Benjamin Kramer2010-10-221-0/+2
| | | | llvm-svn: 117111
* Attempt to fix valgrind complaining about (benign) leaks in pass ↵Owen Anderson2010-10-201-2/+14
| | | | | | | | registration by having PassRegistry delete PassInfo objects that were created using new-style initialization. llvm-svn: 116959
* Delete a redundant check.Dan Gohman2010-10-121-1/+1
| | | | llvm-svn: 116280
* Allow the PassRegistry mutex to be lazily initialized, and clean up the ↵Owen Anderson2010-09-161-10/+10
| | | | | | global namespace at the same time. llvm-svn: 114131
* Do not expose the locking for the PassRegistry in the header. Be careful toOwen Anderson2010-09-161-1/+8
| | | | | | synchronize any method that might lazily initialize the pImpl. llvm-svn: 114130
* Since PassRegistry is currently a shared global object, it needs locking. ↵Owen Anderson2010-09-151-0/+7
| | | | | | | | | While it might intuitively seem that all the setup of this class currently happens at static initialization time, this misses the fact that some later events can cause mutation of the PassRegistrationListeners list, and thus cause race issues. llvm-svn: 114036
* Minimize #includes in a top-level header.Owen Anderson2010-09-131-0/+1
| | | | llvm-svn: 113772
* Fix PR7972, in which the PassRegistry was being leaked. As part of this,Owen Anderson2010-09-071-35/+16
| | | | | | | switch to using a ManagedStatic for the global PassRegistry instead of a ManagedCleanup, and fix a destruction ordering bug this exposed. llvm-svn: 113283
* Clean up some of the PassRegistry implementation, and pImpl-ize it to reduce ↵Owen Anderson2010-09-071-26/+64
| | | | | | | | #include clutter and exposing internal details. llvm-svn: 113252
* Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson2010-08-061-3/+3
| | | | llvm-svn: 110460
* Revert r110396 to fix buildbots.Owen Anderson2010-08-061-3/+3
| | | | llvm-svn: 110410
* Don't use PassInfo* as a type identifier for passes. Instead, use the ↵Owen Anderson2010-08-051-3/+3
| | | | | | | | address of the static ID member as the sole unique type identifier. Clean up APIs related to this change. llvm-svn: 110396
* Move the smarts of AnalysisGroup registration into PassRegistry.Owen Anderson2010-07-211-13/+33
| | | | llvm-svn: 109019
* Move the handling of PassRegistrationListener's to PassRegistry.Owen Anderson2010-07-201-0/+25
| | | | llvm-svn: 108966
* Move more functionality from Pass.cpp to PassRegistry.cpp. This global will ↵Owen Anderson2010-07-201-1/+43
| | | | | | go away eventually, but for now we still need it around. llvm-svn: 108932
* I just fail with SVN today.Owen Anderson2010-07-201-0/+72
llvm-svn: 108888
OpenPOWER on IntegriCloud