LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

llvm::ModuloSchedulingPass Class Reference

#include <ModuloScheduling.h>

Inheritance diagram for llvm::ModuloSchedulingPass:

Inheritance graph
[legend]
Collaboration diagram for llvm::ModuloSchedulingPass:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ModuloSchedulingPass (TargetMachine &targ)
virtual bool runOnFunction (Function &F)
virtual const char * getPassName () const

Detailed Description

Definition at line 39 of file ModuloScheduling.h.


Constructor & Destructor Documentation

llvm::ModuloSchedulingPass::ModuloSchedulingPass TargetMachine targ  )  [inline]
 

Definition at line 116 of file ModuloScheduling.h.


Member Function Documentation

virtual const char* llvm::ModuloSchedulingPass::getPassName  )  const [inline, virtual]
 

getPassName - Return a nice clean name for a pass. This usually implemented in terms of the name that is registered by one of the Registration templates, but can be overloaded directly, and if nothing else is available, C++ RTTI will be consulted to get a SOMEWHAT intelligible name for the pass.

Reimplemented from llvm::Pass.

Definition at line 118 of file ModuloScheduling.h.

bool ModuloSchedulingPass::runOnFunction Function F  )  [virtual]
 

ModuloScheduling::runOnFunction - main transformation entry point The Swing Modulo Schedule algorithm has three basic steps: 1) Computation and Analysis of the dependence graph 2) Ordering of the nodes 3) Scheduling

Implements llvm::FunctionPass.

Definition at line 126 of file ModuloScheduling.cpp.

References llvm::MachineFunction::begin(), llvm::MSSchedule::clear(), DEBUG, E, llvm::MachineFunction::end(), llvm::MachineFunction::get(), llvm::MSSchedule::getMaxStage(), llvm::Value::getName(), I, llvm::MSLoops, llvm::MSSchedule::print(), target, llvm::ValidLoops, and WriteGraphToFile().


The documentation for this class was generated from the following files: