40be1e85665d10f5444186f0e7106e368dd735b8 |
|
01-May-2013 |
Filip Pizlo <fpizlo@apple.com> |
This patch breaks up Wrap.h so that it does not have to include all of the things, and renames it to CBindingWrapping.h. I also moved CBindingWrapping.h into Support/. This new file just contains the macros for defining different wrap/unwrap methods. The calls to those macros, as well as any custom wrap/unwrap definitions (like for array of Values for example), are put into corresponding C++ headers. Doing this required some #include surgery, since some .cpp files relied on the fact that including Wrap.h implicitly caused the inclusion of a bunch of other things. This also now means that the C++ headers will include their corresponding C API headers; for example Value.h must include llvm-c/Core.h. I think this is harmless, since the C API headers contain just external function declarations and some C types, so I don't believe there should be any nasty dependency issues here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180881 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassRegistry.h
|
75f6df283f726c289b240fe8c5f2f42cdfff5d5f |
|
21-Oct-2010 |
Owen Anderson <resistor@mac.com> |
Attempt to fix valgrind complaining about (benign) leaks in pass registration by having PassRegistry delete PassInfo objects that were created using new-style initialization. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116959 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassRegistry.h
|
1e3e6362c8def5abcbc9a89c02619a0912177f7e |
|
17-Sep-2010 |
Owen Anderson <resistor@mac.com> |
Do not expose the locking for the PassRegistry in the header. Be careful to synchronize any method that might lazily initialize the pImpl. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114130 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassRegistry.h
|
b6d760c7d5e8496475a0063c32f87bd6161cb2db |
|
16-Sep-2010 |
Owen Anderson <resistor@mac.com> |
Since PassRegistry is currently a shared global object, it needs locking. 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114036 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassRegistry.h
|
049e42f0b4547eb1afad4e4ce708d110408957e4 |
|
13-Sep-2010 |
Owen Anderson <resistor@mac.com> |
Minimize #includes in a top-level header. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113772 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassRegistry.h
|
381f17ee7c07b5a80d7dcdeae3d62e497902ef85 |
|
07-Sep-2010 |
Owen Anderson <resistor@mac.com> |
Fix PR7972, in which the PassRegistry was being leaked. As part of this, switch to using a ManagedStatic for the global PassRegistry instead of a ManagedCleanup, and fix a destruction ordering bug this exposed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113283 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassRegistry.h
|
c88c11d607c5e3154dad679b11ad5326d1f0e8ac |
|
07-Sep-2010 |
Owen Anderson <resistor@mac.com> |
Properly initialize the pImpl member of PassRegistry to zero. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113264 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassRegistry.h
|
a4b06f7c55a9620ca104f0e056da1ac423e16f78 |
|
07-Sep-2010 |
Owen Anderson <resistor@mac.com> |
Add doxygen comments for PassRegistry. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113262 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassRegistry.h
|
6bcd3a02653c45b87094577517547b7eb9f76395 |
|
07-Sep-2010 |
Owen Anderson <resistor@mac.com> |
Clean up some of the PassRegistry implementation, and pImpl-ize it to reduce #include clutter and exposing internal details. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113252 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassRegistry.h
|
223c92c9cddf9034ddf5cf540fb2de4d14026632 |
|
06-Sep-2010 |
Chris Lattner <sabre@nondot.org> |
fix inconsistent formatting. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113121 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassRegistry.h
|
90c579de5a383cee278acc3f7e7b9d0a656e6a35 |
|
06-Aug-2010 |
Owen Anderson <resistor@mac.com> |
Reapply r110396, with fixes to appease the Linux buildbot gods. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110460 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassRegistry.h
|
1f74590e9d1b9cf0f1f81a156efea73f76546e05 |
|
06-Aug-2010 |
Owen Anderson <resistor@mac.com> |
Revert r110396 to fix buildbots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110410 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassRegistry.h
|
9ccaf53ada99c63737547c0235baeb8454b04e80 |
|
06-Aug-2010 |
Owen Anderson <resistor@mac.com> |
Don't use PassInfo* as a type identifier for passes. Instead, use the address of the static ID member as the sole unique type identifier. Clean up APIs related to this change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110396 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassRegistry.h
|
9650983b9a30804d3479aeffb2a7f8bdb6b33942 |
|
21-Jul-2010 |
Owen Anderson <resistor@mac.com> |
Move the smarts of AnalysisGroup registration into PassRegistry. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109019 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassRegistry.h
|
539673579ec79b75a95ef9daefc6a8b2fc8552f5 |
|
21-Jul-2010 |
Owen Anderson <resistor@mac.com> |
Move the handling of PassRegistrationListener's to PassRegistry. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108966 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassRegistry.h
|
aac07eaeef0b29690f18061abc148a2608cd77de |
|
20-Jul-2010 |
Owen Anderson <resistor@mac.com> |
Move more functionality from Pass.cpp to PassRegistry.cpp. This global will go away eventually, but for now we still need it around. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108932 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassRegistry.h
|
ee9886ed3dfac7b4459c9cb5bf8845b27e241792 |
|
20-Jul-2010 |
Owen Anderson <resistor@mac.com> |
I just fail with SVN today. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108888 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassRegistry.h
|
d15d2f508748008bfb2d9521b4724a0f80d1169c |
|
20-Jul-2010 |
Owen Anderson <resistor@mac.com> |
Oops. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108885 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassRegistry.h
|