diff options
author | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2015-09-27 15:43:29 +0000 |
---|---|---|
committer | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2015-09-27 15:43:29 +0000 |
commit | 45be64464bb27ffa24dfead655895377ffb2c8c5 (patch) | |
tree | ab14ccca4902ace215f0d998b49cc7fab2be1987 /polly/lib/CodeGen/CodeGeneration.cpp | |
parent | 0f376308495161944c407b91ee93b2e6d1feac13 (diff) | |
download | bcm5719-llvm-45be64464bb27ffa24dfead655895377ffb2c8c5.tar.gz bcm5719-llvm-45be64464bb27ffa24dfead655895377ffb2c8c5.zip |
[NFC] Consistenly use commented and annotated ScopPass functions
The changes affect methods that are part of the Pass interface and
include:
- Comments that describe the methods purpose.
- A consistent use of the keywords override and virtual.
Additionally, the printScop method is now optional and removed from
SCoP passes that do not implement it.
llvm-svn: 248685
Diffstat (limited to 'polly/lib/CodeGen/CodeGeneration.cpp')
-rw-r--r-- | polly/lib/CodeGen/CodeGeneration.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/polly/lib/CodeGen/CodeGeneration.cpp b/polly/lib/CodeGen/CodeGeneration.cpp index 9692063774e..96d09387565 100644 --- a/polly/lib/CodeGen/CodeGeneration.cpp +++ b/polly/lib/CodeGen/CodeGeneration.cpp @@ -108,6 +108,7 @@ public: } } + /// @brief Generate LLVM-IR for the SCoP @p S. bool runOnScop(Scop &S) override { AI = &getAnalysis<IslAstInfo>(); @@ -159,8 +160,7 @@ public: return true; } - void printScop(raw_ostream &, Scop &) const override {} - + /// @brief Register all analyses and transformation required. void getAnalysisUsage(AnalysisUsage &AU) const override { AU.addRequired<DominatorTreeWrapperPass>(); AU.addRequired<IslAstInfo>(); |