Home
last modified time | relevance | path

Searched refs:GetLastInst (Results 1 – 14 of 14) sorted by relevance

/arkcompiler/runtime_core/compiler/tests/
DirBuilder_tests.cpp174 EXPECT_TRUE(bb->GetLastInst()->IsIntrinsic()); in __anon1538a8fc0302()
175 EXPECT_TRUE((static_cast<IntrinsicInst *>(bb->GetLastInst()))->GetIntrinsicId() == in __anon1538a8fc0302()
209 EXPECT_TRUE(bb->GetSuccessor(0)->GetLastInst()->IsIntrinsic()); in __anon1538a8fc0302()
210 …EXPECT_TRUE((static_cast<IntrinsicInst *>(bb->GetSuccessor(0)->GetLastInst()))->GetIntrinsicId() == in __anon1538a8fc0302()
214 EXPECT_TRUE(bb->GetLastInst()->IsIntrinsic()); in __anon1538a8fc0302()
215 EXPECT_TRUE((static_cast<IntrinsicInst *>(bb->GetLastInst()))->GetIntrinsicId() == in __anon1538a8fc0302()
318 EXPECT_TRUE(bb->GetLastInst()->IsIntrinsic()); in __anon1538a8fc0402()
319 … EXPECT_TRUE((static_cast<IntrinsicInst *>(bb->GetLastInst()))->GetIntrinsicId() == in __anon1538a8fc0402()
332 EXPECT_TRUE(bb->GetLastInst()->IsIntrinsic()); in __anon1538a8fc0402()
333 … EXPECT_TRUE((static_cast<IntrinsicInst *>(bb->GetLastInst()))->GetIntrinsicId() == in __anon1538a8fc0402()
[all …]
Dcompiler_basicblock_test.cpp306 … block->InsertRangeBefore(block->GetFirstInst(), block->GetLastInst(), graph->GetFirstConstInst()); in __anon9f1e038e0a02()
307 EXPECT_EQ(block->GetLastInst()->GetNext(), graph->GetFirstConstInst()); in __anon9f1e038e0a02()
416 start_block->AppendRangeInst(graph->GetFirstConstInst(), start_block->GetLastInst()); in __anon9f1e038e0d02()
417 EXPECT_EQ(graph->GetFirstConstInst()->GetPrev(), start_block->GetLastInst()); in __anon9f1e038e0d02()
445 auto inst = bb->GetLastInst(); in __anon9f1e038e0e02()
491 bb->GetLastInst()->SetOpcode(Opcode::If); in __anon9f1e038e0f02()
Dcompiler_graph_test.cpp162 block->GetLastInst()->SetOpcode(Opcode::If); in __anon65fffef30402()
163 EXPECT_EQ(block->GetLastInst()->GetOpcode(), Opcode::If); in __anon65fffef30402()
Dsplit_resolver_test.cpp223 …CheckSpillFills(BB(4).GetPredsBlocks()[0]->GetLastInst(), {{LocationType::REGISTER, LocationType::… in TEST_F()
395 …CheckSpillFills(BB(4).GetPredsBlocks()[0]->GetLastInst(), {{LocationType::REGISTER, LocationType::… in TEST_F()
888 …CheckSpillFills(resolver_block->GetLastInst(), {{LocationType::STACK, LocationType::REGISTER, 0, 4… in TEST_F()
Dbranch_elimination_test.cpp133 auto inst_if = BB(CONST_CONDITION_BLOCK_ID).GetLastInst(); in BuildTestGraph()
199 auto inst_if = BB(CONST_CONDITION_BLOCK_ID).GetLastInst(); in BuildTestGraph2()
463 BB(4).GetLastInst()->SetInput(0, &INS(3)); in TEST_F()
/arkcompiler/runtime_core/compiler/optimizer/analysis/
Dlinear_order.cpp34 auto if_inst = if_true_block->GetLastInst(); in HandleIfBlock()
53 auto prev_inst = prev_block->GetLastInst(); in HandlePrevInstruction()
63 … if (block != prev_block->GetSuccessor(0) && !prev_block->GetLastInst()->IsControlFlow()) { in HandlePrevInstruction()
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dgraph_cloner.cpp215 auto ifimm = back_edge->GetLastInst(); in SplitBackEdge()
303 auto compare = unroll_data->backedge->GetLastInst()->GetPrev(); in UpdateUsersAfterNoSideExitsUnroll()
500 auto ifimm = last_block->GetLastInst(); in RemoveLoopBackEdge()
778 auto ifimm = pre_header->GetLastInst(); in PrepareLoopToClone()
955 auto back_edge_compare = exit_block->GetLastInst()->GetInput(0).GetInst(); in BuildLoopCloneDataFlow()
989 auto ifimm = pre_header->GetLastInst(); in IsLoopClonable()
Dgraph.cpp237 auto last = pred->GetLastInst(); in RemovePredecessors()
347 ASSERT(block->GetLastInst() == nullptr); in RemoveEmptyBlock()
549 auto last_inst = block->GetLastInst(); in GetBranchCounter()
Dgraph_checker.cpp534 [[maybe_unused]] auto last_inst_in_block = block.GetLastInst(); in CheckBlockEdges()
546 auto last_inst = block.GetLastInst(); in CheckBlockEdges()
721 CheckObjectRec(object, user, pred, pred->GetLastInst(), visited); in CheckObjectRec()
Dbasicblock.cpp202 ASSERT(GetLastInst() == nullptr); in RemoveEmptyBlock()
Dbasicblock.h274 Inst *GetLastInst() const in GetLastInst() function
/arkcompiler/runtime_core/bytecode_optimizer/
Dcodegen.cpp199 if (bb->GetLastInst() == nullptr) { in EmitJump()
206 ASSERT(bb->GetLastInst() != nullptr); in EmitJump()
207 switch (bb->GetLastInst()->GetOpcode()) { in EmitJump()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Dcleanup.cpp209 auto last = pred->GetLastInst(); in ProcessBB()
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dir_builder.cpp142 auto current_last_inst = bb->GetLastInst(); in BuildInstructionsForBB()