Searched refs:mrk (Results 1 – 8 of 8) sorted by relevance
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
D | marker.h | 47 Marker mrk = (current_index_ << MARKERS_SHIFT) | i; in NewMarker() local 49 ASSERT(mrk != UNDEF_MARKER); in NewMarker() 50 return mrk; in NewMarker() 56 void EraseMarker(Marker mrk) const in EraseMarker() argument 58 spaces_[mrk & MARKERS_MASK] = false; in EraseMarker() 87 bool SetMarker(Marker mrk) in SetMarker() argument 89 uint32_t index = mrk & MARKERS_MASK; in SetMarker() 90 uint32_t value = mrk >> MARKERS_SHIFT; in SetMarker() 100 bool IsMarked(Marker mrk) in IsMarked() argument 102 uint32_t index = mrk & MARKERS_MASK; in IsMarked() [all …]
|
D | graph.cpp | 25 static void MarkBlocksRec(Marker mrk, BasicBlock *block) in MarkBlocksRec() argument 27 if (block->SetMarker(mrk)) { in MarkBlocksRec() 31 MarkBlocksRec(mrk, succ); in MarkBlocksRec() 41 Marker mrk = NewMarker(); in RemoveUnreachableBlocks() local 42 MarkBlocksRec(mrk, GetStartBlock()); in RemoveUnreachableBlocks() 48 if (!bb->IsMarked(mrk)) { in RemoveUnreachableBlocks() 68 EraseMarker(mrk); in RemoveUnreachableBlocks()
|
D | graph_checker.cpp | 363 void GraphChecker::MarkBlocksInLoop(Loop *loop, Marker mrk) in MarkBlocksInLoop() argument 369 ASSERT(!block->SetMarker(mrk)); in MarkBlocksInLoop() 373 MarkBlocksInLoop(inner, mrk); in MarkBlocksInLoop() 416 auto mrk = GetGraph()->NewMarker(); in CheckLoops() local 417 MarkBlocksInLoop(root_loop, mrk); in CheckLoops() 422 ASSERT(block->IsMarked(mrk)); in CheckLoops() 438 GetGraph()->EraseMarker(mrk); in CheckLoops()
|
D | graph_checker.h | 74 void MarkBlocksInLoop(Loop *loop, Marker mrk);
|
/arkcompiler/runtime_core/compiler/optimizer/optimizations/ |
D | cleanup.cpp | 306 void Cleanup::SetLiveRec(Inst *inst, Marker mrk, Marker live_mrk) in SetLiveRec() argument 310 if (!input->IsMarked(live_mrk) && input->IsMarked(mrk)) { in SetLiveRec() 311 input->ResetMarker(mrk); in SetLiveRec() 313 SetLiveRec(input, mrk, live_mrk); in SetLiveRec() 318 void Cleanup::LiveUserSearchRec(Inst *inst, Marker mrk, Marker live_mrk, Marker dead_mrk) in LiveUserSearchRec() argument 320 ASSERT(!inst->IsMarked(mrk)); in LiveUserSearchRec() 323 SetLiveRec(inst, mrk, live_mrk); in LiveUserSearchRec() 328 SetLiveRec(inst, mrk, live_mrk); in LiveUserSearchRec() 331 inst->SetMarker(mrk); in LiveUserSearchRec() 336 if (user->IsMarked(mrk)) { in LiveUserSearchRec() [all …]
|
D | cleanup.h | 65 void SetLiveRec(Inst *inst, Marker mrk, Marker live_mrk); 66 void LiveUserSearchRec(Inst *inst, Marker mrk, Marker live_mrk, Marker dead_mrk); 68 void Marking(Marker dead_mrk, Marker mrk, Marker live_mrk);
|
/arkcompiler/runtime_core/compiler/tests/ |
D | compiler_basicblock_test.cpp | 54 Marker mrk = 4; // 4: It's a random number in __anon9f1e038e0102() local 57 auto value = BlocksPathDfsSearch(mrk, start_block, start_block, end_block); in __anon9f1e038e0102() 64 EXPECT_TRUE(BlocksPathDfsSearch(mrk, start_block, end_block, bb->GetSuccessor(0))); in __anon9f1e038e0102() 65 EXPECT_FALSE(BlocksPathDfsSearch(mrk, start_block, bb->GetSuccessor(0), end_block)); in __anon9f1e038e0102() 66 EXPECT_FALSE(BlocksPathDfsSearch(mrk, end_block, start_block, bb->GetSuccessor(0))); in __anon9f1e038e0102()
|
D | compiler_graph_test.cpp | 75 Marker mrk = 16; // 16: random number in __anon65fffef30102() local 76 MarkBlocksRec(mrk, start_block); in __anon65fffef30102() 77 EXPECT_TRUE(start_block->IsMarked(mrk)); in __anon65fffef30102()
|