aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms/Utils/SSAUpdater.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-10-10 22:41:58 +0000
committerChris Lattner <sabre@nondot.org>2009-10-10 22:41:58 +0000
commit5fb107287fd8d35b8fc39aa3e6b084fb2871a8ff (patch)
tree7c768c3d0b12d158f55af724a4db185efdce796b /include/llvm/Transforms/Utils/SSAUpdater.h
parent8f8e9f08300f62db802767c9fb23b40aab66e51e (diff)
downloadexternal_llvm-5fb107287fd8d35b8fc39aa3e6b084fb2871a8ff.zip
external_llvm-5fb107287fd8d35b8fc39aa3e6b084fb2871a8ff.tar.gz
external_llvm-5fb107287fd8d35b8fc39aa3e6b084fb2871a8ff.tar.bz2
rename GetValueInBlock -> GetValueAtEndOfBlock to better reflect
what it does. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83740 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils/SSAUpdater.h')
-rw-r--r--include/llvm/Transforms/Utils/SSAUpdater.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Transforms/Utils/SSAUpdater.h b/include/llvm/Transforms/Utils/SSAUpdater.h
index 5e11984..2897af9 100644
--- a/include/llvm/Transforms/Utils/SSAUpdater.h
+++ b/include/llvm/Transforms/Utils/SSAUpdater.h
@@ -52,16 +52,16 @@ public:
/// specified block with the specified value.
void AddAvailableValue(BasicBlock *BB, Value *V);
- /// GetValueInBlock - Construct SSA form, materializing a value in the
- /// specified block.
- Value *GetValueInBlock(BasicBlock *BB);
+ /// GetValueAtEndOfBlock - Construct SSA form, materializing a value that is
+ /// live at the end of the specified block.
+ Value *GetValueAtEndOfBlock(BasicBlock *BB);
/// RewriteUse - Rewrite a use of the symbolic value. This handles PHI nodes,
/// which use their value in the corresponding predecessor.
void RewriteUse(Use &U);
private:
- Value *GetValueInBlockInternal(BasicBlock *BB);
+ Value *GetValueAtEndOfBlockInternal(BasicBlock *BB);
void operator=(const SSAUpdater&); // DO NOT IMPLEMENT
SSAUpdater(const SSAUpdater&); // DO NOT IMPLEMENT
};