LLVM API Documentation

MSchedGraph.cpp File Reference

#include "MSchedGraph.h"
#include "../SparcV9RegisterInfo.h"
#include "../MachineCodeForInstruction.h"
#include "llvm/BasicBlock.h"
#include "llvm/Constants.h"
#include "llvm/Instructions.h"
#include "llvm/Type.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Support/Debug.h"
#include <cstdlib>
#include <algorithm>
#include <set>
#include <iostream>

Include dependency graph for MSchedGraph.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "ModuloSched"

Functions

void hasPath (MSchedGraphNode *node, std::set< MSchedGraphNode * > &visited, std::set< MSchedGraphNode * > &branches, MSchedGraphNode *startNode, std::set< std::pair< MSchedGraphNode *, MSchedGraphNode * > > &newEdges)


Define Documentation

#define DEBUG_TYPE   "ModuloSched"

Definition at line 17 of file MSchedGraph.cpp.


Function Documentation

void hasPath ( MSchedGraphNode node,
std::set< MSchedGraphNode * > &  visited,
std::set< MSchedGraphNode * > &  branches,
MSchedGraphNode startNode,
std::set< std::pair< MSchedGraphNode *, MSchedGraphNode * > > &  newEdges 
)

Definition at line 274 of file MSchedGraph.cpp.

References DEBUG, llvm::MSchedGraphEdge::getDest(), llvm::MSchedGraphNode::getSuccessor(), and llvm::MSchedGraphNode::succ_size().