Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp703 BranchInst *Pred1Br = dyn_cast<BranchInst>(Pred1->getTerminator()); in GetIfCondition() local
705 if (!Pred1Br || !Pred2Br) in GetIfCondition()
715 if (Pred1Br->isConditional()) in GetIfCondition()
719 std::swap(Pred1Br, Pred2Br); in GetIfCondition()
722 if (Pred1Br->isConditional()) { in GetIfCondition()
731 if (Pred1Br->getSuccessor(0) == BB && in GetIfCondition()
732 Pred1Br->getSuccessor(1) == Pred2) { in GetIfCondition()
735 } else if (Pred1Br->getSuccessor(0) == Pred2 && in GetIfCondition()
736 Pred1Br->getSuccessor(1) == BB) { in GetIfCondition()
745 return Pred1Br->getCondition(); in GetIfCondition()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp1022 BranchInst *Pred1Br = dyn_cast<BranchInst>(Pred1->getTerminator()); in GetIfCondition() local
1024 if (!Pred1Br || !Pred2Br) in GetIfCondition()
1034 if (Pred1Br->isConditional()) in GetIfCondition()
1038 std::swap(Pred1Br, Pred2Br); in GetIfCondition()
1041 if (Pred1Br->isConditional()) { in GetIfCondition()
1050 if (Pred1Br->getSuccessor(0) == BB && in GetIfCondition()
1051 Pred1Br->getSuccessor(1) == Pred2) { in GetIfCondition()
1054 } else if (Pred1Br->getSuccessor(0) == Pred2 && in GetIfCondition()
1055 Pred1Br->getSuccessor(1) == BB) { in GetIfCondition()
1064 return Pred1Br->getCondition(); in GetIfCondition()
/external/llvm-project/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp1078 BranchInst *Pred1Br = dyn_cast<BranchInst>(Pred1->getTerminator()); in GetIfCondition() local
1080 if (!Pred1Br || !Pred2Br) in GetIfCondition()
1090 if (Pred1Br->isConditional()) in GetIfCondition()
1094 std::swap(Pred1Br, Pred2Br); in GetIfCondition()
1097 if (Pred1Br->isConditional()) { in GetIfCondition()
1106 if (Pred1Br->getSuccessor(0) == BB && in GetIfCondition()
1107 Pred1Br->getSuccessor(1) == Pred2) { in GetIfCondition()
1110 } else if (Pred1Br->getSuccessor(0) == Pred2 && in GetIfCondition()
1111 Pred1Br->getSuccessor(1) == BB) { in GetIfCondition()
1120 return Pred1Br->getCondition(); in GetIfCondition()