0861f5793a1834f02b522fb86fb037cd592c134f |
|
27-Nov-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Move code into anonymous namespaces. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145154 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Analysis/ProfileVerifierPass.cpp
|
a7b0cb759433c715065440ee2a963a04db7f2b0b |
|
15-Nov-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Remove all remaining uses of Value::getNameStr(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144648 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Analysis/ProfileVerifierPass.cpp
|
081c34b725980f995be9080eaec24cd3dfaaf065 |
|
19-Oct-2010 |
Owen Anderson <resistor@mac.com> |
Get rid of static constructors for pass registration. Instead, every pass exposes an initializeMyPassFunction(), which must be called in the pass's constructor. This function uses static dependency declarations to recursively initialize the pass's dependencies. Clients that only create passes through the createFooPass() APIs will require no changes. Clients that want to use the CommandLine options for passes will need to manually call the appropriate initialization functions in PassInitialization.h before parsing commandline arguments. I have tested this with all standard configurations of clang and llvm-gcc on Darwin. It is possible that there are problems with the static dependencies that will only be visible with non-standard options. If you encounter any crash in pass registration/creation, please send the testcase to me directly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116820 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Analysis/ProfileVerifierPass.cpp
|
af81235ef96a7a005b7fdfe5a64cce30df3d820d |
|
16-Oct-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
Eliminate some calls to Value::getNameStr. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116670 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Analysis/ProfileVerifierPass.cpp
|
2ab36d350293c77fc8941ce1023e4899df7e3a82 |
|
12-Oct-2010 |
Owen Anderson <resistor@mac.com> |
Begin adding static dependence information to passes, which will allow us to perform initialization without static constructors AND without explicit initialization by the client. For the moment, passes are required to initialize both their (potential) dependencies and any passes they preserve. I hope to be able to relax the latter requirement in the future. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116334 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Analysis/ProfileVerifierPass.cpp
|
ce665bd2e2b581ab0858d1afe359192bac96b868 |
|
08-Oct-2010 |
Owen Anderson <resistor@mac.com> |
Now with fewer extraneous semicolons! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115996 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Analysis/ProfileVerifierPass.cpp
|
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/lib/Analysis/ProfileVerifierPass.cpp
|
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/lib/Analysis/ProfileVerifierPass.cpp
|
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/lib/Analysis/ProfileVerifierPass.cpp
|
d13db2c59cc94162d6cf0a04187d408bfef6d4a7 |
|
22-Jul-2010 |
Owen Anderson <resistor@mac.com> |
Fix batch of converting RegisterPass<> to INTIALIZE_PASS(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109045 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Analysis/ProfileVerifierPass.cpp
|
44424646ac9db5c4d3919462bd0831ec22783085 |
|
26-Mar-2010 |
Gabor Greif <ggreif@gmail.com> |
rename pred_const_iterator to const_pred_iterator for consistency's sake git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99567 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Analysis/ProfileVerifierPass.cpp
|
3b519f62fcf1d38ef9c6478c1d5fce19bcb36282 |
|
23-Dec-2009 |
David Greene <greened@obbligato.org> |
Convert debug messages to use dbgs(). Generally this means s/errs/dbgs/g except for certain special cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92066 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Analysis/ProfileVerifierPass.cpp
|
8c30abec6d53e02c87c50ed7585ccd2ecac752aa |
|
03-Dec-2009 |
Andreas Neustifter <astifter-llvm@gmx.at> |
Convert ProfileVerifier to template so it can be used for different types of ProfileInfo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90451 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Analysis/ProfileVerifierPass.cpp
|
2afd0723a245ffaa4053c37fe989cee2b6b45edb |
|
02-Nov-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Apply fix for PR5135, Credit to Andreas Neustifter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85779 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Analysis/ProfileVerifierPass.cpp
|
6726b6d75a8b679068a58cb954ba97cf9d1690ba |
|
25-Oct-2009 |
Nick Lewycky <nicholas@mxc.ca> |
Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces. Chris claims we should never have visibility_hidden inside any .cpp file but that's still not true even after this commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85042 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Analysis/ProfileVerifierPass.cpp
|
b1b4c0187bc0e0da4f5b51602ae368d3a5f4f441 |
|
11-Sep-2009 |
Andreas Neustifter <astifter-llvm@gmx.at> |
Bugfix. Sorry. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81517 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Analysis/ProfileVerifierPass.cpp
|
8a58c180c288accc74d37ca94045a90efda3ae5c |
|
11-Sep-2009 |
Andreas Neustifter <astifter-llvm@gmx.at> |
Make ProfileEstimator even more robust on general CFGs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81516 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Analysis/ProfileVerifierPass.cpp
|
0c0de66ea40df4c7ef64d7d5259507b72e8c4d1f |
|
10-Sep-2009 |
Andreas Neustifter <astifter-llvm@gmx.at> |
Make ProfileEstimator more robust on general CFGs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81450 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Analysis/ProfileVerifierPass.cpp
|
43b1b0e4ff5e74acafe104a6954222a0003b3ea1 |
|
09-Sep-2009 |
Andreas Neustifter <astifter-llvm@gmx.at> |
Fixed wrong storage option for ProfileVerifierDisableAssertions. Fixed non working -profile-verifier-noassert option. Fixed missing newline in debugEntry(). Cleaned up assert messages. (assert(0 && Message) is still shown, but the message is printed before.) When verifiying loaded profiles the ProfileVerifier got confused when block was a setjmp target, this is checked now. When verifiying loaded profiles the ProfileVerifier got confused when block eventually reaching an exit(), this is checked now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81338 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Analysis/ProfileVerifierPass.cpp
|
31dcbc3b4a1dea7351af5e8c08285c91049ab2c3 |
|
04-Sep-2009 |
Andreas Neustifter <astifter-llvm@gmx.at> |
Prevent warnings on compilers for which its not clear that assert won't return. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81044 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Analysis/ProfileVerifierPass.cpp
|
e8d372e48d6aff0b79d1d5d707964d1a0b9e12aa |
|
04-Sep-2009 |
Andreas Neustifter <astifter-llvm@gmx.at> |
Cleaned up ProfileVerifierPass. (See http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090831/086219.html) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81007 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Analysis/ProfileVerifierPass.cpp
|
e7ddcfdebe357b4067f9c7d68d44616e11351a23 |
|
01-Sep-2009 |
Andreas Neustifter <astifter-llvm@gmx.at> |
Preparation for Optimal Edge Profiling: This adds a pass to verify the current profile against the flow conditions. This is very helpful when later on trying to perserve the profiling information during all passes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80666 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Analysis/ProfileVerifierPass.cpp
|