LLVM API Documentation
#include <ModuloSchedulingSuperBlock.h>
Inheritance diagram for llvm::ModuloSchedulingSBPass:
Public Member Functions | |
ModuloSchedulingSBPass (TargetMachine &targ) | |
virtual bool | runOnFunction (Function &F) |
virtual const char * | getPassName () const |
virtual void | getAnalysisUsage (AnalysisUsage &AU) const |
Definition at line 44 of file ModuloSchedulingSuperBlock.h.
llvm::ModuloSchedulingSBPass::ModuloSchedulingSBPass | ( | TargetMachine & | targ | ) | [inline] |
Definition at line 176 of file ModuloSchedulingSuperBlock.h.
virtual void llvm::ModuloSchedulingSBPass::getAnalysisUsage | ( | AnalysisUsage & | AU | ) | const [inline, virtual] |
getAnalysisUsage - This function should be overriden by passes that need analysis information to do their job. If a pass specifies that it uses a particular analysis result to this function, it can then use the getAnalysis<AnalysisType>() function, below.
Reimplemented from llvm::Pass.
Definition at line 182 of file ModuloSchedulingSuperBlock.h.
References llvm::AnalysisUsage::addRequired().
virtual const char* llvm::ModuloSchedulingSBPass::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 178 of file ModuloSchedulingSuperBlock.h.
bool llvm::ModuloSchedulingSBPass::runOnFunction | ( | Function & | F | ) | [virtual] |
runOnFunction - Virtual method overriden by subclasses to do the per-function processing of the pass.
Implements llvm::FunctionPass.
Definition at line 150 of file ModuloSchedulingSuperBlock.cpp.
References Changed, llvm::MSScheduleSB::clear(), llvm::X86II::DA, DEBUG, E, F, llvm::MachineFunction::get(), llvm::MSScheduleSB::getMaxStage(), I, II, LI, MF, llvm::MSScheduleSB::print(), llvm::SBFinalIISum, llvm::SBIISum, llvm::SBMSLoops, llvm::SBNoSched, llvm::SBRecurrenceConstraint, llvm::SBResourceConstraint, llvm::SBSameStage, target, and WriteGraphToFileSB().