Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dbounds_check_elimination_test.cc380 HBasicBlock* loop_header = new (allocator) HBasicBlock(graph); in BuildSSAGraph1() local
384 graph->AddBlock(loop_header); in BuildSSAGraph1()
387 block->AddSuccessor(loop_header); in BuildSSAGraph1()
388 loop_header->AddSuccessor(exit); // true successor in BuildSSAGraph1()
389 loop_header->AddSuccessor(loop_body); // false successor in BuildSSAGraph1()
390 loop_body->AddSuccessor(loop_header); in BuildSSAGraph1()
403 loop_header->AddPhi(phi); in BuildSSAGraph1()
404 loop_header->AddInstruction(null_check); in BuildSSAGraph1()
405 loop_header->AddInstruction(array_length); in BuildSSAGraph1()
406 loop_header->AddInstruction(cmp); in BuildSSAGraph1()
[all …]
Dsuspend_check_test.cc40 HBasicBlock* loop_header = first_block->GetSingleSuccessor(); in TestCode() local
41 ASSERT_TRUE(loop_header->IsLoopHeader()); in TestCode()
42 ASSERT_EQ(loop_header->GetLoopInformation()->GetPreHeader(), first_block); in TestCode()
43 ASSERT_TRUE(loop_header->GetFirstInstruction()->IsSuspendCheck()); in TestCode()
Dgvn_test.cc216 HBasicBlock* loop_header = new (GetAllocator()) HBasicBlock(graph); in TEST_F() local
220 graph->AddBlock(loop_header); in TEST_F()
223 block->AddSuccessor(loop_header); in TEST_F()
224 loop_header->AddSuccessor(loop_body); in TEST_F()
225 loop_header->AddSuccessor(exit); in TEST_F()
226 loop_body->AddSuccessor(loop_header); in TEST_F()
228 loop_header->AddInstruction(new (GetAllocator()) HInstanceFieldGet(parameter, in TEST_F()
237 HInstruction* field_get_in_loop_header = loop_header->GetLastInstruction(); in TEST_F()
238 loop_header->AddInstruction(new (GetAllocator()) HIf(block->GetLastInstruction())); in TEST_F()
277 ASSERT_EQ(field_get_in_loop_header->GetBlock(), loop_header); in TEST_F()
[all …]
Dsuperblock_cloner_test.cc49 HBasicBlock* loop_header = AddNewBlock(); in CreateBasicLoopControlFlow() local
54 loop_preheader->AddSuccessor(loop_header); in CreateBasicLoopControlFlow()
56 loop_header->AddSuccessor(successor); in CreateBasicLoopControlFlow()
57 loop_header->AddSuccessor(loop_body); in CreateBasicLoopControlFlow()
58 loop_body->AddSuccessor(loop_header); in CreateBasicLoopControlFlow()
60 *header_p = loop_header; in CreateBasicLoopControlFlow()
64 void CreateBasicLoopDataFlow(HBasicBlock* loop_header, HBasicBlock* loop_body) { in CreateBasicLoopDataFlow() argument
77 loop_header->AddPhi(phi); in CreateBasicLoopDataFlow()
78 loop_header->AddInstruction(suspend_check); in CreateBasicLoopDataFlow()
79 loop_header->AddInstruction(loop_check); in CreateBasicLoopDataFlow()
[all …]
Dgraph_checker.cc901 void GraphChecker::HandleLoop(HBasicBlock* loop_header) { in HandleLoop() argument
902 int id = loop_header->GetBlockId(); in HandleLoop()
903 HLoopInformation* loop_information = loop_header->GetLoopInformation(); in HandleLoop()
916 loop_header->GetBlockId())); in HandleLoop()
920 loop_information->GetSuspendCheck() != loop_header->GetFirstInstructionDisregardMoves()) { in HandleLoop()
923 loop_header->GetBlockId())); in HandleLoop()
928 size_t num_preds = loop_header->GetPredecessors().size(); in HandleLoop()
935 HBasicBlock* first_predecessor = loop_header->GetPredecessors()[0]; in HandleLoop()
941 for (size_t i = 1, e = loop_header->GetPredecessors().size(); i < e; ++i) { in HandleLoop()
942 HBasicBlock* predecessor = loop_header->GetPredecessors()[i]; in HandleLoop()
[all …]
Dsuperblock_cloner.cc1082 HBasicBlock* loop_header = loop_info->GetHeader(); in CollectRemappingInfoForPeelUnroll() local
1086 HEdge e = HEdge(back_edge_block, loop_header); in CollectRemappingInfoForPeelUnroll()
1097 remap_incoming->insert(HEdge(loop_info->GetPreHeader(), loop_header)); in CollectRemappingInfoForPeelUnroll()
1153 HBasicBlock* loop_header = loop_info_->GetHeader(); in DoLoopTransformationImpl() local
1155 DCHECK(loop_info_ == loop_header->GetLoopInformation()); in DoLoopTransformationImpl()
1156 HGraph* graph = loop_header->GetGraph(); in DoLoopTransformationImpl()
1173 oss << " was applied to the loop <" << loop_header->GetBlockId() << ">."; in DoLoopTransformationImpl()
1197 DCHECK(loop_info_ == loop_header->GetLoopInformation()); in DoLoopTransformationImpl()
1199 return loop_header; in DoLoopTransformationImpl()
Dgraph_checker.h93 void HandleLoop(HBasicBlock* loop_header);
Dregister_allocator_test.cc312 HBasicBlock* loop_header = graph->GetBlocks()[2]; in TEST_F() local
313 HPhi* phi = loop_header->GetFirstPhi()->AsPhi(); in TEST_F()
Dload_store_elimination_test.cc1801 GET_BLOCK(loop_header); in TEST_F()
1852 loop_header->AddInstruction(suspend_check_header); in TEST_F()
1853 loop_header->AddInstruction(call_loop_header); in TEST_F()
1854 loop_header->AddInstruction(if_loop_header); in TEST_F()
Dload_store_elimination.cc792 bool MayAliasOnBackEdge(HBasicBlock* loop_header, size_t idx1, size_t idx2) const;
1835 bool LSEVisitor::MayAliasOnBackEdge(HBasicBlock* loop_header, size_t idx1, size_t idx2) const { in MayAliasOnBackEdge() argument
1837 DCHECK(loop_header->IsLoopHeader()); in MayAliasOnBackEdge()
1852 HLoopInformation* loop_info = loop_header->GetLoopInformation(); in MayAliasOnBackEdge()
Dnodes.cc1156 HBasicBlock* loop_header) { in CopyFromWithLoopPhiAdjustment() argument
1157 DCHECK(loop_header->IsLoopHeader()); in CopyFromWithLoopPhiAdjustment()
1164 if (instruction->IsLoopHeaderPhi() && (instruction->GetBlock() == loop_header)) { in CopyFromWithLoopPhiAdjustment()
Dnodes.h2120 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.smali361 # loop_header
378 :loop_header
382 goto :loop_header