diff options
| author | Tobias Grosser <grosser@fim.uni-passau.de> | 2012-03-07 17:42:39 +0000 |
|---|---|---|
| committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2012-03-07 17:42:39 +0000 |
| commit | 9691d23d377c2059416fd2425d52f5da434a5a30 (patch) | |
| tree | a2c74c8a800f8a45dc1e225ed796f51df8421a35 | |
| parent | 1d8c0d799c51d431138882769796ed5ef8aa513a (diff) | |
| download | bcm5719-llvm-9691d23d377c2059416fd2425d52f5da434a5a30.tar.gz bcm5719-llvm-9691d23d377c2059416fd2425d52f5da434a5a30.zip | |
Dependences: Prettify the header slightly
llvm-svn: 152236
| -rwxr-xr-x | polly/include/polly/Dependences.h | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/polly/include/polly/Dependences.h b/polly/include/polly/Dependences.h index e6ee5743c3b..774909e8a26 100755 --- a/polly/include/polly/Dependences.h +++ b/polly/include/polly/Dependences.h @@ -41,16 +41,6 @@ namespace polly { class ScopStmt; class Dependences : public ScopPass { - - isl_union_map *must_dep, *may_dep; - - isl_union_map *war_dep; - isl_union_map *waw_dep; - - isl_union_map *sink; - isl_union_map *must_source; - isl_union_map *may_source; - public: static char ID; @@ -83,14 +73,14 @@ namespace polly { /// @brief Check if a dimension of the Scop can be executed in parallel. /// - /// @param loopDomain The subset of the scattering space that is executed in + /// @param LoopDomain The subset of the scattering space that is executed in /// parallel. - /// @param parallelDimension The scattering dimension that is being executed + /// @param ParallelDimension The scattering dimension that is being executed /// in parallel. /// /// @return bool Returns true, if executing parallelDimension in parallel is /// valid for the scattering domain subset given. - bool isParallelDimension(isl_set *loopDomain, unsigned parallelDimension); + bool isParallelDimension(isl_set *LoopDomain, unsigned ParallelDimension); /// @brief Check if a loop is parallel /// @@ -100,21 +90,33 @@ namespace polly { /// /// @return bool Returns true if the incoming clast_for statement can /// execute in parallel. - bool isParallelFor(const clast_for *f); + bool isParallelFor(const clast_for *For); /// @brief Get the dependences in this Scop. /// - /// @param dependenceKinds This integer defines the different kinds of - /// dependences that will be returned. To return - /// more than one kind, the different kinds are - /// 'ored' together. - isl_union_map *getDependences(int dependenceKinds); + /// @param Kinds This integer defines the different kinds of dependences + /// that will be returned. To return more than one kind, the + /// different kinds are 'ored' together. + isl_union_map *getDependences(int Kinds); bool runOnScop(Scop &S); void printScop(raw_ostream &OS) const; virtual void releaseMemory(); virtual void getAnalysisUsage(AnalysisUsage &AU) const; + +private: + isl_union_map *must_dep, *may_dep; + + isl_union_map *war_dep; + isl_union_map *waw_dep; + + + isl_union_map *sink; + isl_union_map *must_source; + isl_union_map *may_source; }; + + } // End polly namespace. namespace llvm { |

