LLVM API Documentation
#include "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/TargetInstrInfo.h"#include "llvm/Support/Debug.h"#include "llvm/Support/Compiler.h"#include "llvm/ADT/SmallSet.h"#include "llvm/ADT/Statistic.h"#include "llvm/ADT/STLExtras.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/ErrorHandling.h"
Go to the source code of this file.
Defines | |
| #define | DEBUG_TYPE "pre-RA-sched" |
Functions | |
| STATISTIC (NumUnfolds,"Number of nodes unfolded") | |
| STATISTIC (NumDups,"Number of duplicated nodes") | |
| STATISTIC (NumPRCopies,"Number of physical copies") | |
| static EVT | getPhysicalRegisterVT (SDNode *N, unsigned Reg, const TargetInstrInfo *TII) |
| ScheduleDAGSDNodes * | llvm::createFastDAGScheduler (SelectionDAGISel *IS, CodeGenOpt::Level OptLevel) |
Variables | |
| static RegisterScheduler | fastDAGScheduler ("fast","Fast suboptimal list scheduling", createFastDAGScheduler) |
| #define DEBUG_TYPE "pre-RA-sched" |
Definition at line 14 of file ScheduleDAGFast.cpp.
| static EVT getPhysicalRegisterVT | ( | SDNode * | N, | |
| unsigned | Reg, | |||
| const TargetInstrInfo * | TII | |||
| ) | [static] |
getPhysicalRegisterVT - Returns the ValueType of the physical register definition of the specified node. FIXME: Move to SelectionDAG?
Definition at line 423 of file ScheduleDAGFast.cpp.
References llvm::TargetInstrInfo::get(), llvm::TargetInstrDesc::getImplicitDefs(), llvm::SDNode::getMachineOpcode(), llvm::TargetInstrDesc::getNumDefs(), llvm::SDNode::getValueType(), and llvm::TargetInstrDesc::ImplicitDefs.
| STATISTIC | ( | NumPRCopies | , | |
| "Number of physical copies" | ||||
| ) |
| STATISTIC | ( | NumDups | , | |
| "Number of duplicated nodes" | ||||
| ) |
| STATISTIC | ( | NumUnfolds | , | |
| "Number of nodes unfolded" | ||||
| ) |
| FastPriorityQueue AvailableQueue |
AvailableQueue - The priority queue to use for the available SUnits.
Definition at line 65 of file ScheduleDAGFast.cpp.
RegisterScheduler fastDAGScheduler("fast","Fast suboptimal list scheduling", createFastDAGScheduler) [static] |
| std::vector<unsigned> LiveRegCycles |
Definition at line 72 of file ScheduleDAGFast.cpp.
| std::vector<SUnit*> LiveRegDefs |
Definition at line 71 of file ScheduleDAGFast.cpp.
LiveRegDefs - A set of physical registers and their definition that are "live". These nodes must be scheduled before any other nodes that modifies the registers can be scheduled.
Definition at line 70 of file ScheduleDAGFast.cpp.
| SmallVector<SUnit *, 16> Queue |
Definition at line 43 of file ScheduleDAGFast.cpp.