Searched refs:loop_header (Results 1 – 13 of 13) sorted by relevance
39 HBasicBlock* loop_header = first_block->GetSingleSuccessor(); in TestCode() local40 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()
379 HBasicBlock* loop_header = new (allocator) HBasicBlock(graph); in BuildSSAGraph1() local383 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 …]
215 HBasicBlock* loop_header = new (GetAllocator()) HBasicBlock(graph); in TEST_F() local219 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 …]
48 HBasicBlock* loop_header = AddNewBlock(); in CreateBasicLoopControlFlow() local53 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() argument76 loop_header->AddPhi(phi); in CreateBasicLoopDataFlow()77 loop_header->AddInstruction(suspend_check); in CreateBasicLoopDataFlow()78 loop_header->AddInstruction(loop_check); in CreateBasicLoopDataFlow()[all …]
660 void GraphChecker::HandleLoop(HBasicBlock* loop_header) { in HandleLoop() argument661 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 …]
1075 HBasicBlock* loop_header = loop_info->GetHeader(); in CollectRemappingInfoForPeelUnroll() local1079 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() local1148 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()
85 void HandleLoop(HBasicBlock* loop_header);
339 HBasicBlock* loop_header = graph->GetBlocks()[2]; in Loop3() local340 HPhi* phi = loop_header->GetFirstPhi()->AsPhi(); in Loop3()
1098 HBasicBlock* loop_header) { in CopyFromWithLoopPhiAdjustment() argument1099 DCHECK(loop_header->IsLoopHeader()); in CopyFromWithLoopPhiAdjustment()1106 if (instruction->IsLoopHeaderPhi() && (instruction->GetBlock() == loop_header)) { in CopyFromWithLoopPhiAdjustment()
2027 void CopyFromWithLoopPhiAdjustment(HEnvironment* env, HBasicBlock* loop_header);
144 :loop_header148 goto :loop_header165 :loop_header169 goto :loop_header187 :loop_header191 goto :loop_header207 :loop_header210 goto :loop_header227 :loop_header230 goto :loop_header[all …]
92 :loop_header119 if-eqz p1, :loop_header
362 # loop_header379 :loop_header383 goto :loop_header