LLVM API Documentation

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

ModuloScheduling.cpp File Reference

#include "ModuloScheduling.h"
#include "llvm/Instructions.h"
#include "llvm/Function.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/Support/CFG.h"
#include "llvm/Target/TargetSchedInfo.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/GraphWriter.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/Statistic.h"
#include <cmath>
#include <algorithm>
#include <fstream>
#include <sstream>
#include <utility>
#include <vector>
#include "../MachineCodeForInstruction.h"
#include "../SparcV9TmpInstr.h"
#include "../SparcV9Internals.h"
#include "../SparcV9RegisterInfo.h"

Include dependency graph for ModuloScheduling.cpp:

Go to the source code of this file.

Namespaces

namespace  llvm

Classes

struct  llvm::DOTGraphTraits< MSchedGraph * >

Defines

#define DEBUG_TYPE   "ModuloSched"

Functions

FunctionPassllvm::createModuloSchedulingPass (TargetMachine &targ)
template<typename GraphType>
static void WriteGraphToFile (std::ostream &O, const std::string &GraphName, const GraphType &GT)
void dumpIntersection (std::set< MSchedGraphNode * > &IntersectCurrent)

Variables

Statistic llvm::ValidLoops ("modulosched-validLoops","Number of candidate loops modulo-scheduled")
Statistic llvm::MSLoops ("modulosched-schedLoops","Number of loops successfully modulo-scheduled")
Statistic llvm::IncreasedII ("modulosched-increasedII","Number of times we had to increase II")


Define Documentation

#define DEBUG_TYPE   "ModuloSched"
 

Definition at line 15 of file ModuloScheduling.cpp.


Function Documentation

void dumpIntersection std::set< MSchedGraphNode * > &  IntersectCurrent  ) 
 

Definition at line 923 of file ModuloScheduling.cpp.

template<typename GraphType>
static void WriteGraphToFile std::ostream &  O,
const std::string &  GraphName,
const GraphType &  GT
[static]
 

Definition at line 50 of file ModuloScheduling.cpp.

References F, and llvm::WriteGraph().

Referenced by llvm::ModuloSchedulingPass::runOnFunction().