Lines Matching refs:Move

244   bool move(const MoveGroup &Move) const;
245 bool realignGroup(const MoveGroup &Move) const;
575 auto tryAddTo = [&](const AddrInfo &Info, MoveGroup &Move) { in createLoadGroups() argument
576 assert(!Move.Main.empty() && "Move group should have non-empty Main"); in createLoadGroups()
578 if (Move.IsHvx != isHvx(Info)) in createLoadGroups()
581 Instruction *Base = Move.Main.front(); in createLoadGroups()
598 Move.Main.push_back(Info.Inst); in createLoadGroups()
599 llvm::append_range(Move.Deps, Deps); in createLoadGroups()
622 auto tryAddTo = [&](const AddrInfo &Info, MoveGroup &Move) { in createStoreGroups() argument
623 assert(!Move.Main.empty() && "Move group should have non-empty Main"); in createStoreGroups()
629 if (Move.IsHvx != isHvx(Info)) in createStoreGroups()
634 Instruction *Base = Move.Main.front(); in createStoreGroups()
637 if (!HVC.isSafeToMoveBeforeInBB(*Info.Inst, Base->getIterator(), Move.Main)) in createStoreGroups()
639 Move.Main.push_back(Info.Inst); in createStoreGroups()
658 auto AlignVectors::move(const MoveGroup &Move) const -> bool { in move()
659 assert(!Move.Main.empty() && "Move group should have non-empty Main"); in move()
660 Instruction *Where = Move.Main.front(); in move()
662 if (Move.IsLoad) { in move()
664 for (Instruction *D : Move.Deps) in move()
667 ArrayRef<Instruction *> Main(Move.Main); in move()
675 assert(Move.Deps.empty()); in move()
677 ArrayRef<Instruction *> Main(Move.Main); in move()
684 return Move.Main.size() + Move.Deps.size() > 1; in move()
687 auto AlignVectors::realignGroup(const MoveGroup &Move) const -> bool { in realignGroup()
689 if (!Move.IsHvx) in realignGroup()
700 const AddrList &BaseInfos = AddrGroups.at(Move.Base); in realignGroup()
715 std::set<Instruction *> TestSet(Move.Main.begin(), Move.Main.end()); in realignGroup()
735 Instruction *TopIn = Move.IsLoad ? Move.Main.front() : Move.Main.back(); in realignGroup()
778 int ScLen = Move.IsHvx ? HVC.HST.getVectorLength() in realignGroup()
780 assert(!Move.IsHvx || ScLen == 64 || ScLen == 128); in realignGroup()
781 assert(Move.IsHvx || ScLen == 4 || ScLen == 8); in realignGroup()
787 if (Move.IsLoad) { in realignGroup()
894 for (auto *Inst : Move.Main) in realignGroup()