Lines Matching refs:DT
38 DominatorTree &DT) {
54 if (!DT.dominates(BB, UseBlock))
96 DominatorTree &DT, LoopInfo &LI) {
122 if (!DT.dominates(Inst->getParent(), SuccToSinkTo))
134 return AllUsesDominatedByBlock(Inst, SuccToSinkTo, DT);
141 DominatorTree &DT, LoopInfo &LI, AAResults &AA) {
168 DomTreeNode *DTN = DT.getNode(Inst->getParent());
174 if (IsAcceptableTarget(Inst, Candidate, DT, LI))
182 if (IsAcceptableTarget(Inst, *I, DT, LI))
199 static bool ProcessBlock(BasicBlock &BB, DominatorTree &DT, LoopInfo &LI,
207 if (!DT.isReachableFromEntry(&BB)) return false;
228 if (SinkInstruction(Inst, Stores, DT, LI, AA)) {
239 static bool iterativelySinkInstructions(Function &F, DominatorTree &DT,
248 MadeChange |= ProcessBlock(I, DT, LI, AA);
257 auto &DT = AM.getResult<DominatorTreeAnalysis>(F);
261 if (!iterativelySinkInstructions(F, DT, LI, AA))
278 auto &DT = getAnalysis<DominatorTreeWrapperPass>().getDomTree();
282 return iterativelySinkInstructions(F, DT, LI, AA);