Lines Matching defs:UI
179 for (Value::const_use_iterator UI = C->use_begin(), E = C->use_end(); UI != E;
180 ++UI)
181 if (const Constant *CU = dyn_cast<Constant>(*UI)) {
195 for (Value::const_use_iterator UI = V->use_begin(), E = V->use_end(); UI != E;
196 ++UI) {
197 const User *U = *UI;
402 for (Value::use_iterator UI = GV->use_begin(), E = GV->use_end();
403 UI != E;) {
404 User *U = *UI++;
439 // This could have invalidated UI, start over from scratch.
650 for (Value::use_iterator UI = GV->use_begin(), E = GV->use_end();
651 UI != E; ++UI) {
652 if (!IsUserOfGlobalSafeForSRA(*UI, GV))
808 for (Value::const_use_iterator UI = V->use_begin(), E = V->use_end(); UI != E;
809 ++UI) {
810 const User *U = *UI;
839 isa<ConstantPointerNull>(UI->getOperand(1))) {
853 for (Value::const_use_iterator UI = GV->use_begin(), E = GV->use_end();
854 UI != E; ++UI) {
855 const User *U = *UI;
874 for (Value::use_iterator UI = V->use_begin(), E = V->use_end(); UI != E; ) {
875 Instruction *I = cast<Instruction>(*UI++);
899 // Being passed as an argument also. Be careful to not invalidate UI!
900 UI = V->use_begin();
1005 for (Value::use_iterator UI = V->use_begin(), E = V->use_end(); UI != E; )
1006 if (Instruction *I = dyn_cast<Instruction>(*UI++))
1010 // Advance UI to the next non-I use to avoid invalidating it!
1012 while (UI != E && *UI == I)
1013 ++UI;
1160 for (Value::const_use_iterator UI = V->use_begin(), E = V->use_end();
1161 UI != E; ++UI) {
1162 const Instruction *Inst = cast<Instruction>(*UI);
1254 for (Value::const_use_iterator UI = V->use_begin(), E = V->use_end(); UI != E;
1255 ++UI) {
1256 const Instruction *User = cast<Instruction>(*UI);
1306 for (Value::const_use_iterator UI = GV->use_begin(), E = GV->use_end();
1307 UI != E; ++UI)
1308 if (const LoadInst *LI = dyn_cast<LoadInst>(*UI)) {
1448 for (Value::use_iterator UI = PN->use_begin(), E = PN->use_end(); UI != E; ) {
1449 Instruction *User = cast<Instruction>(*UI++);
1461 for (Value::use_iterator UI = Load->use_begin(), E = Load->use_end();
1462 UI != E; ) {
1463 Instruction *User = cast<Instruction>(*UI++);
1593 for (Value::use_iterator UI = GV->use_begin(), E = GV->use_end(); UI != E;) {
1594 Instruction *User = cast<Instruction>(*UI++);
1844 Instruction *UI = cast<Instruction>(GV->use_back());
1845 if (StoreInst *SI = dyn_cast<StoreInst>(UI)) {
1878 LoadInst *LI = cast<LoadInst>(UI);
1889 UI->eraseFromParent();
2064 for (Value::use_iterator UI = F->use_begin(), E = F->use_end(); UI != E;++UI){
2065 if (isa<BlockAddress>(*UI))
2067 CallSite User(cast<Instruction>(*UI));
2087 for (Value::use_iterator UI = F->use_begin(), E = F->use_end(); UI != E;++UI){
2088 if (isa<BlockAddress>(*UI))
2090 CallSite User(cast<Instruction>(*UI));