Home
last modified time | relevance | path

Searched refs:last_instruction (Results 1 – 5 of 5) sorted by relevance

/art/compiler/optimizing/
Ddead_code_elimination.cc45 HInstruction* last_instruction = block->GetLastInstruction(); in MarkReachableBlocks() local
46 if (last_instruction->IsIf()) { in MarkReachableBlocks()
47 HIf* if_instruction = last_instruction->AsIf(); in MarkReachableBlocks()
59 } else if (last_instruction->IsPackedSwitch()) { in MarkReachableBlocks()
60 HPackedSwitch* switch_instruction = last_instruction->AsPackedSwitch(); in MarkReachableBlocks()
Dgraph_checker.cc151 HInstruction* last_instruction = IsExitTryBoundaryIntoExitBlock(predecessor) ? in VisitBasicBlock() local
154 if (!IsAllowedToJumpToExitBlock(last_instruction)) { in VisitBasicBlock()
156 last_instruction->DebugName(), in VisitBasicBlock()
157 last_instruction->GetId())); in VisitBasicBlock()
Dnodes.cc2472 HInstruction* last_instruction = predecessor->GetLastInstruction(); in DisconnectAndDelete() local
2473 if (last_instruction->IsTryBoundary() && !IsCatchBlock()) { in DisconnectAndDelete()
2479 DCHECK_EQ(last_instruction->AsTryBoundary()->GetNormalFlowSuccessor(), this); in DisconnectAndDelete()
2494 DCHECK(last_instruction->IsIf() || in DisconnectAndDelete()
2495 last_instruction->IsPackedSwitch() || in DisconnectAndDelete()
2496 (last_instruction->IsTryBoundary() && IsCatchBlock())); in DisconnectAndDelete()
2497 predecessor->RemoveInstruction(last_instruction); in DisconnectAndDelete()
2498 predecessor->AddInstruction(new (graph_->GetAllocator()) HGoto(last_instruction->GetDexPc())); in DisconnectAndDelete()
2503 predecessor->RemoveInstruction(last_instruction); in DisconnectAndDelete()
2509 DCHECK(last_instruction->IsPackedSwitch() || in DisconnectAndDelete()
[all …]
/art/dexlayout/
Ddexlayout_test.cc685 DexInstructionIterator last_instruction = instructions.begin(); in TEST_F() local
687 last_instruction = dex_it; in TEST_F()
689 if (last_instruction->SizeInCodeUnits() == 1) { in TEST_F()
691 const_cast<Instruction&>(last_instruction.Inst()).SetOpcode( in TEST_F()
699 EXPECT_TRUE(it2 == last_instruction); in TEST_F()
/art/dex2oat/
Ddex2oat_test.cc2062 DexInstructionIterator last_instruction = instructions.begin(); in TEST_F() local
2064 last_instruction = dex_it; in TEST_F()
2066 ASSERT_EQ(last_instruction->SizeInCodeUnits(), 1u); in TEST_F()
2068 const_cast<Instruction&>(last_instruction.Inst()).SetOpcode( in TEST_F()
2076 EXPECT_TRUE(it2 == last_instruction); in TEST_F()