Home
last modified time | relevance | path

Searched refs:HasUsers (Results 1 – 9 of 9) sorted by relevance

/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Dmove_constants.cpp38 if (const_inst->HasUsers()) { in RunImpl()
108 ASSERT(inst->HasUsers()); in GetUsersDominatingBlocks()
/arkcompiler/runtime_core/compiler/tests/
Dbranch_elimination_test.cpp230 EXPECT_FALSE(INS(17).HasUsers()); in TEST_F()
242 EXPECT_TRUE(phi->HasUsers()); in TEST_F()
276 EXPECT_TRUE(phi->HasUsers()); in TEST_F()
289 EXPECT_FALSE(INS(17).HasUsers()); in TEST_F()
321 EXPECT_TRUE(phi->HasUsers()); in TEST_F()
355 EXPECT_TRUE(phi->HasUsers()); in TEST_F()
391 EXPECT_TRUE(phi->HasUsers()); in TEST_F()
426 EXPECT_TRUE(phi->HasUsers()); in TEST_F()
475 EXPECT_FALSE(phi->HasUsers()); in TEST_F()
646 EXPECT_FALSE(INS(5).HasUsers()); in TEST_F()
[all …]
Dcleanup_test.cpp1159 ASSERT_FALSE(INS(0).HasUsers()); in TEST_F()
1175 ASSERT_FALSE(INS(0).HasUsers()); in TEST_F()
1195 ASSERT_FALSE(INS(4).HasUsers()); in TEST_F()
/arkcompiler/runtime_core/compiler/optimizer/templates/
Dinst_checker_gen.h.erb49 ASSERT(!inst->HasUsers());
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dinst.cpp122 if (curr_input->GetBasicBlock() != nullptr && curr_input->HasUsers()) { in Remove()
131 if (last_input->HasUsers()) { in Remove()
Dgraph_cloner.cpp549 if (resolver_phi->HasUsers()) { in BuildClonedLoopHeaderDataFlow()
635 if (!inst->HasUsers()) { in UpdateUsersForClonedLoopHeader()
666 if (phi_in->HasUsers()) { in UpdateUsersForClonedLoopHeader()
681 if (phi_out->HasUsers()) { in UpdateUsersForClonedLoopHeader()
Dinst.h1024 ASSERT(HasUsers()); in RemoveUser()
1042 if (input.GetInst() != nullptr && input.GetInst()->HasUsers()) { in SetInput()
1206 bool HasUsers() const in HasUsers() function
Dbasicblock.cpp583 ASSERT(!inst->HasUsers()); in RemoveInst()
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dinst_builder.cpp296 if (const_inst->GetType() != DataType::INT64 || !const_inst->HasUsers()) { in SplitConstant()