diff options
author | Chris Lattner <sabre@nondot.org> | 2009-10-10 22:41:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-10-10 22:41:58 +0000 |
commit | 5fb107287fd8d35b8fc39aa3e6b084fb2871a8ff (patch) | |
tree | 7c768c3d0b12d158f55af724a4db185efdce796b /include/llvm/Transforms/Utils/SSAUpdater.h | |
parent | 8f8e9f08300f62db802767c9fb23b40aab66e51e (diff) |
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.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Transforms/Utils/SSAUpdater.h b/include/llvm/Transforms/Utils/SSAUpdater.h index 5e11984bf3..2897af93c4 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 }; |