Lines Matching refs:DT
66 DominatorTree &DT, LoopInfo &LI) {
87 if (!DT.dominates(Inst->getParent(), SuccToSinkTo))
104 DominatorTree &DT, LoopInfo &LI, AAResults &AA) {
140 if (!DT.isReachableFromEntry(UseBlock))
144 SuccToSinkTo = DT.findNearestCommonDominator(SuccToSinkTo, UseBlock);
148 if (!DT.dominates(BB, SuccToSinkTo))
156 !IsAcceptableTarget(Inst, SuccToSinkTo, DT, LI))
157 SuccToSinkTo = DT.getNode(SuccToSinkTo)->getIDom()->getBlock();
175 static bool ProcessBlock(BasicBlock &BB, DominatorTree &DT, LoopInfo &LI,
180 if (!DT.isReachableFromEntry(&BB)) return false;
201 if (SinkInstruction(Inst, Stores, DT, LI, AA)) {
212 static bool iterativelySinkInstructions(Function &F, DominatorTree &DT,
221 MadeChange |= ProcessBlock(I, DT, LI, AA);
230 auto &DT = AM.getResult<DominatorTreeAnalysis>(F);
234 if (!iterativelySinkInstructions(F, DT, LI, AA))
251 auto &DT = getAnalysis<DominatorTreeWrapperPass>().getDomTree();
255 return iterativelySinkInstructions(F, DT, LI, AA);