Home
last modified time | relevance | path

Searched refs:m_Br (Results 1 – 25 of 27) sorted by relevance

12

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopDeletion.cpp110 m_Br(m_ConstantInt(Cond), Taken, NotTaken))) in isLoopNeverExecuted()
DNewGVN.cpp2475 if (match(TI, m_Br(m_Value(Cond), TrueSucc, FalseSucc))) { in processOutgoingEdges()
/external/llvm-project/llvm/unittests/IR/
DPatternMatch.cpp1243 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/
DLoopDeletion.cpp116 m_Br(m_ConstantInt(Cond), Taken, NotTaken))) in isLoopNeverExecuted()
DIndVarSimplify.cpp1337 if (!match(BI, m_Br(m_ICmp(Pred, m_Value(LHS), m_Value(RHS)), in optimizeLoopExitWithUnknownExitCount()
DNewGVN.cpp2428 if (match(TI, m_Br(m_Value(Cond), TrueSucc, FalseSucc))) { in processOutgoingEdges()
/external/llvm-project/llvm/examples/IRTransforms/
DSimplifyCFG.cpp232 m_Br(m_ConstantInt(CI), m_BasicBlock(TakenSucc), in eliminateCondBranches_v3()
/external/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
DAggressiveInstCombine.cpp140 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/
DAggressiveInstCombine.cpp127 if (!match(TermI, m_Br(m_ICmp(Pred, m_Specific(RotAmt), m_ZeroInt()), in foldGuardedRotateToFunnelShift()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp2048 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()
DInstCombineCompares.cpp3338 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/
DInstructionCombining.cpp2532 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/
DPatternMatch.h1445 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/
DInstructionCombining.cpp2733 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()
DInstCombineSelect.cpp2507 m_Br(m_Specific(Cond), m_BasicBlock(TrueSucc), in foldSelectToPhiImpl()
2512 m_Br(m_Not(m_Specific(Cond)), m_BasicBlock(TrueSucc), in foldSelectToPhiImpl()
DInstCombineCompares.cpp1492 if (!match(DomBB->getTerminator(), m_Br(m_Value(DomCond), TrueBB, FalseBB))) in foldICmpWithDominatingICmp()
/external/llvm-project/llvm/include/llvm/IR/
DPatternMatch.h1661 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/
DPatternMatch.h942 inline brc_match<Cond_t> m_Br(const Cond_t &C, BasicBlock *&T, BasicBlock *&F) { in m_Br() function
/external/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp1905 m_Br(m_ICmp(Pred, m_Instruction(LHS), m_Instruction(RHS)), in findExistingExpansion()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp2107 m_Br(m_ICmp(Pred, m_Instruction(LHS), m_Instruction(RHS)), in getRelatedExistingExpansion()
DValueTracking.cpp5580 if (!match(PredBB->getTerminator(), m_Br(m_Value(PredCond), TrueBB, FalseBB))) in isImpliedByDomCondition()
/external/llvm-project/llvm/lib/Transforms/Utils/
DScalarEvolutionExpander.cpp2178 m_Br(m_ICmp(Pred, m_Instruction(LHS), m_Instruction(RHS)), in getRelatedExistingExpansion()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp1471 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/
DCodeGenPrepare.cpp1570 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/
DCodeGenPrepare.cpp5491 if (!match(BB.getTerminator(), m_Br(m_OneUse(m_BinOp(LogicOp)), TBB, FBB))) in splitBranchCondition()

12