Home
last modified time | relevance | path

Searched refs:GetBranchCounter (Results 1 - 10 of 10) sorted by relevance

/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/
H A Dlinear_order.cpp175 auto counter0 = GetBranchCounter(block, true); in LeastLikelySuccessorByBranchCounter()
176 auto counter1 = GetBranchCounter(block, false); in LeastLikelySuccessorByBranchCounter()
191 int64_t LinearOrder::GetBranchCounter(const BasicBlock *block, bool trueSucc) in GetBranchCounter() function in ark::compiler::LinearOrder
193 auto counter = GetGraph()->GetBranchCounter(block, trueSucc); in GetBranchCounter()
257 counter += GetGraph()->GetBranchCounter(pred, pred->GetTrueSuccessor() == bb); in GetConditionChainTrueSuccessorCounter()
286 return GetGraph()->GetBranchCounter(falsePred, falsePred->GetTrueSuccessor() == bb); in GetConditionChainFalseSuccessorCounter()
H A Dlinear_order.h71 int64_t GetBranchCounter(const BasicBlock *block, bool trueSucc);
H A Dhotness_propagation.h184 return pred->GetGraph()->GetBranchCounter(pred, pred->GetTrueSuccessor() == succ); in GetEdgeHotness()
222 return pred->GetGraph()->GetBranchCounter(pred, pred->GetTrueSuccessor() == succ); in TryGetProfiledEdge()
/arkcompiler/runtime_core/compiler/optimizer/analysis/
H A Dlinear_order.cpp131 auto counter0 = GetGraph()->GetBranchCounter(block, true); in LeastLikelySuccessor()
132 auto counter1 = GetGraph()->GetBranchCounter(block, false); in LeastLikelySuccessor()
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
H A Dif_conversion.cpp112 auto trueCounter = GetGraph()->GetBranchCounter(bb, true); in GetIfcLimit()
113 auto falseCounter = GetGraph()->GetBranchCounter(bb, false); in GetIfcLimit()
/arkcompiler/runtime_core/compiler/optimizer/ir/
H A Dgraph.cpp547 int64_t Graph::GetBranchCounter(const BasicBlock *block, bool true_succ) in GetBranchCounter() function in panda::compiler::Graph
H A Dgraph.h967 int64_t GetBranchCounter(const BasicBlock *block, bool true_succ);
/arkcompiler/runtime_core/compiler/tests/
H A Dcompiler_graph_test.cpp137 * @tc.desc: Verify the GetBranchCounter function.
161 EXPECT_EQ(graph->GetBranchCounter(block, true), 1); in HWTEST_F()
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
H A Dgraph.cpp791 int64_t Graph::GetBranchCounter(const BasicBlock *block, bool trueSucc) in GetBranchCounter() function in ark::compiler::Graph
H A Dgraph.h1255 int64_t GetBranchCounter(const BasicBlock *block, bool trueSucc);

Completed in 10 milliseconds