Lines Matching refs:UI

201   for (Value::user_iterator UI = GV->user_begin(), E = GV->user_end();  in CleanupPointerRootUsers()  local
202 UI != E;) { in CleanupPointerRootUsers()
203 User *U = *UI++; in CleanupPointerRootUsers()
679 for (auto UI = V->user_begin(), E = V->user_end(); UI != E; ) { in OptimizeAwayTrappingUsesOfValue() local
680 Instruction *I = cast<Instruction>(*UI++); in OptimizeAwayTrappingUsesOfValue()
705 UI = V->user_begin(); in OptimizeAwayTrappingUsesOfValue()
810 for (Value::user_iterator UI = V->user_begin(), E = V->user_end(); UI != E; ) in ConstantPropUsersOf() local
811 if (Instruction *I = dyn_cast<Instruction>(*UI++)) in ConstantPropUsersOf()
817 while (UI != E && *UI == I) in ConstantPropUsersOf()
818 ++UI; in ConstantPropUsersOf()
1057 const Instruction *UI = cast<Instruction>(U); in LoadUsesSimpleEnoughForHeapSRA() local
1060 if (const ICmpInst *ICI = dyn_cast<ICmpInst>(UI)) { in LoadUsesSimpleEnoughForHeapSRA()
1067 if (const GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(UI)) { in LoadUsesSimpleEnoughForHeapSRA()
1076 if (const PHINode *PN = dyn_cast<PHINode>(UI)) { in LoadUsesSimpleEnoughForHeapSRA()
1247 for (auto UI = PN->user_begin(), E = PN->user_end(); UI != E;) { in RewriteHeapSROALoadUser() local
1248 Instruction *User = cast<Instruction>(*UI++); in RewriteHeapSROALoadUser()
1260 for (auto UI = Load->user_begin(), E = Load->user_end(); UI != E;) { in RewriteUsesOfLoadForHeapSRoA() local
1261 Instruction *User = cast<Instruction>(*UI++); in RewriteUsesOfLoadForHeapSRoA()
1392 for (auto UI = GV->user_begin(), E = GV->user_end(); UI != E;) { in PerformHeapAllocSRoA() local
1393 Instruction *User = cast<Instruction>(*UI++); in PerformHeapAllocSRoA()
1638 Instruction *UI = cast<Instruction>(GV->user_back()); in TryToShrinkGlobalToBoolean() local
1639 if (StoreInst *SI = dyn_cast<StoreInst>(UI)) { in TryToShrinkGlobalToBoolean()
1672 LoadInst *LI = cast<LoadInst>(UI); in TryToShrinkGlobalToBoolean()
1683 UI->eraseFromParent(); in TryToShrinkGlobalToBoolean()