mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Shrinkify some fields, fit to 80 columns
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26611 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6b24af87e6
commit
6a67b3a4e6
@ -35,8 +35,8 @@ namespace {
|
||||
Statistic<> NumNoops ("scheduler", "Number of noops inserted");
|
||||
Statistic<> NumStalls("scheduler", "Number of pipeline stalls");
|
||||
|
||||
/// SUnit - Scheduling unit. It's an wrapper around either a single SDNode or a
|
||||
/// group of nodes flagged together.
|
||||
/// SUnit - Scheduling unit. It's an wrapper around either a single SDNode or
|
||||
/// a group of nodes flagged together.
|
||||
struct SUnit {
|
||||
SDNode *Node; // Representative node.
|
||||
std::vector<SDNode*> FlaggedNodes; // All nodes flagged to Node.
|
||||
@ -44,14 +44,14 @@ namespace {
|
||||
std::set<SUnit*> ChainPreds; // All chain predecessors.
|
||||
std::set<SUnit*> Succs; // All real successors.
|
||||
std::set<SUnit*> ChainSuccs; // All chain successors.
|
||||
int NumPredsLeft; // # of preds not scheduled.
|
||||
int NumSuccsLeft; // # of succs not scheduled.
|
||||
int NumChainPredsLeft; // # of chain preds not scheduled.
|
||||
int NumChainSuccsLeft; // # of chain succs not scheduled.
|
||||
short NumPredsLeft; // # of preds not scheduled.
|
||||
short NumSuccsLeft; // # of succs not scheduled.
|
||||
short NumChainPredsLeft; // # of chain preds not scheduled.
|
||||
short NumChainSuccsLeft; // # of chain succs not scheduled.
|
||||
int SethiUllman; // Sethi Ullman number.
|
||||
bool isTwoAddress; // Is a two-address instruction.
|
||||
bool isDefNUseOperand; // Is a def&use operand.
|
||||
unsigned Latency; // Node latency.
|
||||
bool isTwoAddress : 1; // Is a two-address instruction.
|
||||
bool isDefNUseOperand : 1; // Is a def&use operand.
|
||||
unsigned short Latency; // Node latency.
|
||||
unsigned CycleBound; // Upper/lower cycle to be scheduled at.
|
||||
SUnit *Next;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user