Home
last modified time | relevance | path

Searched refs:HasUsers (Results 1 - 25 of 40) sorted by relevance

12

/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
H A Dmove_constants.cpp37 if (constInst->HasUsers()) { in RunImpl()
45 if (nullPtr->HasUsers()) { in RunImpl()
52 if (undefined->HasUsers()) { in RunImpl()
132 ASSERT(inst->HasUsers()); in GetUsersDominatingBlocks()
H A Dsavestate_optimization.cpp129 if (!inst->HasUsers()) { in TryToRemoveRedundantSaveState()
H A Dloop_peeling.cpp91 if (!phi->HasUsers()) { in CleanDeadPhis()
H A Dcode_sink.cpp104 if (inst->IsCatchPhi() || !inst->HasUsers()) { in ProcessBlock()
H A Dsimplify_string_builder.cpp470 return inst->GetOpcode() == Opcode::CheckCast && !inst->HasUsers();
709 auto hasUsers = userInst->HasUsers();
734 ASSERT(!instance->HasUsers());
1077 if (!saveState->HasUsers()) {
1312 bool hasUsers = userInst->HasUsers();
1480 if (userInst->IsPhi() && !userInst->HasUsers()) {
1484 if (userInst->IsPhi() && !userInst->HasUsers()) {
1506 if (userInst->IsPhi() && userInst->HasUsers()) {
H A Dobject_type_check_elimination.cpp73 if (!inst->HasUsers()) { in TryEliminateIsInstance()
H A Dcse.h173 if (inst->IsNotCseApplicable() || !inst->HasUsers()) { in IsLegalExp()
H A Dif_conversion.cpp224 total += static_cast<uint32_t>(inst->HasUsers()); in IsConvertable()
H A Dmemory_barriers.cpp226 if (!inst->HasUsers()) { in GetMemInstForImplicitNullCheck()
H A Dlse.cpp859 if (!phi->HasUsers()) { in FixupPhisInBlock()
953 if (inst->GetType() != value->GetType() && inst->HasUsers()) { in DeleteInstruction()
974 if (block == nullptr || frontInst->HasUsers()) { in DeleteInstruction()
/arkcompiler/runtime_core/static_core/compiler/tests/
H A Dlowering_test.cpp59 EXPECT_FALSE(cnst->HasUsers()); in ReturnTest()
159 ASSERT_FALSE(INS(4U).HasUsers()); in TEST_F()
160 ASSERT_FALSE(INS(5U).HasUsers()); in TEST_F()
161 ASSERT_TRUE(INS(6U).HasUsers()); in TEST_F()
162 ASSERT_FALSE(INS(7U).HasUsers()); in TEST_F()
163 ASSERT_FALSE(INS(8U).HasUsers()); in TEST_F()
164 ASSERT_TRUE(INS(9U).HasUsers()); in TEST_F()
165 ASSERT_TRUE(INS(13U).HasUsers()); in TEST_F()
166 ASSERT_TRUE(INS(14U).HasUsers()); in TEST_F()
167 ASSERT_TRUE(INS(15U).HasUsers()); in TEST_F()
[all...]
H A Dbranch_elimination_test.cpp236 EXPECT_FALSE(INS(17U).HasUsers()); in TEST_F()
248 EXPECT_TRUE(phi->HasUsers()); in TEST_F()
282 EXPECT_TRUE(phi->HasUsers()); in TEST_F()
295 EXPECT_FALSE(INS(17U).HasUsers()); in TEST_F()
327 EXPECT_TRUE(phi->HasUsers()); in TEST_F()
361 EXPECT_TRUE(phi->HasUsers()); in TEST_F()
397 EXPECT_TRUE(phi->HasUsers()); in TEST_F()
432 EXPECT_TRUE(phi->HasUsers()); in TEST_F()
481 EXPECT_FALSE(phi->HasUsers()); in TEST_F()
658 EXPECT_FALSE(INS(5U).HasUsers()); in TEST_F()
[all...]
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
H A Dmove_constants.cpp37 if (const_inst->HasUsers()) { in RunImpl()
106 ASSERT(inst->HasUsers()); in GetUsersDominatingBlocks()
/arkcompiler/runtime_core/compiler/tests/
H A Dsplit_resolver_new_test.cpp143 FindInstWithInterval(la, start_bb, [](Inst *inst) { return inst->IsParameter() && inst->HasUsers(); }); in HWTEST_F()
207 la, graph->GetStartBlock(), [](Inst *inst) { return inst->IsParameter() && inst->HasUsers(); }); in HWTEST_F()
258 la, graph->GetStartBlock(), [](Inst *inst) { return inst->IsParameter() && inst->HasUsers(); }); in HWTEST_F()
H A 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...]
/arkcompiler/runtime_core/static_core/bytecode_optimizer/
H A Dcheck_resolver.cpp36 bool noDce = !inst->HasUsers(); in MarkLenArray()
H A Dbytecodeopt_peepholes.cpp151 ASSERT(!callInit->HasUsers()); in VisitNewObject()
/arkcompiler/runtime_core/static_core/irtoc/backend/compiler/
H A Dcodegen_fastpath.cpp208 ASSERT(!inst->HasUsers()); in IntrinsicSaveTlabStatsSafe()
239 if (!inst->HasUsers()) { in IntrinsicSaveRegisters()
258 if (!inst->HasUsers()) { in IntrinsicRestoreRegisters()
/arkcompiler/runtime_core/compiler/optimizer/ir/
H A Dinst.cpp122 if (curr_input->GetBasicBlock() != nullptr && curr_input->HasUsers()) { in Remove()
131 if (last_input->HasUsers()) { in Remove()
H A Dgraph_cloner.cpp552 if (resolver_phi->HasUsers()) { in BuildClonedLoopHeaderDataFlow()
638 if (!inst->HasUsers()) { in UpdateUsersForClonedLoopHeader()
669 if (phi_in->HasUsers()) { in UpdateUsersForClonedLoopHeader()
684 if (phi_out->HasUsers()) { in UpdateUsersForClonedLoopHeader()
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
H A Dgraph_cloner.cpp586 if (resolverPhi->HasUsers()) { in BuildClonedLoopHeaderDataFlow()
673 if (!inst->HasUsers()) { in UpdateUsersForClonedLoopHeader()
704 if (phiIn->HasUsers()) { in UpdateUsersForClonedLoopHeader()
719 if (phiOut->HasUsers()) { in UpdateUsersForClonedLoopHeader()
H A Dinst.cpp286 if (currInput->GetBasicBlock() != nullptr && currInput->HasUsers()) { in Remove()
295 if (lastInput->HasUsers()) { in Remove()
H A Dbasicblock.cpp914 ASSERT(select->HasUsers());
1274 ASSERT(!inst->HasUsers());
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
H A Dinst_builder.cpp295 if (const_inst->GetType() != DataType::INT64 || !const_inst->HasUsers()) { in SplitConstant()
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/regalloc/
H A Dreg_alloc_resolver.cpp308 bool handledAllUsers = inst->HasSingleUser() || !inst->HasUsers(); in ResolveSaveState()

Completed in 21 milliseconds

12