Lines Matching full:users
420 DenseSet<Instruction *> &Users);
424 DenseSet<Instruction *> &Users);
508 for (User *U : I->users()) { in hasUsesOutsideLoop()
526 for (auto *User : IV->users()) { in isLoopControlIV()
546 // The users of the IV must be a binary operation or a comparison in isLoopControlIV()
551 for (auto *UU : User->users()) { in isLoopControlIV()
641 for (User *U : C->users()) { in add()
673 // Collect the set of all users of the provided root instruction. This set of
674 // users contains not only the direct users of the root instruction, but also
675 // all users of those users, and so on. There are two exceptions:
678 // use set (even if they are users). This is used, for example, to exclude
682 // if they are users, but their users are not added. This is used, for
688 DenseSet<Instruction *> &Users) { in collectInLoopUserSet() argument
692 if (!Users.insert(I).second) in collectInLoopUserSet()
719 // Collect all of the users of all of the provided root instructions (combined
725 DenseSet<Instruction *> &Users) { in collectInLoopUserSet() argument
727 collectInLoopUserSet(Root, Exclude, Final, Users); in collectInLoopUserSet()
770 for (auto *UU : U->users()) { in isLoopIncrement()
782 for (auto *I : Base->users()) { in collectPossibleRoots()
823 // If we found non-loop-inc, non-root users of Base, assume they are in collectPossibleRoots()
834 // Calculate the number of users of the base, or lowest indexed, iteration. in collectPossibleRoots()
839 // Check that every node has the same number of users. in collectPossibleRoots()
844 LLVM_DEBUG(dbgs() << "LRR: Aborting - Root and Base #users not the same: " in collectPossibleRoots()
857 // All its users must be simple arithmetic ops. in findRootsRecursive()
866 for (User *V : I->users()) { in findRootsRecursive()
979 for (auto *IVU : IV->users()) { in findRoots()
1123 for (auto *U : I->users()) { in instrDependsOn()
1161 // collect the set of all users of some root instructions, these reduction in validate()
1184 for (auto *U : LoopControlIV->users()) { in validate()
1188 for (auto *UU : IVUser->users()) { in validate()
1244 // Skip over the IV or root instructions; only match their users. in validate()
1573 // Replace users with the new end-of-chain value. in replaceSelected()
1574 SmallInstructionVector Users; in replaceSelected() local
1575 for (User *U : PossibleReds[i].getReducedValue()->users()) { in replaceSelected()
1576 Users.push_back(cast<Instruction>(U)); in replaceSelected()
1579 for (Instruction *User : Users) in replaceSelected()
1612 // - Ensure that both matched instructions don't have any external users