Anshuman Dasgupta | 08ebdc1 | 2011-12-01 21:10:21 +0000 | [diff] [blame] | 1 | //=- llvm/CodeGen/DFAPacketizer.cpp - DFA Packetizer for VLIW -*- C++ -*-=====// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // This class implements a deterministic finite automaton (DFA) based |
| 10 | // packetizing mechanism for VLIW architectures. It provides APIs to |
| 11 | // determine whether there exists a legal mapping of instructions to |
| 12 | // functional unit assignments in a packet. The DFA is auto-generated from |
| 13 | // the target's Schedule.td file. |
| 14 | // |
| 15 | // A DFA consists of 3 major elements: states, inputs, and transitions. For |
| 16 | // the packetizing mechanism, the input is the set of instruction classes for |
| 17 | // a target. The state models all possible combinations of functional unit |
| 18 | // consumption for a given set of instructions in a packet. A transition |
| 19 | // models the addition of an instruction to a packet. In the DFA constructed |
| 20 | // by this class, if an instruction can be added to a packet, then a valid |
| 21 | // transition exists from the corresponding state. Invalid transitions |
| 22 | // indicate that the instruction cannot be added to the current packet. |
| 23 | // |
| 24 | //===----------------------------------------------------------------------===// |
| 25 | |
| 26 | #include "llvm/CodeGen/DFAPacketizer.h" |
| 27 | #include "llvm/CodeGen/MachineInstr.h" |
Andrew Trick | 7a35fae | 2012-02-15 18:55:14 +0000 | [diff] [blame] | 28 | #include "llvm/CodeGen/MachineInstrBundle.h" |
Chandler Carruth | ed0881b | 2012-12-03 16:50:05 +0000 | [diff] [blame] | 29 | #include "llvm/CodeGen/ScheduleDAGInstrs.h" |
Anshuman Dasgupta | 08ebdc1 | 2011-12-01 21:10:21 +0000 | [diff] [blame] | 30 | #include "llvm/MC/MCInstrItineraries.h" |
Chandler Carruth | ed0881b | 2012-12-03 16:50:05 +0000 | [diff] [blame] | 31 | #include "llvm/Target/TargetInstrInfo.h" |
Anshuman Dasgupta | 08ebdc1 | 2011-12-01 21:10:21 +0000 | [diff] [blame] | 32 | using namespace llvm; |
| 33 | |
Krzysztof Parzyszek | 6753f33 | 2015-11-22 15:20:19 +0000 | [diff] [blame] | 34 | // -------------------------------------------------------------------- |
| 35 | // Definitions shared between DFAPacketizer.cpp and DFAPacketizerEmitter.cpp |
| 36 | |
| 37 | namespace { |
| 38 | DFAInput addDFAFuncUnits(DFAInput Inp, unsigned FuncUnits) { |
| 39 | return (Inp << DFA_MAX_RESOURCES) | FuncUnits; |
| 40 | } |
| 41 | |
| 42 | /// Return the DFAInput for an instruction class input vector. |
| 43 | /// This function is used in both DFAPacketizer.cpp and in |
| 44 | /// DFAPacketizerEmitter.cpp. |
| 45 | DFAInput getDFAInsnInput(const std::vector<unsigned> &InsnClass) { |
| 46 | DFAInput InsnInput = 0; |
| 47 | assert ((InsnClass.size() <= DFA_MAX_RESTERMS) && |
| 48 | "Exceeded maximum number of DFA terms"); |
| 49 | for (auto U : InsnClass) |
| 50 | InsnInput = addDFAFuncUnits(InsnInput, U); |
| 51 | return InsnInput; |
| 52 | } |
| 53 | } |
| 54 | // -------------------------------------------------------------------- |
| 55 | |
Krzysztof Parzyszek | b465572 | 2015-11-21 20:00:45 +0000 | [diff] [blame] | 56 | DFAPacketizer::DFAPacketizer(const InstrItineraryData *I, |
| 57 | const DFAStateInput (*SIT)[2], |
Sebastian Pop | ac35a4d | 2011-12-06 17:34:16 +0000 | [diff] [blame] | 58 | const unsigned *SET): |
Anshuman Dasgupta | 08ebdc1 | 2011-12-01 21:10:21 +0000 | [diff] [blame] | 59 | InstrItins(I), CurrentState(0), DFAStateInputTable(SIT), |
Krzysztof Parzyszek | b465572 | 2015-11-21 20:00:45 +0000 | [diff] [blame] | 60 | DFAStateEntryTable(SET) { |
| 61 | // Make sure DFA types are large enough for the number of terms & resources. |
| 62 | assert((DFA_MAX_RESTERMS * DFA_MAX_RESOURCES) <= (8 * sizeof(DFAInput)) |
| 63 | && "(DFA_MAX_RESTERMS * DFA_MAX_RESOURCES) too big for DFAInput"); |
| 64 | assert((DFA_MAX_RESTERMS * DFA_MAX_RESOURCES) <= (8 * sizeof(DFAStateInput)) |
| 65 | && "(DFA_MAX_RESTERMS * DFA_MAX_RESOURCES) too big for DFAStateInput"); |
| 66 | } |
Anshuman Dasgupta | 08ebdc1 | 2011-12-01 21:10:21 +0000 | [diff] [blame] | 67 | |
| 68 | |
| 69 | // |
Sebastian Pop | 9aa6137 | 2011-12-06 17:34:11 +0000 | [diff] [blame] | 70 | // ReadTable - Read the DFA transition table and update CachedTable. |
Anshuman Dasgupta | 08ebdc1 | 2011-12-01 21:10:21 +0000 | [diff] [blame] | 71 | // |
| 72 | // Format of the transition tables: |
| 73 | // DFAStateInputTable[][2] = pairs of <Input, Transition> for all valid |
| 74 | // transitions |
| 75 | // DFAStateEntryTable[i] = Index of the first entry in DFAStateInputTable |
| 76 | // for the ith state |
| 77 | // |
| 78 | void DFAPacketizer::ReadTable(unsigned int state) { |
| 79 | unsigned ThisState = DFAStateEntryTable[state]; |
| 80 | unsigned NextStateInTable = DFAStateEntryTable[state+1]; |
| 81 | // Early exit in case CachedTable has already contains this |
Sebastian Pop | 9aa6137 | 2011-12-06 17:34:11 +0000 | [diff] [blame] | 82 | // state's transitions. |
Anshuman Dasgupta | 08ebdc1 | 2011-12-01 21:10:21 +0000 | [diff] [blame] | 83 | if (CachedTable.count(UnsignPair(state, |
| 84 | DFAStateInputTable[ThisState][0]))) |
| 85 | return; |
| 86 | |
| 87 | for (unsigned i = ThisState; i < NextStateInTable; i++) |
| 88 | CachedTable[UnsignPair(state, DFAStateInputTable[i][0])] = |
| 89 | DFAStateInputTable[i][1]; |
| 90 | } |
| 91 | |
Krzysztof Parzyszek | b465572 | 2015-11-21 20:00:45 +0000 | [diff] [blame] | 92 | // |
| 93 | // getInsnInput - Return the DFAInput for an instruction class. |
| 94 | // |
| 95 | DFAInput DFAPacketizer::getInsnInput(unsigned InsnClass) { |
| 96 | // Note: this logic must match that in DFAPacketizerDefs.h for input vectors. |
| 97 | DFAInput InsnInput = 0; |
| 98 | unsigned i = 0; |
| 99 | for (const InstrStage *IS = InstrItins->beginStage(InsnClass), |
| 100 | *IE = InstrItins->endStage(InsnClass); IS != IE; ++IS, ++i) { |
| 101 | InsnInput = addDFAFuncUnits(InsnInput, IS->getUnits()); |
| 102 | assert ((i < DFA_MAX_RESTERMS) && "Exceeded maximum number of DFA inputs"); |
| 103 | } |
| 104 | return InsnInput; |
| 105 | } |
Anshuman Dasgupta | 08ebdc1 | 2011-12-01 21:10:21 +0000 | [diff] [blame] | 106 | |
Krzysztof Parzyszek | 6753f33 | 2015-11-22 15:20:19 +0000 | [diff] [blame] | 107 | // getInsnInput - Return the DFAInput for an instruction class input vector. |
| 108 | DFAInput DFAPacketizer::getInsnInput(const std::vector<unsigned> &InsnClass) { |
| 109 | return getDFAInsnInput(InsnClass); |
| 110 | } |
| 111 | |
Anshuman Dasgupta | 08ebdc1 | 2011-12-01 21:10:21 +0000 | [diff] [blame] | 112 | // canReserveResources - Check if the resources occupied by a MCInstrDesc |
Sebastian Pop | 9aa6137 | 2011-12-06 17:34:11 +0000 | [diff] [blame] | 113 | // are available in the current state. |
Sebastian Pop | ac35a4d | 2011-12-06 17:34:16 +0000 | [diff] [blame] | 114 | bool DFAPacketizer::canReserveResources(const llvm::MCInstrDesc *MID) { |
Anshuman Dasgupta | 08ebdc1 | 2011-12-01 21:10:21 +0000 | [diff] [blame] | 115 | unsigned InsnClass = MID->getSchedClass(); |
Krzysztof Parzyszek | b465572 | 2015-11-21 20:00:45 +0000 | [diff] [blame] | 116 | DFAInput InsnInput = getInsnInput(InsnClass); |
| 117 | UnsignPair StateTrans = UnsignPair(CurrentState, InsnInput); |
Anshuman Dasgupta | 08ebdc1 | 2011-12-01 21:10:21 +0000 | [diff] [blame] | 118 | ReadTable(CurrentState); |
| 119 | return (CachedTable.count(StateTrans) != 0); |
| 120 | } |
| 121 | |
Anshuman Dasgupta | 08ebdc1 | 2011-12-01 21:10:21 +0000 | [diff] [blame] | 122 | // reserveResources - Reserve the resources occupied by a MCInstrDesc and |
Sebastian Pop | 9aa6137 | 2011-12-06 17:34:11 +0000 | [diff] [blame] | 123 | // change the current state to reflect that change. |
Sebastian Pop | ac35a4d | 2011-12-06 17:34:16 +0000 | [diff] [blame] | 124 | void DFAPacketizer::reserveResources(const llvm::MCInstrDesc *MID) { |
Anshuman Dasgupta | 08ebdc1 | 2011-12-01 21:10:21 +0000 | [diff] [blame] | 125 | unsigned InsnClass = MID->getSchedClass(); |
Krzysztof Parzyszek | b465572 | 2015-11-21 20:00:45 +0000 | [diff] [blame] | 126 | DFAInput InsnInput = getInsnInput(InsnClass); |
| 127 | UnsignPair StateTrans = UnsignPair(CurrentState, InsnInput); |
Anshuman Dasgupta | 08ebdc1 | 2011-12-01 21:10:21 +0000 | [diff] [blame] | 128 | ReadTable(CurrentState); |
| 129 | assert(CachedTable.count(StateTrans) != 0); |
| 130 | CurrentState = CachedTable[StateTrans]; |
| 131 | } |
| 132 | |
| 133 | |
| 134 | // canReserveResources - Check if the resources occupied by a machine |
Sebastian Pop | 9aa6137 | 2011-12-06 17:34:11 +0000 | [diff] [blame] | 135 | // instruction are available in the current state. |
Sebastian Pop | ac35a4d | 2011-12-06 17:34:16 +0000 | [diff] [blame] | 136 | bool DFAPacketizer::canReserveResources(llvm::MachineInstr *MI) { |
| 137 | const llvm::MCInstrDesc &MID = MI->getDesc(); |
Anshuman Dasgupta | 08ebdc1 | 2011-12-01 21:10:21 +0000 | [diff] [blame] | 138 | return canReserveResources(&MID); |
| 139 | } |
| 140 | |
| 141 | // reserveResources - Reserve the resources occupied by a machine |
Sebastian Pop | 9aa6137 | 2011-12-06 17:34:11 +0000 | [diff] [blame] | 142 | // instruction and change the current state to reflect that change. |
Sebastian Pop | ac35a4d | 2011-12-06 17:34:16 +0000 | [diff] [blame] | 143 | void DFAPacketizer::reserveResources(llvm::MachineInstr *MI) { |
| 144 | const llvm::MCInstrDesc &MID = MI->getDesc(); |
Anshuman Dasgupta | 08ebdc1 | 2011-12-01 21:10:21 +0000 | [diff] [blame] | 145 | reserveResources(&MID); |
| 146 | } |
Andrew Trick | 7a35fae | 2012-02-15 18:55:14 +0000 | [diff] [blame] | 147 | |
Sirish Pande | 9421216 | 2012-05-01 21:28:30 +0000 | [diff] [blame] | 148 | namespace llvm { |
Andrew Trick | 7a35fae | 2012-02-15 18:55:14 +0000 | [diff] [blame] | 149 | // DefaultVLIWScheduler - This class extends ScheduleDAGInstrs and overrides |
| 150 | // Schedule method to build the dependence graph. |
| 151 | class DefaultVLIWScheduler : public ScheduleDAGInstrs { |
Krzysztof Parzyszek | dac7102 | 2015-12-14 20:35:13 +0000 | [diff] [blame] | 152 | private: |
| 153 | AliasAnalysis *AA; |
Andrew Trick | 7a35fae | 2012-02-15 18:55:14 +0000 | [diff] [blame] | 154 | public: |
Krzysztof Parzyszek | dac7102 | 2015-12-14 20:35:13 +0000 | [diff] [blame] | 155 | DefaultVLIWScheduler(MachineFunction &MF, MachineLoopInfo &MLI, |
| 156 | AliasAnalysis *AA); |
Andrew Trick | 7a35fae | 2012-02-15 18:55:14 +0000 | [diff] [blame] | 157 | // Schedule - Actual scheduling work. |
Craig Topper | 4584cd5 | 2014-03-07 09:26:03 +0000 | [diff] [blame] | 158 | void schedule() override; |
Andrew Trick | 7a35fae | 2012-02-15 18:55:14 +0000 | [diff] [blame] | 159 | }; |
Alexander Kornienko | f00654e | 2015-06-23 09:49:53 +0000 | [diff] [blame] | 160 | } |
Andrew Trick | 20349b8 | 2012-02-15 23:34:15 +0000 | [diff] [blame] | 161 | |
Alexey Samsonov | ea0aee6 | 2014-08-20 20:57:26 +0000 | [diff] [blame] | 162 | DefaultVLIWScheduler::DefaultVLIWScheduler(MachineFunction &MF, |
Krzysztof Parzyszek | dac7102 | 2015-12-14 20:35:13 +0000 | [diff] [blame] | 163 | MachineLoopInfo &MLI, |
| 164 | AliasAnalysis *AA) |
| 165 | : ScheduleDAGInstrs(MF, &MLI), AA(AA) { |
Sirish Pande | 9421216 | 2012-05-01 21:28:30 +0000 | [diff] [blame] | 166 | CanHandleTerminators = true; |
Andrew Trick | 7a35fae | 2012-02-15 18:55:14 +0000 | [diff] [blame] | 167 | } |
| 168 | |
Andrew Trick | 52226d4 | 2012-03-07 23:00:49 +0000 | [diff] [blame] | 169 | void DefaultVLIWScheduler::schedule() { |
Andrew Trick | 7a35fae | 2012-02-15 18:55:14 +0000 | [diff] [blame] | 170 | // Build the scheduling graph. |
Krzysztof Parzyszek | dac7102 | 2015-12-14 20:35:13 +0000 | [diff] [blame] | 171 | buildSchedGraph(AA); |
Andrew Trick | 7a35fae | 2012-02-15 18:55:14 +0000 | [diff] [blame] | 172 | } |
| 173 | |
| 174 | // VLIWPacketizerList Ctor |
Alexey Samsonov | ea0aee6 | 2014-08-20 20:57:26 +0000 | [diff] [blame] | 175 | VLIWPacketizerList::VLIWPacketizerList(MachineFunction &MF, |
Krzysztof Parzyszek | dac7102 | 2015-12-14 20:35:13 +0000 | [diff] [blame] | 176 | MachineLoopInfo &MLI, AliasAnalysis *AA) |
| 177 | : MF(MF), AA(AA) { |
Eric Christopher | 2a321f7 | 2014-10-14 01:03:16 +0000 | [diff] [blame] | 178 | TII = MF.getSubtarget().getInstrInfo(); |
Eric Christopher | 143f02c | 2014-10-09 01:59:35 +0000 | [diff] [blame] | 179 | ResourceTracker = TII->CreateTargetScheduleState(MF.getSubtarget()); |
Krzysztof Parzyszek | dac7102 | 2015-12-14 20:35:13 +0000 | [diff] [blame] | 180 | VLIWScheduler = new DefaultVLIWScheduler(MF, MLI, AA); |
Andrew Trick | 7a35fae | 2012-02-15 18:55:14 +0000 | [diff] [blame] | 181 | } |
| 182 | |
| 183 | // VLIWPacketizerList Dtor |
| 184 | VLIWPacketizerList::~VLIWPacketizerList() { |
Sirish Pande | 9421216 | 2012-05-01 21:28:30 +0000 | [diff] [blame] | 185 | if (VLIWScheduler) |
| 186 | delete VLIWScheduler; |
Andrew Trick | 7a35fae | 2012-02-15 18:55:14 +0000 | [diff] [blame] | 187 | |
Sirish Pande | 9421216 | 2012-05-01 21:28:30 +0000 | [diff] [blame] | 188 | if (ResourceTracker) |
| 189 | delete ResourceTracker; |
Andrew Trick | 7a35fae | 2012-02-15 18:55:14 +0000 | [diff] [blame] | 190 | } |
| 191 | |
| 192 | // endPacket - End the current packet, bundle packet instructions and reset |
| 193 | // DFA state. |
| 194 | void VLIWPacketizerList::endPacket(MachineBasicBlock *MBB, |
Sirish Pande | 9421216 | 2012-05-01 21:28:30 +0000 | [diff] [blame] | 195 | MachineInstr *MI) { |
Andrew Trick | 7a35fae | 2012-02-15 18:55:14 +0000 | [diff] [blame] | 196 | if (CurrentPacketMIs.size() > 1) { |
| 197 | MachineInstr *MIFirst = CurrentPacketMIs.front(); |
Duncan P. N. Exon Smith | d83547a | 2015-10-09 18:44:40 +0000 | [diff] [blame] | 198 | finalizeBundle(*MBB, MIFirst->getIterator(), MI->getIterator()); |
Andrew Trick | 7a35fae | 2012-02-15 18:55:14 +0000 | [diff] [blame] | 199 | } |
| 200 | CurrentPacketMIs.clear(); |
| 201 | ResourceTracker->clearResources(); |
| 202 | } |
| 203 | |
| 204 | // PacketizeMIs - Bundle machine instructions into packets. |
| 205 | void VLIWPacketizerList::PacketizeMIs(MachineBasicBlock *MBB, |
| 206 | MachineBasicBlock::iterator BeginItr, |
| 207 | MachineBasicBlock::iterator EndItr) { |
Sirish Pande | 9421216 | 2012-05-01 21:28:30 +0000 | [diff] [blame] | 208 | assert(VLIWScheduler && "VLIW Scheduler is not initialized!"); |
| 209 | VLIWScheduler->startBlock(MBB); |
Andrew Trick | a53e101 | 2013-08-23 17:48:33 +0000 | [diff] [blame] | 210 | VLIWScheduler->enterRegion(MBB, BeginItr, EndItr, |
| 211 | std::distance(BeginItr, EndItr)); |
Sirish Pande | 9421216 | 2012-05-01 21:28:30 +0000 | [diff] [blame] | 212 | VLIWScheduler->schedule(); |
Andrew Trick | 69b4204 | 2012-03-07 23:01:09 +0000 | [diff] [blame] | 213 | |
Sirish Pande | 9421216 | 2012-05-01 21:28:30 +0000 | [diff] [blame] | 214 | // Generate MI -> SU map. |
| 215 | MIToSUnit.clear(); |
| 216 | for (unsigned i = 0, e = VLIWScheduler->SUnits.size(); i != e; ++i) { |
| 217 | SUnit *SU = &VLIWScheduler->SUnits[i]; |
| 218 | MIToSUnit[SU->getInstr()] = SU; |
| 219 | } |
Andrew Trick | 7a35fae | 2012-02-15 18:55:14 +0000 | [diff] [blame] | 220 | |
| 221 | // The main packetizer loop. |
| 222 | for (; BeginItr != EndItr; ++BeginItr) { |
| 223 | MachineInstr *MI = BeginItr; |
| 224 | |
Sirish Pande | 9421216 | 2012-05-01 21:28:30 +0000 | [diff] [blame] | 225 | this->initPacketizerState(); |
Andrew Trick | 7a35fae | 2012-02-15 18:55:14 +0000 | [diff] [blame] | 226 | |
| 227 | // End the current packet if needed. |
Sirish Pande | 9421216 | 2012-05-01 21:28:30 +0000 | [diff] [blame] | 228 | if (this->isSoloInstruction(MI)) { |
Andrew Trick | 7a35fae | 2012-02-15 18:55:14 +0000 | [diff] [blame] | 229 | endPacket(MBB, MI); |
| 230 | continue; |
| 231 | } |
| 232 | |
Sirish Pande | 9421216 | 2012-05-01 21:28:30 +0000 | [diff] [blame] | 233 | // Ignore pseudo instructions. |
| 234 | if (this->ignorePseudoInstruction(MI, MBB)) |
| 235 | continue; |
| 236 | |
| 237 | SUnit *SUI = MIToSUnit[MI]; |
Andrew Trick | 7a35fae | 2012-02-15 18:55:14 +0000 | [diff] [blame] | 238 | assert(SUI && "Missing SUnit Info!"); |
| 239 | |
| 240 | // Ask DFA if machine resource is available for MI. |
| 241 | bool ResourceAvail = ResourceTracker->canReserveResources(MI); |
Krzysztof Parzyszek | 2005d7d | 2015-12-16 16:38:16 +0000 | [diff] [blame] | 242 | if (ResourceAvail && shouldAddToPacket(MI)) { |
Andrew Trick | 7a35fae | 2012-02-15 18:55:14 +0000 | [diff] [blame] | 243 | // Dependency check for MI with instructions in CurrentPacketMIs. |
| 244 | for (std::vector<MachineInstr*>::iterator VI = CurrentPacketMIs.begin(), |
| 245 | VE = CurrentPacketMIs.end(); VI != VE; ++VI) { |
| 246 | MachineInstr *MJ = *VI; |
Sirish Pande | 9421216 | 2012-05-01 21:28:30 +0000 | [diff] [blame] | 247 | SUnit *SUJ = MIToSUnit[MJ]; |
Andrew Trick | 7a35fae | 2012-02-15 18:55:14 +0000 | [diff] [blame] | 248 | assert(SUJ && "Missing SUnit Info!"); |
| 249 | |
| 250 | // Is it legal to packetize SUI and SUJ together. |
Sirish Pande | 9421216 | 2012-05-01 21:28:30 +0000 | [diff] [blame] | 251 | if (!this->isLegalToPacketizeTogether(SUI, SUJ)) { |
Andrew Trick | 7a35fae | 2012-02-15 18:55:14 +0000 | [diff] [blame] | 252 | // Allow packetization if dependency can be pruned. |
Sirish Pande | 9421216 | 2012-05-01 21:28:30 +0000 | [diff] [blame] | 253 | if (!this->isLegalToPruneDependencies(SUI, SUJ)) { |
Andrew Trick | 7a35fae | 2012-02-15 18:55:14 +0000 | [diff] [blame] | 254 | // End the packet if dependency cannot be pruned. |
| 255 | endPacket(MBB, MI); |
| 256 | break; |
| 257 | } // !isLegalToPruneDependencies. |
| 258 | } // !isLegalToPacketizeTogether. |
| 259 | } // For all instructions in CurrentPacketMIs. |
| 260 | } else { |
Krzysztof Parzyszek | 2005d7d | 2015-12-16 16:38:16 +0000 | [diff] [blame] | 261 | // End the packet if resource is not available, or if the instruction |
| 262 | // shoud not be added to the current packet. |
Andrew Trick | 7a35fae | 2012-02-15 18:55:14 +0000 | [diff] [blame] | 263 | endPacket(MBB, MI); |
| 264 | } |
| 265 | |
| 266 | // Add MI to the current packet. |
Sirish Pande | 9421216 | 2012-05-01 21:28:30 +0000 | [diff] [blame] | 267 | BeginItr = this->addToPacket(MI); |
Andrew Trick | 7a35fae | 2012-02-15 18:55:14 +0000 | [diff] [blame] | 268 | } // For all instructions in BB. |
| 269 | |
| 270 | // End any packet left behind. |
| 271 | endPacket(MBB, EndItr); |
Sirish Pande | 9421216 | 2012-05-01 21:28:30 +0000 | [diff] [blame] | 272 | VLIWScheduler->exitRegion(); |
| 273 | VLIWScheduler->finishBlock(); |
Andrew Trick | 7a35fae | 2012-02-15 18:55:14 +0000 | [diff] [blame] | 274 | } |