Home
last modified time | relevance | path

Searched refs:target_block (Results 1 - 4 of 4) sorted by relevance

/arkcompiler/runtime_core/compiler/optimizer/analysis/
H A Ddominators_tree.cpp194 * Check if there is path from `start_block` to `target_block` excluding `exclude_block`
196 static bool IsPathBetweenBlocks(BasicBlock *start_block, BasicBlock *target_block, BasicBlock *exclude_block) in IsPathBetweenBlocks() argument
198 auto marker_holder = MarkerHolder(target_block->GetGraph()); in IsPathBetweenBlocks()
200 return BlocksPathDfsSearch(marker, start_block, target_block, exclude_block); in IsPathBetweenBlocks()
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
H A Dir_builder.cpp302 auto target_block = blocks_[pc]; in ConnectBasicBlocks() local
305 ASSERT(target_block != nullptr); in ConnectBasicBlocks()
307 curr_bb->AddSucc(target_block, true); in ConnectBasicBlocks()
309 curr_bb = target_block; in ConnectBasicBlocks()
310 } else if (target_block != nullptr) { in ConnectBasicBlocks()
313 curr_bb->AddSucc(target_block); in ConnectBasicBlocks()
316 curr_bb = target_block; in ConnectBasicBlocks()
/arkcompiler/runtime_core/compiler/optimizer/ir/
H A Dbasicblock.cpp749 bool BlocksPathDfsSearch(Marker marker, BasicBlock *block, const BasicBlock *target_block, in BlocksPathDfsSearch() argument
753 if (block == target_block) { in BlocksPathDfsSearch()
760 if (BlocksPathDfsSearch(marker, succ_block, target_block, exclude_block)) { in BlocksPathDfsSearch()
H A Dbasicblock.h1039 * DFS-search to find path between `block` and `target_block`,
1042 bool BlocksPathDfsSearch(Marker marker, BasicBlock *block, const BasicBlock *target_block,

Completed in 6 milliseconds