Home
last modified time | relevance | path

Searched refs:Pred1Br (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DBasicBlockUtils.cpp1510 BranchInst *Pred1Br = dyn_cast<BranchInst>(Pred1->getTerminator()); in GetIfCondition() local
1512 if (!Pred1Br || !Pred2Br) in GetIfCondition()
1522 if (Pred1Br->isConditional()) in GetIfCondition()
1526 std::swap(Pred1Br, Pred2Br); in GetIfCondition()
1529 if (Pred1Br->isConditional()) { in GetIfCondition()
1538 if (Pred1Br->getSuccessor(0) == BB && in GetIfCondition()
1539 Pred1Br->getSuccessor(1) == Pred2) { in GetIfCondition()
1542 } else if (Pred1Br->getSuccessor(0) == Pred2 && in GetIfCondition()
1543 Pred1Br->getSuccessor(1) == BB) { in GetIfCondition()
1552 return Pred1Br; in GetIfCondition()