Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/compiler/optimizer/analysis/
Ddominators_tree.cpp190 static bool IsPathBetweenBlocks(BasicBlock *start_block, BasicBlock *target_block, BasicBlock *excl… in IsPathBetweenBlocks() argument
192 auto marker_holder = MarkerHolder(target_block->GetGraph()); in IsPathBetweenBlocks()
194 return BlocksPathDfsSearch(marker, start_block, target_block, exclude_block); in IsPathBetweenBlocks()
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dir_builder.cpp309 auto target_block = blocks_[pc]; in ConnectBasicBlocks() local
312 ASSERT(target_block != nullptr); in ConnectBasicBlocks()
314 curr_bb->AddSucc(target_block, true); in ConnectBasicBlocks()
316 curr_bb = target_block; in ConnectBasicBlocks()
317 } else if (target_block != nullptr) { in ConnectBasicBlocks()
320 curr_bb->AddSucc(target_block); in ConnectBasicBlocks()
323 curr_bb = target_block; in ConnectBasicBlocks()
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dbasicblock.cpp750 bool BlocksPathDfsSearch(Marker marker, BasicBlock *block, const BasicBlock *target_block, in BlocksPathDfsSearch() argument
754 if (block == target_block) { in BlocksPathDfsSearch()
761 if (BlocksPathDfsSearch(marker, succ_block, target_block, exclude_block)) { in BlocksPathDfsSearch()
Dbasicblock.h1042 bool BlocksPathDfsSearch(Marker marker, BasicBlock *block, const BasicBlock *target_block,