llvm.org GIT mirror llvm / aa41c3c
* Doxygenified comments * Wrap code at 80 columns * Ordered includes according to LLVM style guide git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9020 91177308-0d34-0410-b5e6-96231b3b80d8 Misha Brukman 17 years ago
2 changed file(s) with 16 addition(s) and 16 deletion(s). Raw diff Collapse all Expand all
0 //===-- ModuloScheduling.cpp - Software Pipeling Approach - SMS --*- C++ -*--=//
11 //
22 // The is a software pipelining pass based on the Swing Modulo Scheduling
3 // alogrithm (SMS).
3 // algorithm (SMS).
44 //
55 //===----------------------------------------------------------------------===//
66
77 #include "ModuloSchedGraph.h"
8
8 #include "llvm/Function.h"
99 #include "llvm/Pass.h"
10 #include "llvm/Function.h"
1110
1211 namespace {
1312
1716 virtual bool runOnFunction(Function &F);
1817 };
1918
20 RegisterOpt X("modulo-sched", "Modulo Scheduling/Software Pipelining");
19 RegisterOpt X("modulo-sched",
20 "Modulo Scheduling/Software Pipelining");
2121 }
2222
23 //Create Modulo Scheduling Pass
23 /// Create Modulo Scheduling Pass
24 ///
2425 Pass *createModuloSchedPass() {
2526 return new ModuloScheduling();
2627 }
2728
28 //ModuloScheduling::runOnFunction - Main transformation entry point.
29 /// ModuloScheduling::runOnFunction - main transformation entry point
30 ///
2931 bool ModuloScheduling::runOnFunction(Function &F) {
3032 bool Changed = false;
31
3233 return Changed;
3334 }
34
0 //===-- ModuloScheduling.cpp - Software Pipeling Approach - SMS --*- C++ -*--=//
11 //
22 // The is a software pipelining pass based on the Swing Modulo Scheduling
3 // alogrithm (SMS).
3 // algorithm (SMS).
44 //
55 //===----------------------------------------------------------------------===//
66
77 #include "ModuloSchedGraph.h"
8
8 #include "llvm/Function.h"
99 #include "llvm/Pass.h"
10 #include "llvm/Function.h"
1110
1211 namespace {
1312
1716 virtual bool runOnFunction(Function &F);
1817 };
1918
20 RegisterOpt X("modulo-sched", "Modulo Scheduling/Software Pipelining");
19 RegisterOpt X("modulo-sched",
20 "Modulo Scheduling/Software Pipelining");
2121 }
2222
23 //Create Modulo Scheduling Pass
23 /// Create Modulo Scheduling Pass
24 ///
2425 Pass *createModuloSchedPass() {
2526 return new ModuloScheduling();
2627 }
2728
28 //ModuloScheduling::runOnFunction - Main transformation entry point.
29 /// ModuloScheduling::runOnFunction - main transformation entry point
30 ///
2931 bool ModuloScheduling::runOnFunction(Function &F) {
3032 bool Changed = false;
31
3233 return Changed;
3334 }
34