Lines Matching defs:DT
164 static void createNaturalLoopInternal(LoopInfo &LI, DominatorTree &DT,
193 DomTreeUpdater DTU(DT, DomTreeUpdater::UpdateStrategy::Eager);
196 assert(DT.verify(DominatorTree::VerificationLevel::Full));
198 assert(DT.verify(DominatorTree::VerificationLevel::Fast));
240 LI.verify(DT);
253 static void createNaturalLoop(LoopInfo &LI, DominatorTree &DT, Function *F,
256 createNaturalLoopInternal(LI, DT, nullptr, Blocks, Headers);
259 static void createNaturalLoop(LoopInfo &LI, DominatorTree &DT, Loop &L,
262 createNaturalLoopInternal(LI, DT, &L, Blocks, Headers);
267 static bool makeReducible(LoopInfo &LI, DominatorTree &DT, Graph &&G) {
291 if (!DT.isReachableFromEntry(P))
307 createNaturalLoop(LI, DT, G, Blocks, Headers);
313 static bool FixIrreducibleImpl(Function &F, LoopInfo &LI, DominatorTree &DT) {
323 Changed |= makeReducible(LI, DT, &F);
333 Changed |= makeReducible(LI, DT, *L);
344 auto &DT = getAnalysis<DominatorTreeWrapperPass>().getDomTree();
345 return FixIrreducibleImpl(F, LI, DT);
351 auto &DT = AM.getResult<DominatorTreeAnalysis>(F);
352 if (!FixIrreducibleImpl(F, LI, DT))