Home
last modified time | relevance | path

Searched refs:loop_header (Results 1 – 13 of 13) sorted by relevance

/art/compiler/optimizing/
Dsuspend_check_test.cc39 HBasicBlock* loop_header = first_block->GetSingleSuccessor(); in TestCode() local
40 ASSERT_TRUE(loop_header->IsLoopHeader()); in TestCode()
41 ASSERT_EQ(loop_header->GetLoopInformation()->GetPreHeader(), first_block); in TestCode()
42 ASSERT_TRUE(loop_header->GetFirstInstruction()->IsSuspendCheck()); in TestCode()
Dbounds_check_elimination_test.cc379 HBasicBlock* loop_header = new (allocator) HBasicBlock(graph); in BuildSSAGraph1() local
383 graph->AddBlock(loop_header); in BuildSSAGraph1()
386 block->AddSuccessor(loop_header); in BuildSSAGraph1()
387 loop_header->AddSuccessor(exit); // true successor in BuildSSAGraph1()
388 loop_header->AddSuccessor(loop_body); // false successor in BuildSSAGraph1()
389 loop_body->AddSuccessor(loop_header); in BuildSSAGraph1()
402 loop_header->AddPhi(phi); in BuildSSAGraph1()
403 loop_header->AddInstruction(null_check); in BuildSSAGraph1()
404 loop_header->AddInstruction(array_length); in BuildSSAGraph1()
405 loop_header->AddInstruction(cmp); in BuildSSAGraph1()
[all …]
Dgvn_test.cc215 HBasicBlock* loop_header = new (GetAllocator()) HBasicBlock(graph); in TEST_F() local
219 graph->AddBlock(loop_header); in TEST_F()
222 block->AddSuccessor(loop_header); in TEST_F()
223 loop_header->AddSuccessor(loop_body); in TEST_F()
224 loop_header->AddSuccessor(exit); in TEST_F()
225 loop_body->AddSuccessor(loop_header); in TEST_F()
227 loop_header->AddInstruction(new (GetAllocator()) HInstanceFieldGet(parameter, in TEST_F()
236 HInstruction* field_get_in_loop_header = loop_header->GetLastInstruction(); in TEST_F()
237 loop_header->AddInstruction(new (GetAllocator()) HIf(block->GetLastInstruction())); in TEST_F()
276 ASSERT_EQ(field_get_in_loop_header->GetBlock(), loop_header); in TEST_F()
[all …]
Dsuperblock_cloner_test.cc48 HBasicBlock* loop_header = AddNewBlock(); in CreateBasicLoopControlFlow() local
53 loop_preheader->AddSuccessor(loop_header); in CreateBasicLoopControlFlow()
55 loop_header->AddSuccessor(successor); in CreateBasicLoopControlFlow()
56 loop_header->AddSuccessor(loop_body); in CreateBasicLoopControlFlow()
57 loop_body->AddSuccessor(loop_header); in CreateBasicLoopControlFlow()
59 *header_p = loop_header; in CreateBasicLoopControlFlow()
63 void CreateBasicLoopDataFlow(HBasicBlock* loop_header, HBasicBlock* loop_body) { in CreateBasicLoopDataFlow() argument
76 loop_header->AddPhi(phi); in CreateBasicLoopDataFlow()
77 loop_header->AddInstruction(suspend_check); in CreateBasicLoopDataFlow()
78 loop_header->AddInstruction(loop_check); in CreateBasicLoopDataFlow()
[all …]
Dgraph_checker.cc660 void GraphChecker::HandleLoop(HBasicBlock* loop_header) { in HandleLoop() argument
661 int id = loop_header->GetBlockId(); in HandleLoop()
662 HLoopInformation* loop_information = loop_header->GetLoopInformation(); in HandleLoop()
675 loop_header->GetBlockId())); in HandleLoop()
678 if (loop_information->GetSuspendCheck() != loop_header->GetFirstInstructionDisregardMoves()) { in HandleLoop()
681 loop_header->GetBlockId())); in HandleLoop()
686 size_t num_preds = loop_header->GetPredecessors().size(); in HandleLoop()
693 HBasicBlock* first_predecessor = loop_header->GetPredecessors()[0]; in HandleLoop()
699 for (size_t i = 1, e = loop_header->GetPredecessors().size(); i < e; ++i) { in HandleLoop()
700 HBasicBlock* predecessor = loop_header->GetPredecessors()[i]; in HandleLoop()
[all …]
Dsuperblock_cloner.cc1075 HBasicBlock* loop_header = loop_info->GetHeader(); in CollectRemappingInfoForPeelUnroll() local
1079 HEdge e = HEdge(back_edge_block, loop_header); in CollectRemappingInfoForPeelUnroll()
1090 remap_incoming->insert(HEdge(loop_info->GetPreHeader(), loop_header)); in CollectRemappingInfoForPeelUnroll()
1146 HBasicBlock* loop_header = loop_info_->GetHeader(); in DoLoopTransformationImpl() local
1148 DCHECK(loop_info_ == loop_header->GetLoopInformation()); in DoLoopTransformationImpl()
1149 HGraph* graph = loop_header->GetGraph(); in DoLoopTransformationImpl()
1169 oss << " was applied to the loop <" << loop_header->GetBlockId() << ">."; in DoLoopTransformationImpl()
1193 DCHECK(loop_info_ == loop_header->GetLoopInformation()); in DoLoopTransformationImpl()
1195 return loop_header; in DoLoopTransformationImpl()
Dgraph_checker.h85 void HandleLoop(HBasicBlock* loop_header);
Dregister_allocator_test.cc339 HBasicBlock* loop_header = graph->GetBlocks()[2]; in Loop3() local
340 HPhi* phi = loop_header->GetFirstPhi()->AsPhi(); in Loop3()
Dnodes.cc1098 HBasicBlock* loop_header) { in CopyFromWithLoopPhiAdjustment() argument
1099 DCHECK(loop_header->IsLoopHeader()); in CopyFromWithLoopPhiAdjustment()
1106 if (instruction->IsLoopHeaderPhi() && (instruction->GetBlock() == loop_header)) { in CopyFromWithLoopPhiAdjustment()
Dnodes.h2027 void CopyFromWithLoopPhiAdjustment(HEnvironment* env, HBasicBlock* loop_header);
/art/test/563-checker-fakestring/smali/
DTestCase.smali144 :loop_header
148 goto :loop_header
165 :loop_header
169 goto :loop_header
187 :loop_header
191 goto :loop_header
207 :loop_header
210 goto :loop_header
227 :loop_header
230 goto :loop_header
[all …]
/art/test/531-regression-debugphi/smali/
DTestCase.smali92 :loop_header
119 if-eqz p1, :loop_header
/art/test/559-checker-irreducible-loop/smali/
DIrreducibleLoop.smali362 # loop_header
379 :loop_header
383 goto :loop_header