Searched refs:SUnits (Results 1 - 21 of 21) sorted by relevance

/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/CodeGen/
H A DLatencyPriorityQueue.h33 // SUnits - The SUnits for the current graph.
34 std::vector<SUnit> *SUnits; member in class:llvm::LatencyPriorityQueue
53 SUnits = &sunits;
54 NumNodesSolelyBlocking.resize(SUnits->size(), 0);
58 NumNodesSolelyBlocking.resize(SUnits->size(), 0);
65 SUnits = 0;
69 assert(NodeNum < (*SUnits).size());
70 return (*SUnits)[NodeNum].getHeight();
H A DScheduleDAGInstrs.h63 std::vector<std::vector<PhysRegSUOper> > SUnits; member in class:llvm::Reg2SUnitsMap
68 // can provide an iterator over SUnits (values) as well.
85 /// If this register is mapped, return its existing SUnits vector.
86 /// Otherwise map the register and return an empty SUnits vector.
89 assert((!New || SUnits[Reg].empty()) && "stale SUnits vector");
91 return SUnits[Reg];
97 SUnits[Reg].clear();
219 /// buildSchedGraph - Build SUnits from the MachineBasicBlock that we are
262 const SUnit *Addr = SUnits
[all...]
H A DResourcePriorityQueue.h39 /// SUnits - The SUnits for the current graph.
40 std::vector<SUnit> *SUnits; member in class:llvm::ResourcePriorityQueue
89 NumNodesSolelyBlocking.resize(SUnits->size(), 0);
95 SUnits = 0;
99 assert(NodeNum < (*SUnits).size());
100 return (*SUnits)[NodeNum].getHeight();
H A DScheduleDAG.h93 /// classes which require default constructors. SUnits may not
201 /// as "must alias", meaning that the SUnits at either end of the edge
257 // Preds/Succs - The SUnits before/after us in the graph.
471 virtual void initNodes(std::vector<SUnit> &SUnits) = 0;
524 std::vector<SUnit> SUnits; // The scheduling units. member in class:llvm::ScheduleDAG
568 /// VerifyScheduledDAG - Verify that all SUnits were scheduled and that
569 /// their state is consistent. Return the number of scheduled SUnits.
643 return G->SUnits.begin();
646 return G->SUnits.end();
651 /// ordering for SUnits an
658 std::vector<SUnit> &SUnits; member in class:llvm::ScheduleDAGTopologicalSort
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/CodeGen/SelectionDAG/
H A DScheduleDAGVLIW.cpp52 /// AvailableQueue - The priority queue to use for the available SUnits.
102 AvailableQueue->initNodes(SUnits);
173 for (unsigned i = 0, e = SUnits.size(); i != e; ++i) {
175 if (SUnits[i].Preds.empty()) {
176 AvailableQueue->push(&SUnits[i]);
177 SUnits[i].isAvailable = true;
184 Sequence.reserve(SUnits.size());
H A DScheduleDAGSDNodes.cpp71 if (!SUnits.empty())
72 Addr = &SUnits[0];
74 SUnits.push_back(SUnit(N, (unsigned)SUnits.size()));
75 assert((Addr == 0 || Addr == &SUnits[0]) &&
76 "SUnits std::vector reallocated on the fly!");
77 SUnits.back().OrigNode = &SUnits.back();
78 SUnit *SU = &SUnits.back();
301 // Cluster loads from "near" addresses into combined SUnits
[all...]
H A DScheduleDAGFast.cpp64 /// AvailableQueue - The priority queue to use for the available SUnits.
121 DEBUG(for (unsigned su = 0, e = SUnits.size(); su != e; ++su)
122 SUnits[su].dumpAll(this));
268 LoadSU = &SUnits[LoadNode->getNodeId()];
523 if (!SUnits.empty()) {
524 SUnit *RootSU = &SUnits[DAG->getRoot().getNode()->getNodeId()];
534 Sequence.reserve(SUnits.size());
H A DScheduleDAGRRList.cpp116 /// AvailableQueue - The priority queue to use for the available SUnits.
145 /// Topo - A topological ordering for SUnits which permits fast IsReachable
159 Topo(SUnits) {
234 unsigned NumSUnits = SUnits.size();
245 unsigned NumSUnits = SUnits.size();
319 DEBUG(for (unsigned su = 0, e = SUnits.size(); su != e; ++su)
320 SUnits[su].dumpAll(this));
323 AvailableQueue->initNodes(SUnits);
538 SUnit *Def = &SUnits[N->getNodeId()];
968 LoadSU = &SUnits[LoadNod
[all...]
H A DResourcePriorityQueue.cpp170 SUnits = &sunits;
171 NumNodesSolelyBlocking.resize(SUnits->size(), 0);
173 for (unsigned i = 0, e = SUnits->size(); i != e; ++i) {
174 SUnit *SU = &(*SUnits)[i];
H A DSelectionDAGPrinter.cpp296 GW.emitEdge(0, -1, &SUnits[N->getNodeId()], -1,
/macosx-10.9.5/llvmCore-3425.0.33/lib/CodeGen/
H A DScheduleDAG.cpp51 SUnits.clear();
343 /// VerifyScheduledDAG - Verify that all SUnits were scheduled and that
349 for (unsigned i = 0, e = SUnits.size(); i != e; ++i) {
350 if (!SUnits[i].isScheduled) {
351 if (SUnits[i].NumPreds == 0 && SUnits[i].NumSuccs == 0) {
357 SUnits[i].dump(this);
361 if (SUnits[i].isScheduled &&
362 (isBottomUp ? SUnits[i].getHeight() : SUnits[
[all...]
H A DAntiDepBreaker.h45 virtual unsigned BreakAntiDependencies(const std::vector<SUnit>& SUnits,
H A DCriticalAntiDepBreaker.h81 unsigned BreakAntiDependencies(const std::vector<SUnit>& SUnits,
H A DPostRASchedulerList.cpp104 /// AvailableQueue - The priority queue to use for the available SUnits.
114 /// Topo - A topological ordering for SUnits.
201 : ScheduleDAGInstrs(MF, MLI, MDT, /*IsPostRA=*/true), Topo(SUnits), AA(AA),
373 AntiDepBreak->BreakAntiDependencies(SUnits, RegionBegin, RegionEnd,
391 DEBUG(for (unsigned su = 0, e = SUnits.size(); su != e; ++su)
392 SUnits[su].dumpAll(this));
394 AvailableQueue.initNodes(SUnits);
654 for (unsigned i = 0, e = SUnits.size(); i != e; ++i) {
656 bool available = SUnits[i].Preds.empty();
658 AvailableQueue.push(&SUnits[
[all...]
H A DDFAPacketizer.cpp168 for (unsigned i = 0, e = VLIWScheduler->SUnits.size(); i != e; ++i) {
169 SUnit *SU = &VLIWScheduler->SUnits[i];
H A DAggressiveAntiDepBreaker.h145 unsigned BreakAntiDependencies(const std::vector<SUnit>& SUnits,
H A DCriticalAntiDepBreaker.cpp412 BreakAntiDependencies(const std::vector<SUnit>& SUnits, argument
419 if (SUnits.empty()) return 0;
429 for (unsigned i = 0, e = SUnits.size(); i != e; ++i) {
430 const SUnit *SU = &SUnits[i];
543 // Also, if there are dependencies on other SUnits with the
H A DAggressiveAntiDepBreaker.cpp715 const std::vector<SUnit>& SUnits,
728 if (SUnits.empty()) return 0;
735 for (unsigned i = 0, e = SUnits.size(); i != e; ++i) {
736 const SUnit *SU = &SUnits[i];
747 for (unsigned i = 0, e = SUnits.size(); i != e; ++i) {
748 const SUnit *SU = &SUnits[i];
852 // Also, if there are dependencies on other SUnits with the
H A DMachineScheduler.cpp470 DEBUG(for (unsigned su = 0, e = SUnits.size(); su != e; ++su)
471 SUnits[su].dumpAll(this));
521 I = SUnits.begin(), E = SUnits.end(); I != E; ++I) {
1238 ILP.resize(DAG->SUnits.size());
H A DScheduleDAGInstrs.cpp151 SUnits.resize(Limit);
157 SUnits[*I].clear();
305 // Either insert a new Reg2SUnits entry with an empty SUnits list, or
306 // retrieve the existing SUnits list for this register's uses.
313 // Either insert a new Reg2SUnits entry with an empty SUnits list, or
314 // retrieve the existing SUnits list for this register's defs.
631 /// After initSUnits, the SUnits vector cannot be resized and the scheduler may
640 SUnits.reserve(BB->size());
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/Hexagon/
H A DHexagonMachineScheduler.cpp28 for (unsigned su = 0, e = SUnits.size(); su != e; ++su) {
30 if (SUnits[su].getInstr()->isCall())
31 LastSequentialCall = &(SUnits[su]);
33 else if (SUnits[su].getInstr()->isCompare() && LastSequentialCall)
34 SUnits[su].addPred(SDep(LastSequentialCall, SDep::Order, 0, /*Reg=*/0,
159 for (unsigned su = 0, e = SUnits.size(); su != e; ++su)
160 if (SUnits[su].getHeight() > maxH)
161 maxH = SUnits[su].getHeight();
164 for (unsigned su = 0, e = SUnits.size(); su != e; ++su)
165 if (SUnits[s
[all...]

Completed in 276 milliseconds