diff options
| author | Dmitri Gribenko <gribozavr@gmail.com> | 2014-03-29 19:40:32 +0000 |
|---|---|---|
| committer | Dmitri Gribenko <gribozavr@gmail.com> | 2014-03-29 19:40:32 +0000 |
| commit | 1fd72104ade28867a8303ca6b123b0c7fc16e500 (patch) | |
| tree | a421f7342ea5f347f7ce60f3a7a2ee89cb4f3690 /llvm/lib/Target/ARM64/ARM64PromoteConstant.cpp | |
| parent | f8310d40c8cb2f8662fc2ded29f7883c845a5b37 (diff) | |
| download | bcm5719-llvm-1fd72104ade28867a8303ca6b123b0c7fc16e500.tar.gz bcm5719-llvm-1fd72104ade28867a8303ca6b123b0c7fc16e500.zip | |
Fix a few -Wdocumentation warnings
llvm-svn: 205116
Diffstat (limited to 'llvm/lib/Target/ARM64/ARM64PromoteConstant.cpp')
| -rw-r--r-- | llvm/lib/Target/ARM64/ARM64PromoteConstant.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/Target/ARM64/ARM64PromoteConstant.cpp b/llvm/lib/Target/ARM64/ARM64PromoteConstant.cpp index 73ba8386f44..bbc893fdab7 100644 --- a/llvm/lib/Target/ARM64/ARM64PromoteConstant.cpp +++ b/llvm/lib/Target/ARM64/ARM64PromoteConstant.cpp @@ -132,8 +132,8 @@ private: /// \param UseIt the use to be added into the list of dominated uses /// \param InsertPts existing insertion points /// \pre NewPt and all instruction in InsertPts belong to the same function - /// \retun true if one of the insertion point in InsertPts dominates NewPt, - /// false otherwise + /// \return true if one of the insertion point in InsertPts dominates NewPt, + /// false otherwise bool isDominated(Instruction *NewPt, Value::user_iterator &UseIt, InsertionPoints &InsertPts); @@ -146,9 +146,9 @@ private: /// \param InsertPts existing insertion points /// \pre NewPt and all instruction in InsertPts belong to the same function /// \pre isDominated returns false for the exact same parameters. - /// \retun true if it exists an insertion point in InsertPts that could - /// have been merged with NewPt in a common dominator, - /// false otherwise + /// \return true if it exists an insertion point in InsertPts that could + /// have been merged with NewPt in a common dominator, + /// false otherwise bool tryAndMerge(Instruction *NewPt, Value::user_iterator &UseIt, InsertionPoints &InsertPts); @@ -157,7 +157,7 @@ private: /// Insertion points are group per function and each insertion point /// contains a list of all the uses it dominates within the related function /// \param Val constant to be examined - /// \param InsPtsPerFunc[out] output storage of the analysis + /// \param[out] InsPtsPerFunc output storage of the analysis void computeInsertionPoints(Constant *Val, InsertionPointsPerFunc &InsPtsPerFunc); |

