LLVM API Documentation
#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"
Go to the source code of this file.
Defines | |
#define | DEBUG_TYPE "post-RA-sched" |
Functions | |
static void | AntiDepEdges (const SUnit *SU, std::vector< const SDep * > &Edges) |
static const SUnit * | CriticalPathStep (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) |
#define DEBUG_TYPE "post-RA-sched" |
Definition at line 31 of file AggressiveAntiDepBreaker.cpp.
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 255 of file AggressiveAntiDepBreaker.cpp.
References llvm::SDep::Anti, llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::SmallSet< T, N, C >::count(), llvm::SmallVectorTemplateCommon< T, typename >::end(), 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 271 of file AggressiveAntiDepBreaker.cpp.
References llvm::SDep::Anti, llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::SmallVectorTemplateCommon< T, typename >::end(), llvm::SUnit::getDepth(), llvm::SDep::getSUnit(), P, and llvm::SUnit::Preds.
Referenced by llvm::AggressiveAntiDepBreaker::BreakAntiDependencies().
cl::opt<int> DebugDiv("agg-antidep-debugdiv", cl::desc("Debug control for aggressive anti-dep breaker"), cl::init(0), cl::Hidden) [static] |