aboutsummaryrefslogtreecommitdiff
path: root/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2007-09-25 04:31:27 +0000
committerTed Kremenek <kremenek@apple.com>2007-09-25 04:31:27 +0000
commitfdd225ed6f362a8550e597eb875d9c402b8a309c (patch)
treefe0be832cce46e0b38e3e6cc0be70f5652767559 /CodeGen/ModuleBuilder.cpp
parentd9bfa8c49c22de789ca719a6324f80ec90bb18f0 (diff)
Further refactored DataflowSolver. Now most code for the solver is shared
between forward and backward analyses, with trait classes being used to implement the key differences in operations/functionality. Converted the LiveVariables analysis to use the generic DataflowSolver. This, along with removing some extra functionality that was not needed, reduced the code for LiveVariables by over half. Modified Driver code to handle the updated interface to LiveVariables. Modified the DeadStores checker to handle the update interface to LiveVariables. Updated DataflowValues (generic ADT to store dataflow values) to also store values for blocks. This is used by DeadStores. Updated some comments. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42293 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions