Files
llvm-project/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp
T

47 lines
1.2 KiB
C++
Raw Normal View History

2003-10-13 03:32:08 +00:00
//===-- ModuloScheduling.cpp - Software Pipeling Approach - SMS -----------===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
2003-03-27 17:57:44 +00:00
//
// The is a software pipelining pass based on the Swing Modulo Scheduling
2003-10-10 17:41:32 +00:00
// algorithm (SMS).
2003-03-27 17:57:44 +00:00
//
//===----------------------------------------------------------------------===//
2003-04-09 21:51:34 +00:00
#include "ModuloSchedGraph.h"
#include "llvm/Function.h"
2003-10-10 17:41:32 +00:00
#include "llvm/Pass.h"
2003-03-27 17:57:44 +00:00
namespace llvm {
2003-03-27 17:57:44 +00:00
namespace {
class ModuloScheduling : public FunctionPass {
2003-06-08 23:16:07 +00:00
public:
virtual bool runOnFunction(Function &F);
2003-03-27 17:57:44 +00:00
};
2003-10-10 17:41:32 +00:00
RegisterOpt<ModuloScheduling> X("modulo-sched",
"Modulo Scheduling/Software Pipelining");
2003-03-27 17:57:44 +00:00
}
2003-10-10 17:41:32 +00:00
/// Create Modulo Scheduling Pass
///
Pass *createModuloSchedPass() {
return new ModuloScheduling();
2003-03-27 17:57:44 +00:00
}
2003-10-10 17:41:32 +00:00
/// ModuloScheduling::runOnFunction - main transformation entry point
///
bool ModuloScheduling::runOnFunction(Function &F) {
bool Changed = false;
return Changed;
}
} // End llvm namespace