[llvm-commits] [polly] r170733 - in /polly/branches/release_32: include/polly/CodeGen/BlockGenerators.h include/polly/ScopDetection.h include/polly/TempScopInfo.h lib/Analysis/TempScopInfo.cpp lib/CodeGen/CodeGeneration.cpp lib/JSON/include/json/reader.h lib/JSON/include/json/writer.h
Tobias Grosser
grosser at fim.uni-passau.de
Thu Dec 20 12:18:06 PST 2012
Author: grosser
Date: Thu Dec 20 14:18:05 2012
New Revision: 170733
URL: http://llvm.org/viewvc/llvm-project?rev=170733&view=rev
Log:
Make polly -Wdocumentation clean
Merged from: https://llvm.org/svn/llvm-project/polly/trunk@168311
Modified:
polly/branches/release_32/include/polly/CodeGen/BlockGenerators.h
polly/branches/release_32/include/polly/ScopDetection.h
polly/branches/release_32/include/polly/TempScopInfo.h
polly/branches/release_32/lib/Analysis/TempScopInfo.cpp
polly/branches/release_32/lib/CodeGen/CodeGeneration.cpp
polly/branches/release_32/lib/JSON/include/json/reader.h
polly/branches/release_32/lib/JSON/include/json/writer.h
Modified: polly/branches/release_32/include/polly/CodeGen/BlockGenerators.h
URL: http://llvm.org/viewvc/llvm-project/polly/branches/release_32/include/polly/CodeGen/BlockGenerators.h?rev=170733&r1=170732&r2=170733&view=diff
==============================================================================
--- polly/branches/release_32/include/polly/CodeGen/BlockGenerators.h (original)
+++ polly/branches/release_32/include/polly/CodeGen/BlockGenerators.h Thu Dec 20 14:18:05 2012
@@ -145,9 +145,6 @@
/// instructions, but e.g. for address calculation instructions we currently
/// generate scalar instructions for each vector lane.
///
- /// @param Builder The LLVM-IR Builder used to generate the statement. The
- /// code is generated at the location, the builder points
- /// to.
/// @param Stmt The statement to code generate.
/// @param GlobalMaps A vector of maps that define for certain Values
/// referenced from the original code new Values they should
Modified: polly/branches/release_32/include/polly/ScopDetection.h
URL: http://llvm.org/viewvc/llvm-project/polly/branches/release_32/include/polly/ScopDetection.h?rev=170733&r1=170732&r2=170733&view=diff
==============================================================================
--- polly/branches/release_32/include/polly/ScopDetection.h (original)
+++ polly/branches/release_32/include/polly/ScopDetection.h Thu Dec 20 14:18:05 2012
@@ -169,7 +169,7 @@
/// @param Context The context of scop detection.
///
/// @return True if the instruction is valid, false otherwise.
- bool isValidInstruction(Instruction &I, DetectionContext &Context) const;
+ bool isValidInstruction(Instruction &Inst, DetectionContext &Context) const;
/// @brief Check if the BB can be part of a Scop.
///
Modified: polly/branches/release_32/include/polly/TempScopInfo.h
URL: http://llvm.org/viewvc/llvm-project/polly/branches/release_32/include/polly/TempScopInfo.h?rev=170733&r1=170732&r2=170733&view=diff
==============================================================================
--- polly/branches/release_32/include/polly/TempScopInfo.h (original)
+++ polly/branches/release_32/include/polly/TempScopInfo.h Thu Dec 20 14:18:05 2012
@@ -250,12 +250,10 @@
/// @param BB The BasicBlock to build condition constrains
/// @param RegionEntry The entry block of the Smallest Region that containing
/// BB
- /// @param Cond The built condition
- void buildCondition(BasicBlock *BB, BasicBlock *Region, TempScop &Scop);
+ void buildCondition(BasicBlock *BB, BasicBlock *RegionEntry);
// Build the affine function of the given condition
- void buildAffineCondition(Value &V, bool inverted, Comparison **Comp,
- TempScop &Scop) const;
+ void buildAffineCondition(Value &V, bool inverted, Comparison **Comp) const;
// Return the temporary Scop information of Region R, where R must be a valid
// part of Scop
Modified: polly/branches/release_32/lib/Analysis/TempScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/branches/release_32/lib/Analysis/TempScopInfo.cpp?rev=170733&r1=170732&r2=170733&view=diff
==============================================================================
--- polly/branches/release_32/lib/Analysis/TempScopInfo.cpp (original)
+++ polly/branches/release_32/lib/Analysis/TempScopInfo.cpp Thu Dec 20 14:18:05 2012
@@ -146,8 +146,7 @@
}
void TempScopInfo::buildAffineCondition(Value &V, bool inverted,
- Comparison **Comp,
- TempScop &Scop) const {
+ Comparison **Comp) const {
if (ConstantInt *C = dyn_cast<ConstantInt>(&V)) {
// If this is always true condition, we will create 1 >= 0,
// otherwise we will create 1 == 0.
@@ -191,8 +190,7 @@
*Comp = new Comparison(LHS, RHS, Pred);
}
-void TempScopInfo::buildCondition(BasicBlock *BB, BasicBlock *RegionEntry,
- TempScop &Scop) {
+void TempScopInfo::buildCondition(BasicBlock *BB, BasicBlock *RegionEntry) {
BBCond Cond;
DomTreeNode *BBNode = DT->getNode(BB), *EntryNode = DT->getNode(RegionEntry);
@@ -219,7 +217,7 @@
bool inverted = DT->dominates(Br->getSuccessor(1), BB);
Comparison *Cmp;
- buildAffineCondition(*(Br->getCondition()), inverted, &Cmp, Scop);
+ buildAffineCondition(*(Br->getCondition()), inverted, &Cmp);
Cond.push_back(*Cmp);
}
@@ -233,7 +231,7 @@
for (Region::block_iterator I = R.block_begin(), E = R.block_end();
I != E; ++I) {
buildAccessFunctions(R, **I);
- buildCondition(*I, R.getEntry(), *TScop);
+ buildCondition(*I, R.getEntry());
}
buildLoopBounds(*TScop);
Modified: polly/branches/release_32/lib/CodeGen/CodeGeneration.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/branches/release_32/lib/CodeGen/CodeGeneration.cpp?rev=170733&r1=170732&r2=170733&view=diff
==============================================================================
--- polly/branches/release_32/lib/CodeGen/CodeGeneration.cpp (original)
+++ polly/branches/release_32/lib/CodeGen/CodeGeneration.cpp Thu Dec 20 14:18:05 2012
@@ -321,7 +321,7 @@
///
/// Detect if a clast_for loop can be executed in parallel.
///
- /// @param f The clast for loop to check.
+ /// @param For The clast for loop to check.
///
/// @return bool Returns true if the incoming clast_for statement can
/// execute in parallel.
Modified: polly/branches/release_32/lib/JSON/include/json/reader.h
URL: http://llvm.org/viewvc/llvm-project/polly/branches/release_32/lib/JSON/include/json/reader.h?rev=170733&r1=170732&r2=170733&view=diff
==============================================================================
--- polly/branches/release_32/lib/JSON/include/json/reader.h (original)
+++ polly/branches/release_32/lib/JSON/include/json/reader.h Thu Dec 20 14:18:05 2012
@@ -44,7 +44,6 @@
bool collectComments = true );
/** \brief Read a Value from a <a HREF="http://www.json.org">JSON</a> document.
- * \param document UTF-8 encoded string containing the document to read.
* \param root [out] Contains the root value of the document if it was
* successfully parsed.
* \param collectComments \c true to collect comment and allow writing them back during
Modified: polly/branches/release_32/lib/JSON/include/json/writer.h
URL: http://llvm.org/viewvc/llvm-project/polly/branches/release_32/lib/JSON/include/json/writer.h?rev=170733&r1=170732&r2=170733&view=diff
==============================================================================
--- polly/branches/release_32/lib/JSON/include/json/writer.h (original)
+++ polly/branches/release_32/lib/JSON/include/json/writer.h Thu Dec 20 14:18:05 2012
@@ -116,7 +116,6 @@
*
* If the Value have comments then they are outputed according to their #CommentPlacement.
*
- * \param indentation Each level will be indented by this amount extra.
* \sa Reader, Value, Value::setComment()
*/
class JSON_API StyledStreamWriter
More information about the llvm-commits
mailing list