diff options
author | Owen Anderson <resistor@mac.com> | 2010-07-26 18:48:03 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-07-26 18:48:03 +0000 |
commit | bd6606fc9e57bb82f013ffcc8357caabd61c5c5f (patch) | |
tree | 544bf6f398def6abccc0871d2eebe42ab45567a2 /include | |
parent | db5b01e33c23489e894691ddeb23880c9e112fa3 (diff) | |
download | external_llvm-bd6606fc9e57bb82f013ffcc8357caabd61c5c5f.zip external_llvm-bd6606fc9e57bb82f013ffcc8357caabd61c5c5f.tar.gz external_llvm-bd6606fc9e57bb82f013ffcc8357caabd61c5c5f.tar.bz2 |
Add an initial implementation of LazyValueInfo updating for JumpThreading. Disabled for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109424 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Analysis/LazyValueInfo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Analysis/LazyValueInfo.h b/include/llvm/Analysis/LazyValueInfo.h index 566788d..f59b2e3 100644 --- a/include/llvm/Analysis/LazyValueInfo.h +++ b/include/llvm/Analysis/LazyValueInfo.h @@ -57,6 +57,10 @@ public: /// constant on the specified edge. Return null if not. Constant *getConstantOnEdge(Value *V, BasicBlock *FromBB, BasicBlock *ToBB); + /// threadEdge - Inform the analysis cache that we have threaded an edge from + /// PredBB to OldSucc to be from PredBB to NewSucc instead. + void threadEdge(BasicBlock *PredBB, BasicBlock *OldSucc, BasicBlock *NewSucc); + // Implementation boilerplate. |