Searched refs:GetLastInst (Results 1 – 14 of 14) sorted by relevance
/arkcompiler/runtime_core/compiler/tests/ |
D | irBuilder_tests.cpp | 174 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 …]
|
D | compiler_basicblock_test.cpp | 306 … 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()
|
D | compiler_graph_test.cpp | 162 block->GetLastInst()->SetOpcode(Opcode::If); in __anon65fffef30402() 163 EXPECT_EQ(block->GetLastInst()->GetOpcode(), Opcode::If); in __anon65fffef30402()
|
D | split_resolver_test.cpp | 223 …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()
|
D | branch_elimination_test.cpp | 133 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/ |
D | linear_order.cpp | 34 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/ |
D | graph_cloner.cpp | 215 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()
|
D | graph.cpp | 237 auto last = pred->GetLastInst(); in RemovePredecessors() 347 ASSERT(block->GetLastInst() == nullptr); in RemoveEmptyBlock() 549 auto last_inst = block->GetLastInst(); in GetBranchCounter()
|
D | graph_checker.cpp | 534 [[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()
|
D | basicblock.cpp | 202 ASSERT(GetLastInst() == nullptr); in RemoveEmptyBlock()
|
D | basicblock.h | 274 Inst *GetLastInst() const in GetLastInst() function
|
/arkcompiler/runtime_core/bytecode_optimizer/ |
D | codegen.cpp | 199 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/ |
D | cleanup.cpp | 209 auto last = pred->GetLastInst(); in ProcessBB()
|
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/ |
D | ir_builder.cpp | 142 auto current_last_inst = bb->GetLastInst(); in BuildInstructionsForBB()
|