LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions | Variables
AggressiveAntiDepBreaker.cpp File Reference
#include "AggressiveAntiDepBreaker.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/RegisterClassInfo.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetRegisterInfo.h"
Include dependency graph for AggressiveAntiDepBreaker.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "post-RA-sched"
 

Functions

static void AntiDepEdges (const SUnit *SU, std::vector< const SDep * > &Edges)
 
static const SUnitCriticalPathStep (const SUnit *SU)
 

Variables

static cl::opt< int > DebugDiv ("agg-antidep-debugdiv", cl::desc("Debug control for aggressive anti-dep breaker"), cl::init(0), cl::Hidden)
 
static cl::opt< int > DebugMod ("agg-antidep-debugmod", cl::desc("Debug control for aggressive anti-dep breaker"), cl::init(0), cl::Hidden)
 

Macro Definition Documentation

#define DEBUG_TYPE   "post-RA-sched"

Definition at line 17 of file AggressiveAntiDepBreaker.cpp.

Function Documentation

static void AntiDepEdges ( const SUnit SU,
std::vector< const SDep * > &  Edges 
)
static

AntiDepEdges - Return in Edges the anti- and output- dependencies in SU that we want to consider for breaking.

Definition at line 259 of file AggressiveAntiDepBreaker.cpp.

References llvm::SDep::Anti, llvm::SmallSet< T, N, C >::count(), llvm::SmallSet< T, N, C >::insert(), llvm::SDep::Output, P, and llvm::SUnit::Preds.

Referenced by llvm::AggressiveAntiDepBreaker::BreakAntiDependencies().

static const SUnit* CriticalPathStep ( const SUnit SU)
static

CriticalPathStep - Return the next SUnit after SU on the bottom-up critical path.

Definition at line 275 of file AggressiveAntiDepBreaker.cpp.

References llvm::SDep::Anti, llvm::SUnit::getDepth(), llvm::SDep::getSUnit(), P, and llvm::SUnit::Preds.

Referenced by llvm::AggressiveAntiDepBreaker::BreakAntiDependencies().

Variable Documentation

cl::opt<int> DebugDiv("agg-antidep-debugdiv", cl::desc("Debug control for aggressive anti-dep breaker"), cl::init(0), cl::Hidden)
static
cl::opt<int> DebugMod("agg-antidep-debugmod", cl::desc("Debug control for aggressive anti-dep breaker"), cl::init(0), cl::Hidden)
static