Home
last modified time | relevance | path

Searched refs:GetFirstConstInst (Results 1 – 8 of 8) sorted by relevance

/arkcompiler/runtime_core/compiler/tests/
Dcompiler_basicblock_test.cpp222 start_block->RemoveInst(graph->GetFirstConstInst()); in __anond946d00f0702()
306 … block->InsertRangeBefore(block->GetFirstInst(), block->GetLastInst(), graph->GetFirstConstInst()); in __anond946d00f0a02()
307 EXPECT_EQ(block->GetLastInst()->GetNext(), graph->GetFirstConstInst()); in __anond946d00f0a02()
384 graph->GetFirstConstInst()->SetBasicBlock(block); in __anond946d00f0c02()
385 EXPECT_EQ(graph->GetFirstConstInst()->GetBasicBlock(), block); in __anond946d00f0c02()
386 block->InsertAfter(inst, graph->GetFirstConstInst()); in __anond946d00f0c02()
387 EXPECT_EQ(graph->GetFirstConstInst()->GetNext(), inst); in __anond946d00f0c02()
414 graph->GetFirstConstInst()->SetPrev(nullptr); in __anond946d00f0d02()
415 EXPECT_EQ(graph->GetFirstConstInst()->GetPrev(), nullptr); in __anond946d00f0d02()
416 start_block->AppendRangeInst(graph->GetFirstConstInst(), start_block->GetLastInst()); in __anond946d00f0d02()
[all …]
Dcompiler_inst_test.cpp170 auto constInst = graph->GetFirstConstInst(); in __anon1be7da800302()
198 const auto constInst = graph->GetFirstConstInst(); in __anon1be7da800402()
450 catch_phi_inst->AppendThrowableInst(graph->GetFirstConstInst()); in __anon1be7da800a02()
453 … auto it = std::find(catch_inst->begin(), catch_inst->end(), graph->GetFirstConstInst()); in __anon1be7da800a02()
456 catch_phi_inst->ReplaceThrowableInst(graph->GetFirstConstInst(), inst); in __anon1be7da800a02()
457 … auto it1 = std::find(catch_inst->begin(), catch_inst->end(), graph->GetFirstConstInst()); in __anon1be7da800a02()
Dcompiler_graph_test.cpp363 graph->RemoveConstFromList(graph->GetFirstConstInst()); in __anon1425b6d40b02()
364 EXPECT_NE(graph->GetFirstConstInst()->GetNextConst(), nullptr); in __anon1425b6d40b02()
Dinst_test.cpp225 for (auto current_const = GetGraph()->GetFirstConstInst(); current_const != nullptr; in TEST_F()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Dmove_constants.cpp35 for (auto const_inst = GetGraph()->GetFirstConstInst(); const_inst != nullptr;) { in RunImpl()
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dinst_builder.cpp287 ConstantInst *curr_const = GetGraph()->GetFirstConstInst(); in ResolveConstants()
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dgraph.cpp374 …for (auto constant = GetFirstConstInst(); constant != nullptr; constant = constant->GetNextConst()… in FindConstant()
Dgraph.h503 ConstantInst *GetFirstConstInst() in GetFirstConstInst() function