• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/

Lines Matching refs:users

190 /// This GV is a pointer root.  Loop over all users of the global and clean up
277 /// We just marked GV constant. Loop over all users of the global, cleaning up
397 return llvm::all_of(U->users(),
418 // Otherwise, it must be a GEP. Check it and its users are safe to SRA.
425 for (User *U : GV->users()) {
432 // Check the gep and it's users are safe to SRA
513 // Loop over all users and create replacement variables for used aggregate
515 for (User *GEP : GV->users()) {
642 /// Return true if all users of the specified value will trap if the value is
647 for (const User *U : V->users()) {
692 for (const User *U : GV->users())
885 // If there are bitcast users of the malloc (which is typical, usually we have
887 // other users to use the global as well.
980 // To further other optimizations, loop over all users of NewGV and try to
996 for (const User *U : V->users()) {
1087 // We permit two users of the load: setcc comparing against the null
1089 for (const User *U : V->users()) {
1133 /// If all users of values loaded from GV are simple enough to perform HeapSRA,
1139 for (const User *U : GV->users())
1266 // Recursively transform the users of PHI nodes. This will lazily create the
1278 // users.
1318 // Okay, at this point, there are no users of the malloc. Insert N
1604 // users of the loaded value (often calls and loads) that would trap if the
1649 for (User *U : GV->users())
1829 for (auto *U : GV->users()) {
1831 for (auto *UU : U->users()) {
1890 /// C may have non-instruction users. Can all of those users be turned into
1899 for (auto *U : C->users()) {
1905 for (auto *UU : U->users())
1915 /// C may have non-instruction users, and
1917 /// non-instruction users to instructions.
1920 for (auto *U : C->users()) {
1934 for (auto *UU : U->users())
2026 // Clean up any obviously simplifiable users now.
2032 << "all users and delete global!\n");
2056 // Clean up any obviously simplifiable users now.
2061 << "simplify all users and delete global!\n");
2132 for (User *U : F->users()) {
2149 for (User *U : F->users()) {
2172 for (User *U : F->users()) {
2213 for (User *U : F.users()) {
2230 for (User *U : F->users()) {
2271 for (User *U : F->users()) {
2285 for (User *U : F->users())
2298 // Cannot modify users() while iterating over it, so make a copy.
2299 SmallVector<User *, 4> PreallocatedCalls(F->users());
2339 // Cannot modify users() while iterating over it, so make a copy.
2346 SmallVector<User *, 2> PreallocatedArgs(PreallocatedSetup->users());
2940 // Make all users of the alias use the aliasee instead.