LLVM 22.0.0git
AggressiveAntiDepBreaker.cpp File Reference

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)
 AntiDepEdges - Return in Edges the anti- and output- dependencies in SU that we want to consider for breaking.
static const SUnitCriticalPathStep (const SUnit *SU)
 CriticalPathStep - Return the next SUnit after SU on the bottom-up critical path.

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

◆ DEBUG_TYPE

#define DEBUG_TYPE   "post-RA-sched"

Definition at line 41 of file AggressiveAntiDepBreaker.cpp.

Function Documentation

◆ AntiDepEdges()

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 256 of file AggressiveAntiDepBreaker.cpp.

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

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

◆ CriticalPathStep()

const SUnit * CriticalPathStep ( const SUnit * SU)
static

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

Definition at line 268 of file AggressiveAntiDepBreaker.cpp.

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

Referenced by llvm::AggressiveAntiDepBreaker::BreakAntiDependencies(), and llvm::CriticalAntiDepBreaker::BreakAntiDependencies().

Variable Documentation

◆ DebugDiv

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

◆ DebugMod

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