//===-- ModuloScheduling.cpp - Software Pipeling Approach - SMS --*- C++ -*--=// // // The is a software pipelining pass based on the Swing Modulo Scheduling // alogrithm (SMS). // //===----------------------------------------------------------------------===// #include "ModuloSchedGraph.h" #include "llvm/Pass.h" #include "llvm/Function.h" namespace { class ModuloScheduling : public FunctionPass { public: virtual bool runOnFunction(Function &F); }; RegisterOpt X("modulo-sched", "Modulo Scheduling/Software Pipelining"); } //Create Modulo Scheduling Pass Pass *createModuloSchedPass() { return new ModuloScheduling(); } //ModuloScheduling::runOnFunction - Main transformation entry point. bool ModuloScheduling::runOnFunction(Function &F) { bool Changed = false; return Changed; }