Lines Matching refs:UI
507 Instruction *UI = cast<Instruction>(U); in isNotUsedInLoop() local
508 if (PHINode *PN = dyn_cast<PHINode>(UI)) { in isNotUsedInLoop()
530 if (CurLoop->contains(UI)) in isNotUsedInLoop()
836 Instruction *UI = dyn_cast<Instruction>(U); in promoteLoopAccessesToScalars() local
837 if (!UI || !CurLoop->contains(UI)) in promoteLoopAccessesToScalars()
842 if (LoadInst *load = dyn_cast<LoadInst>(UI)) { in promoteLoopAccessesToScalars()
846 } else if (StoreInst *store = dyn_cast<StoreInst>(UI)) { in promoteLoopAccessesToScalars()
849 if (UI->getOperand(1) != ASIV) in promoteLoopAccessesToScalars()
872 if (isGuaranteedToExecute(*UI, DT, CurLoop, SafetyInfo)) { in promoteLoopAccessesToScalars()
878 GuaranteedToExecute = isGuaranteedToExecute(*UI, DT, in promoteLoopAccessesToScalars()
887 UI->getAAMetadata(AATags); in promoteLoopAccessesToScalars()
889 UI->getAAMetadata(AATags, /* Merge = */ true); in promoteLoopAccessesToScalars()
892 LoopUses.push_back(UI); in promoteLoopAccessesToScalars()