Lines Matching refs:Candidate
210 BasicBlock *Candidate = nullptr; in computeDominator() local
216 if (Candidate == nullptr) { in computeDominator()
217 Candidate = Pred; in computeDominator()
222 while (Alternate != Candidate) { in computeDominator()
223 if (Candidate->BlockID > Alternate->BlockID) in computeDominator()
224 Candidate = Candidate->DominatorNode.Parent; in computeDominator()
229 DominatorNode.Parent = Candidate; in computeDominator()
237 BasicBlock *Candidate = nullptr; in computePostDominator() local
243 if (Candidate == nullptr) { in computePostDominator()
244 Candidate = Succ; in computePostDominator()
249 while (Alternate != Candidate) { in computePostDominator()
250 if (Candidate->BlockID < Alternate->BlockID) in computePostDominator()
251 Candidate = Candidate->PostDominatorNode.Parent; in computePostDominator()
256 PostDominatorNode.Parent = Candidate; in computePostDominator()