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.

llvm-svn: 116334
This commit is contained in:
Owen Anderson
2010-10-12 19:48:12 +00:00
parent 604e142844
commit 8ac477ffb5
61 changed files with 383 additions and 64 deletions

View File

@@ -121,7 +121,10 @@ namespace {
}
char JumpThreading::ID = 0;
INITIALIZE_PASS(JumpThreading, "jump-threading",
INITIALIZE_PASS_BEGIN(JumpThreading, "jump-threading",
"Jump Threading", false, false)
INITIALIZE_PASS_DEPENDENCY(LazyValueInfo)
INITIALIZE_PASS_END(JumpThreading, "jump-threading",
"Jump Threading", false, false)
// Public interface to the Jump Threading pass