Lines Matching refs:OG
105 InstrGroup &OG, unsigned &TotalSize, unsigned MaxSize);
106 bool createWideStores(InstrGroup &OG, InstrGroup &NG, unsigned TotalSize);
107 bool replaceStores(InstrGroup &OG, InstrGroup &NG);
306 InstrGroup::iterator End, InstrGroup &OG, unsigned &TotalSize, in selectStores() argument
309 assert(OG.empty() && "Old group not empty on entry"); in selectStores()
340 OG.push_back(FirstMI); in selectStores()
364 OG.push_back(S2); in selectStores()
367 Pow2Num = OG.size(); in selectStores()
378 OG.clear(); in selectStores()
383 OG.resize(Pow2Num); in selectStores()
391 bool HexagonStoreWidening::createWideStores(InstrGroup &OG, InstrGroup &NG, in createWideStores() argument
403 for (MachineInstr *MI : OG) { in createWideStores()
415 MachineInstr *FirstSt = OG.front(); in createWideStores()
416 DebugLoc DL = OG.back()->getDebugLoc(); in createWideStores()
472 bool HexagonStoreWidening::replaceStores(InstrGroup &OG, InstrGroup &NG) { in replaceStores() argument
475 for (auto I : OG) in replaceStores()
482 MachineBasicBlock *MBB = OG.back()->getParent(); in replaceStores()
493 for (auto *I : OG) in replaceStores()
517 for (auto *I : OG) in replaceStores()
537 InstrGroup OG, NG; // Old and new groups. in processStoreGroup() local
541 OG.clear(); in processStoreGroup()
544 bool Succ = selectStores(I++, E, OG, CollectedSize, MaxWideSize) && in processStoreGroup()
545 createWideStores(OG, NG, CollectedSize) && in processStoreGroup()
546 replaceStores(OG, NG); in processStoreGroup()
550 assert(OG.size() > 1 && "Created invalid group"); in processStoreGroup()
551 assert(distance(I, E)+1 >= int(OG.size()) && "Too many elements"); in processStoreGroup()
552 I += OG.size()-1; in processStoreGroup()