aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-10-10 17:41:32 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-10-10 17:41:32 +0000
commit80f283b316c12e15ba3db8b92e9b32b56b25406e (patch)
tree76306a1a929978023039875e1a2a20e4d3ce43ff /llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp
parent061c3750a1af0a5f07e274d5361c3096b5a718c7 (diff)
downloadllvm-80f283b316c12e15ba3db8b92e9b32b56b25406e.zip
llvm-80f283b316c12e15ba3db8b92e9b32b56b25406e.tar.gz
llvm-80f283b316c12e15ba3db8b92e9b32b56b25406e.tar.bz2
* Doxygenified comments
* Wrap code at 80 columns * Ordered includes according to LLVM style guide llvm-svn: 9020
Diffstat (limited to 'llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp')
-rw-r--r--llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp b/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp
index bad3e97..5b6fb09 100644
--- a/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp
+++ b/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp
@@ -1,14 +1,13 @@
//===-- ModuloScheduling.cpp - Software Pipeling Approach - SMS --*- C++ -*--=//
//
// The is a software pipelining pass based on the Swing Modulo Scheduling
-// alogrithm (SMS).
+// algorithm (SMS).
//
//===----------------------------------------------------------------------===//
#include "ModuloSchedGraph.h"
-
-#include "llvm/Pass.h"
#include "llvm/Function.h"
+#include "llvm/Pass.h"
namespace {
@@ -18,18 +17,19 @@ namespace {
virtual bool runOnFunction(Function &F);
};
- RegisterOpt<ModuloScheduling> X("modulo-sched", "Modulo Scheduling/Software Pipelining");
+ RegisterOpt<ModuloScheduling> X("modulo-sched",
+ "Modulo Scheduling/Software Pipelining");
}
-//Create Modulo Scheduling Pass
+/// Create Modulo Scheduling Pass
+///
Pass *createModuloSchedPass() {
return new ModuloScheduling();
}
-//ModuloScheduling::runOnFunction - Main transformation entry point.
+/// ModuloScheduling::runOnFunction - main transformation entry point
+///
bool ModuloScheduling::runOnFunction(Function &F) {
bool Changed = false;
-
return Changed;
}
-