Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp1336 BasicBlock *TrueSucc, *FalseSucc; in optimizeLoopExitWithUnknownExitCount() local
1338 m_BasicBlock(TrueSucc), m_BasicBlock(FalseSucc)))) in optimizeLoopExitWithUnknownExitCount()
1341 assert((L->contains(TrueSucc) != L->contains(FalseSucc)) && in optimizeLoopExitWithUnknownExitCount()
DLoopIdiomRecognize.cpp1253 BasicBlock *TrueSucc = BI->getSuccessor(0); in matchCondition() local
1256 std::swap(TrueSucc, FalseSucc); in matchCondition()
1259 if ((Pred == ICmpInst::ICMP_NE && TrueSucc == LoopEntry) || in matchCondition()
DGVN.cpp2202 BasicBlock *TrueSucc = BI->getSuccessor(0); in processInstruction() local
2205 if (TrueSucc == FalseSucc) in processInstruction()
2211 Value *TrueVal = ConstantInt::getTrue(TrueSucc->getContext()); in processInstruction()
2212 BasicBlockEdge TrueE(Parent, TrueSucc); in processInstruction()
DNewGVN.cpp2427 BasicBlock *TrueSucc, *FalseSucc; in processOutgoingEdges() local
2428 if (match(TI, m_Br(m_Value(Cond), TrueSucc, FalseSucc))) { in processOutgoingEdges()
2445 updateReachableEdge(B, TrueSucc); in processOutgoingEdges()
2452 updateReachableEdge(B, TrueSucc); in processOutgoingEdges()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp1177 BasicBlock *TrueSucc = BI->getSuccessor(0); in matchCondition() local
1180 std::swap(TrueSucc, FalseSucc); in matchCondition()
1183 if ((Pred == ICmpInst::ICMP_NE && TrueSucc == LoopEntry) || in matchCondition()
DGVN.cpp2022 BasicBlock *TrueSucc = BI->getSuccessor(0); in processInstruction() local
2025 if (TrueSucc == FalseSucc) in processInstruction()
2031 Value *TrueVal = ConstantInt::getTrue(TrueSucc->getContext()); in processInstruction()
2032 BasicBlockEdge TrueE(Parent, TrueSucc); in processInstruction()
DNewGVN.cpp2474 BasicBlock *TrueSucc, *FalseSucc; in processOutgoingEdges() local
2475 if (match(TI, m_Br(m_Value(Cond), TrueSucc, FalseSucc))) { in processOutgoingEdges()
2492 updateReachableEdge(B, TrueSucc); in processOutgoingEdges()
2499 updateReachableEdge(B, TrueSucc); in processOutgoingEdges()
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp2099 BasicBlock *TrueSucc = BI->getSuccessor(0); in processInstruction() local
2102 if (TrueSucc == FalseSucc) in processInstruction()
2108 Value *TrueVal = ConstantInt::getTrue(TrueSucc->getContext()); in processInstruction()
2109 BasicBlockEdge TrueE(Parent, TrueSucc); in processInstruction()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp2505 BasicBlock *TrueSucc, *FalseSucc; in foldSelectToPhiImpl() local
2507 m_Br(m_Specific(Cond), m_BasicBlock(TrueSucc), in foldSelectToPhiImpl()
2512 m_Br(m_Not(m_Specific(Cond)), m_BasicBlock(TrueSucc), in foldSelectToPhiImpl()
2520 if (TrueSucc == FalseSucc) in foldSelectToPhiImpl()
2528 BasicBlockEdge TrueEdge(IDom, TrueSucc); in foldSelectToPhiImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp2460 BasicBlock *TrueSucc = BI->getSuccessor(0); in SimplifyCondBranchToTwoReturns() local
2462 ReturnInst *TrueRet = cast<ReturnInst>(TrueSucc->getTerminator()); in SimplifyCondBranchToTwoReturns()
2468 if (!TrueSucc->getFirstNonPHIOrDbg()->isTerminator()) in SimplifyCondBranchToTwoReturns()
2478 TrueSucc->removePredecessor(BI->getParent()); in SimplifyCondBranchToTwoReturns()
2492 if (TVPN->getParent() == TrueSucc) in SimplifyCondBranchToTwoReturns()
2512 TrueSucc->removePredecessor(BI->getParent()); in SimplifyCondBranchToTwoReturns()
2535 << *TrueSucc << "FALSEBLOCK: " << *FalseSucc); in SimplifyCondBranchToTwoReturns()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp2063 BasicBlock *TrueSucc = BI->getSuccessor(0); in SimplifyCondBranchToTwoReturns() local
2065 ReturnInst *TrueRet = cast<ReturnInst>(TrueSucc->getTerminator()); in SimplifyCondBranchToTwoReturns()
2071 if (!TrueSucc->getFirstNonPHIOrDbg()->isTerminator()) in SimplifyCondBranchToTwoReturns()
2081 TrueSucc->removePredecessor(BI->getParent()); in SimplifyCondBranchToTwoReturns()
2095 if (TVPN->getParent() == TrueSucc) in SimplifyCondBranchToTwoReturns()
2115 TrueSucc->removePredecessor(BI->getParent()); in SimplifyCondBranchToTwoReturns()
2138 << "TRUEBLOCK: " << *TrueSucc << "FALSEBLOCK: " << *FalseSucc); in SimplifyCondBranchToTwoReturns()
/external/llvm-project/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp2590 BasicBlock *TrueSucc = BI->getSuccessor(0); in SimplifyCondBranchToTwoReturns() local
2592 ReturnInst *TrueRet = cast<ReturnInst>(TrueSucc->getTerminator()); in SimplifyCondBranchToTwoReturns()
2598 if (!TrueSucc->getFirstNonPHIOrDbg()->isTerminator()) in SimplifyCondBranchToTwoReturns()
2608 TrueSucc->removePredecessor(BI->getParent()); in SimplifyCondBranchToTwoReturns()
2622 if (TVPN->getParent() == TrueSucc) in SimplifyCondBranchToTwoReturns()
2642 TrueSucc->removePredecessor(BI->getParent()); in SimplifyCondBranchToTwoReturns()
2665 << *TrueSucc << "\nFALSEBLOCK: " << *FalseSucc); in SimplifyCondBranchToTwoReturns()
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringX86BaseImpl.h3478 CfgNode *TrueSucc = Br->getTargetTrue();
3481 std::swap(TrueSucc, FalseSucc);
3487 _br(TrueSucc);