• Home
  • Raw
  • Download

Lines Matching refs:OG

95         InstrGroup &OG, unsigned &TotalSize, unsigned MaxSize);
96 bool createWideStores(InstrGroup &OG, InstrGroup &NG, unsigned TotalSize);
97 bool replaceStores(InstrGroup &OG, InstrGroup &NG);
309 InstrGroup::iterator End, InstrGroup &OG, unsigned &TotalSize, in selectStores() argument
312 assert(OG.empty() && "Old group not empty on entry"); in selectStores()
343 OG.push_back(FirstMI); in selectStores()
368 OG.push_back(S2); in selectStores()
371 Pow2Num = OG.size(); in selectStores()
383 OG.clear(); in selectStores()
388 OG.resize(Pow2Num); in selectStores()
397 bool HexagonStoreWidening::createWideStores(InstrGroup &OG, InstrGroup &NG, in createWideStores() argument
409 for (InstrGroup::iterator I = OG.begin(), E = OG.end(); I != E; ++I) { in createWideStores()
423 MachineInstr *FirstSt = OG.front(); in createWideStores()
424 DebugLoc DL = OG.back()->getDebugLoc(); in createWideStores()
480 bool HexagonStoreWidening::replaceStores(InstrGroup &OG, InstrGroup &NG) { in replaceStores() argument
483 for (auto I : OG) in replaceStores()
490 MachineBasicBlock *MBB = OG.back()->getParent(); in replaceStores()
501 for (auto I : OG) in replaceStores()
525 for (auto I : OG) in replaceStores()
546 InstrGroup OG, NG; // Old and new groups. in processStoreGroup() local
550 OG.clear(); in processStoreGroup()
553 bool Succ = selectStores(I++, E, OG, CollectedSize, MaxWideSize) && in processStoreGroup()
554 createWideStores(OG, NG, CollectedSize) && in processStoreGroup()
555 replaceStores(OG, NG); in processStoreGroup()
559 assert(OG.size() > 1 && "Created invalid group"); in processStoreGroup()
560 assert(distance(I, E)+1 >= int(OG.size()) && "Too many elements"); in processStoreGroup()
561 I += OG.size()-1; in processStoreGroup()