Lines Matching defs:UI
478 Instruction *UI = cast<Instruction>(U);
480 if (LoadInst *LI = dyn_cast<LoadInst>(UI)) {
492 if (StoreInst *SI = dyn_cast<StoreInst>(UI)) {
503 if (BitCastInst *BCI = dyn_cast<BitCastInst>(UI)) {
511 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(UI)) {
543 if (MemSetInst *MSI = dyn_cast<MemSetInst>(UI)) {
570 if (MemTransferInst *MTI = dyn_cast<MemTransferInst>(UI)) {
583 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(UI)) {
1680 Instruction *UI = cast<Instruction>(U);
1682 if (BitCastInst *BC = dyn_cast<BitCastInst>(UI)) {
1684 } else if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(UI)) {
1689 return MarkUnsafe(Info, UI);
1691 } else if (LoadInst *LI = dyn_cast<LoadInst>(UI)) {
1693 return MarkUnsafe(Info, UI);
1699 } else if (StoreInst *SI = dyn_cast<StoreInst>(UI)) {
1702 return MarkUnsafe(Info, UI);
1708 } else if (isa<PHINode>(UI) || isa<SelectInst>(UI)) {
1709 isSafePHISelectUseForScalarRepl(UI, Offset, Info);
1711 return MarkUnsafe(Info, UI);
1885 for (Value::use_iterator UI = I->use_begin(), E = I->use_end(); UI!=E;) {
1886 Use &TheUse = *UI++;