/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopDeletion.cpp | 110 m_Br(m_ConstantInt(Cond), Taken, NotTaken))) in isLoopNeverExecuted()
|
D | NewGVN.cpp | 2475 if (match(TI, m_Br(m_Value(Cond), TrueSucc, FalseSucc))) { in processOutgoingEdges()
|
/external/llvm-project/llvm/unittests/IR/ |
D | PatternMatch.cpp | 1243 EXPECT_TRUE(match(Br1, m_Br(m_Value(), m_BasicBlock(), m_BasicBlock()))); in TEST_F() 1246 EXPECT_TRUE(match(Br1, m_Br(m_Value(), m_BasicBlock(A), m_BasicBlock(B)))); in TEST_F() 1251 match(Br1, m_Br(m_Value(), m_SpecificBB(FalseBB), m_BasicBlock()))); in TEST_F() 1253 match(Br1, m_Br(m_Value(), m_BasicBlock(), m_SpecificBB(TrueBB)))); in TEST_F() 1255 match(Br1, m_Br(m_Value(), m_SpecificBB(FalseBB), m_BasicBlock(TrueBB)))); in TEST_F() 1257 match(Br1, m_Br(m_Value(), m_SpecificBB(TrueBB), m_BasicBlock(FalseBB)))); in TEST_F() 1260 EXPECT_FALSE(match(Br1, m_Br(m_Value(), m_BasicBlock(A), m_Deferred(A)))); in TEST_F() 1263 EXPECT_TRUE(match(Br2, m_Br(m_Value(), m_BasicBlock(A), m_Deferred(A)))); in TEST_F()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | LoopDeletion.cpp | 116 m_Br(m_ConstantInt(Cond), Taken, NotTaken))) in isLoopNeverExecuted()
|
D | IndVarSimplify.cpp | 1337 if (!match(BI, m_Br(m_ICmp(Pred, m_Value(LHS), m_Value(RHS)), in optimizeLoopExitWithUnknownExitCount()
|
D | NewGVN.cpp | 2428 if (match(TI, m_Br(m_Value(Cond), TrueSucc, FalseSucc))) { in processOutgoingEdges()
|
/external/llvm-project/llvm/examples/IRTransforms/ |
D | SimplifyCFG.cpp | 232 m_Br(m_ConstantInt(CI), m_BasicBlock(TakenSucc), in eliminateCondBranches_v3()
|
/external/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
D | AggressiveInstCombine.cpp | 140 if (!match(TermI, m_Br(m_ICmp(Pred, m_Specific(ShAmt), m_ZeroInt()), in foldGuardedRotateToFunnelShift()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/AggressiveInstCombine/ |
D | AggressiveInstCombine.cpp | 127 if (!match(TermI, m_Br(m_ICmp(Pred, m_Specific(RotAmt), m_ZeroInt()), in foldGuardedRotateToFunnelShift()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 2048 if (!match(TI, m_Br(m_ICmp(Pred, m_Specific(Op), m_Zero()), TrueBB, FalseBB))) in tryToMoveFreeBeforeNullTest() 2118 if (match(&BI, m_Br(m_Not(m_Value(X)), TrueDest, FalseDest)) && in visitBranchInst() 2137 if (match(&BI, m_Br(m_FCmp(FPred, m_Value(X), m_Value(Y)), in visitBranchInst() 2153 if (match(&BI, m_Br(m_ICmp(IPred, m_Value(X), m_Value(Y)), in visitBranchInst()
|
D | InstCombineCompares.cpp | 3338 if (BI && match(BI, m_Br(m_ICmp(Pred, m_Specific(Op0), m_ConstantInt(CI2)), in visitICmpInst()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 2532 if (!match(TI, m_Br(m_ICmp(Pred, in tryToMoveFreeBeforeNullTest() 2610 if (match(&BI, m_Br(m_Not(m_Value(X)), m_BasicBlock(), m_BasicBlock())) && in visitBranchInst() 2628 if (match(&BI, m_Br(m_OneUse(m_Cmp(Pred, m_Value(), m_Value())), in visitBranchInst()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | PatternMatch.h | 1445 m_Br(const Cond_t &C, BasicBlock *&T, BasicBlock *&F) { in m_Br() function 1452 m_Br(const Cond_t &C, const TrueBlock_t &T, const FalseBlock_t &F) { in m_Br() function
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 2733 if (!match(TI, m_Br(m_ICmp(Pred, in tryToMoveFreeBeforeNullTest() 2885 if (match(&BI, m_Br(m_Not(m_Value(X)), m_BasicBlock(), m_BasicBlock())) && in visitBranchInst() 2901 if (match(&BI, m_Br(m_OneUse(m_FCmp(Pred, m_Value(), m_Value())), in visitBranchInst()
|
D | InstCombineSelect.cpp | 2507 m_Br(m_Specific(Cond), m_BasicBlock(TrueSucc), in foldSelectToPhiImpl() 2512 m_Br(m_Not(m_Specific(Cond)), m_BasicBlock(TrueSucc), in foldSelectToPhiImpl()
|
D | InstCombineCompares.cpp | 1492 if (!match(DomBB->getTerminator(), m_Br(m_Value(DomCond), TrueBB, FalseBB))) in foldICmpWithDominatingICmp()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | PatternMatch.h | 1661 m_Br(const Cond_t &C, BasicBlock *&T, BasicBlock *&F) { in m_Br() function 1668 m_Br(const Cond_t &C, const TrueBlock_t &T, const FalseBlock_t &F) { in m_Br() function
|
/external/llvm/include/llvm/IR/ |
D | PatternMatch.h | 942 inline brc_match<Cond_t> m_Br(const Cond_t &C, BasicBlock *&T, BasicBlock *&F) { in m_Br() function
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 1905 m_Br(m_ICmp(Pred, m_Instruction(LHS), m_Instruction(RHS)), in findExistingExpansion()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 2107 m_Br(m_ICmp(Pred, m_Instruction(LHS), m_Instruction(RHS)), in getRelatedExistingExpansion()
|
D | ValueTracking.cpp | 5580 if (!match(PredBB->getTerminator(), m_Br(m_Value(PredCond), TrueBB, FalseBB))) in isImpliedByDomCondition()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | ScalarEvolutionExpander.cpp | 2178 m_Br(m_ICmp(Pred, m_Instruction(LHS), m_Instruction(RHS)), in getRelatedExistingExpansion()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 1471 if (!match(DomBB->getTerminator(), m_Br(m_Value(DomCond), TrueBB, FalseBB))) in foldICmpWithDominatingICmp() 7350 if (!match(BB.getTerminator(), m_Br(m_OneUse(m_BinOp(LogicOp)), TBB, FBB))) in splitBranchCondition()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 1570 if (!match(DomBB->getTerminator(), m_Br(m_Value(DomCond), TrueBB, FalseBB))) in foldICmpWithDominatingICmp() 7840 if (!match(BB.getTerminator(), m_Br(m_OneUse(m_BinOp(LogicOp)), TBB, FBB))) in splitBranchCondition()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 5491 if (!match(BB.getTerminator(), m_Br(m_OneUse(m_BinOp(LogicOp)), TBB, FBB))) in splitBranchCondition()
|