LLVM API Documentation
#include "llvm/CodeGen/Passes.h"#include "AggressiveAntiDepBreaker.h"#include "AntiDepBreaker.h"#include "CriticalAntiDepBreaker.h"#include "llvm/ADT/BitVector.h"#include "llvm/ADT/Statistic.h"#include "llvm/Analysis/AliasAnalysis.h"#include "llvm/CodeGen/LatencyPriorityQueue.h"#include "llvm/CodeGen/MachineDominators.h"#include "llvm/CodeGen/MachineFrameInfo.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/MachineLoopInfo.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/CodeGen/RegisterClassInfo.h"#include "llvm/CodeGen/ScheduleDAGInstrs.h"#include "llvm/CodeGen/ScheduleHazardRecognizer.h"#include "llvm/CodeGen/SchedulerRegistry.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/TargetLowering.h"#include "llvm/Target/TargetMachine.h"#include "llvm/Target/TargetRegisterInfo.h"#include "llvm/Target/TargetSubtargetInfo.h"
Go to the source code of this file.
Defines | |
| #define | DEBUG_TYPE "post-RA-sched" |
Functions | |
| STATISTIC (NumNoops,"Number of noops inserted") | |
| STATISTIC (NumStalls,"Number of pipeline stalls") | |
| STATISTIC (NumFixedAnti,"Number of fixed anti-dependencies") | |
| INITIALIZE_PASS (PostRAScheduler,"post-RA-sched","Post RA top-down list latency scheduler", false, false) SchedulePostRATDList | |
Variables | |
| static cl::opt< bool > | EnablePostRAScheduler ("post-RA-scheduler", cl::desc("Enable scheduling after register allocation"), cl::init(false), cl::Hidden) |
| static cl::opt< std::string > | EnableAntiDepBreaking ("break-anti-dependencies", cl::desc("Break post-RA scheduling anti-dependencies: ""\"critical\", \"all\", or \"none\""), cl::init("none"), cl::Hidden) |
| static cl::opt< int > | DebugDiv ("postra-sched-debugdiv", cl::desc("Debug control MBBs that are scheduled"), cl::init(0), cl::Hidden) |
| static cl::opt< int > | DebugMod ("postra-sched-debugmod", cl::desc("Debug control MBBs that are scheduled"), cl::init(0), cl::Hidden) |
| #define DEBUG_TYPE "post-RA-sched" |
Definition at line 49 of file PostRASchedulerList.cpp.
| INITIALIZE_PASS | ( | PostRAScheduler | , |
| "post-RA-sched" | , | ||
| "Post RA top-down list latency scheduler" | , | ||
| false | , | ||
| false | |||
| ) |
Definition at line 192 of file PostRASchedulerList.cpp.
References llvm::TargetSubtargetInfo::ANTIDEP_ALL, llvm::TargetSubtargetInfo::ANTIDEP_CRITICAL, llvm::TargetSubtargetInfo::ANTIDEP_NONE, llvm::TargetInstrInfo::CreateTargetPostRAHazardRecognizer(), llvm::TargetSubtargetInfo::getInstrInfo(), llvm::TargetSubtargetInfo::getInstrItineraryData(), llvm::TargetMachine::getSubtargetImpl(), and llvm::SystemZISD::TM.
| STATISTIC | ( | NumNoops | , |
| "Number of noops inserted" | |||
| ) |
| STATISTIC | ( | NumStalls | , |
| "Number of pipeline stalls" | |||
| ) |
| STATISTIC | ( | NumFixedAnti | , |
| "Number of fixed anti-dependencies" | |||
| ) |
cl::opt<int> DebugDiv("postra-sched-debugdiv", cl::desc("Debug control MBBs that are scheduled"), cl::init(0), cl::Hidden) [static] |
cl::opt<int> DebugMod("postra-sched-debugmod", cl::desc("Debug control MBBs that are scheduled"), cl::init(0), cl::Hidden) [static] |
cl::opt<std::string> EnableAntiDepBreaking("break-anti-dependencies", cl::desc("Break post-RA scheduling anti-dependencies: ""\"critical\", \"all\", or \"none\""), cl::init("none"), cl::Hidden) [static] |
cl::opt<bool> EnablePostRAScheduler("post-RA-scheduler", cl::desc("Enable scheduling after register allocation"), cl::init(false), cl::Hidden) [static] |