LLVM API Documentation

ScheduleDAGList.cpp File Reference

#include "llvm/CodeGen/LatencyPriorityQueue.h"
#include "llvm/CodeGen/ScheduleDAGSDNodes.h"
#include "llvm/CodeGen/SchedulerRegistry.h"
#include "llvm/CodeGen/SelectionDAGISel.h"
#include "llvm/Target/TargetRegisterInfo.h"
#include "llvm/Target/TargetData.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Compiler.h"
#include "llvm/ADT/PriorityQueue.h"
#include "llvm/ADT/Statistic.h"
#include <climits>

Include dependency graph for ScheduleDAGList.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "pre-RA-sched"

Functions

 STATISTIC (NumNoops,"Number of noops inserted")
 STATISTIC (NumStalls,"Number of pipeline stalls")
ScheduleDAGllvm::createTDListDAGScheduler (SelectionDAGISel *IS, SelectionDAG *DAG, const TargetMachine *TM, MachineBasicBlock *BB, bool Fast)

Variables

static RegisterScheduler tdListDAGScheduler ("list-td","Top-down list scheduler", createTDListDAGScheduler)


Define Documentation

#define DEBUG_TYPE   "pre-RA-sched"

Definition at line 21 of file ScheduleDAGList.cpp.


Function Documentation

STATISTIC ( NumStalls  ,
"Number of pipeline stalls"   
)

STATISTIC ( NumNoops  ,
"Number of noops inserted"   
)


Variable Documentation

AvailableQueue - The priority queue to use for the available SUnits.

Definition at line 53 of file ScheduleDAGList.cpp.

HazardRec - The hazard recognizer to use.

Definition at line 62 of file ScheduleDAGList.cpp.

std::vector<SUnit*> PendingQueue

PendingQueue - This contains all of the instructions whose operands have been issued, but their results are not ready yet (due to the latency of the operation). Once the operands become available, the instruction is added to the AvailableQueue.

Definition at line 59 of file ScheduleDAGList.cpp.

RegisterScheduler tdListDAGScheduler("list-td","Top-down list scheduler", createTDListDAGScheduler) [static]




This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.