/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | controlFlowBreakContinueWithLabel.ts | 23 let user: User = User.A variable 24 AssertType(user, "User"); 28 switch (user) { 29 AssertType(user, "User"); 34 user = User.B; 35 AssertType(user = User.B, "User.B"); 36 AssertType(user, "User"); 49 user; 50 AssertType(user, "User.B");
|
D | mappedTypeCircularReferenceInAccessor.ts | 26 set bestFriend(user: SerializablePartial<User>)
|
D | recursiveConditionalCrash3.ts | 47 user: CanBeExpanded<User>, property 55 user: CanBeExpanded<User>, property
|
/arkcompiler/runtime_core/bytecode_optimizer/ |
D | reg_acc_alloc.cpp | 105 bool RegAccAlloc::CanUserReadAcc(compiler::Inst *inst, compiler::Inst *user) const in CanUserReadAcc() 107 if (user->IsPhi()) { in CanUserReadAcc() 108 return IsPhiOptimizable(user); in CanUserReadAcc() 111 if (!IsAccRead(user) || IsAccWriteBetween(inst, user)) { in CanUserReadAcc() 119 for (auto input : user->GetInputs()) { in CanUserReadAcc() 133 if (user->IsCall()) { in CanUserReadAcc() 134 return user->GetInputsCount() <= (MAX_NUM_NON_RANGE_ARGS + 1); // +1 for SaveState in CanUserReadAcc() 137 return user->GetInput(AccReadIndex(user)).GetInst() == inst || user->IsCommutative(); in CanUserReadAcc() 159 for (auto &user : phi->GetUsers()) { in IsPhiAccReady() local 160 compiler::Inst *uinst = user.GetInst(); in IsPhiAccReady() [all …]
|
D | reg_acc_alloc.h | 50 bool CanUserReadAcc(compiler::Inst *inst, compiler::Inst *user) const;
|
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/ |
D | phi_resolver.h | 57 for (auto user : real_users_) { in Run() local 58 ASSERT(user->IsSaveState()); in Run() 59 auto save_state = static_cast<SaveStateInst *>(user); in Run() 112 for (auto &user : inst->GetUsers()) { in FindUsersRec() 113 if (user.GetInst()->SetMarker(marker_)) { in FindUsersRec() 116 if (user.GetInst()->IsPhi() || user.GetInst()->GetOpcode() == Opcode::CatchPhi) { in FindUsersRec() 117 phi_users_.push_back(user.GetInst()); in FindUsersRec() 118 FindUsersRec(user.GetInst()); in FindUsersRec() 120 if (!user.GetInst()->IsSaveState()) { in FindUsersRec() 124 real_users_.push_back(user.GetInst()); in FindUsersRec()
|
D | inst_builder.cpp | 302 auto user = (*curr_it).GetInst(); in SplitConstant() local 303 DataType::Type type = user->GetInputType(curr_it->GetIndex()); in SplitConstant() 316 user->ReplaceInput(const_inst, new_const); in SplitConstant() 329 for (const auto &user : inst->GetUsers()) { in CleanupCatchPhis() local 330 if (!user.GetInst()->IsSaveState()) { in CleanupCatchPhis() 338 auto &user = users.Front(); in CleanupCatchPhis() local 339 user.GetInst()->RemoveInput(user.GetIndex()); in CleanupCatchPhis()
|
/arkcompiler/runtime_core/compiler/optimizer/optimizations/ |
D | move_constants.cpp | 87 for (auto &user : inst->GetUsers()) { in SingleBlockNoPhiDominatingUser() local 88 auto user_inst = user.GetInst(); in SingleBlockNoPhiDominatingUser() 112 for (auto &user : inst->GetUsers()) { in GetUsersDominatingBlocks() local 113 user_dominating_blocks_.emplace_back(GetDominators(user)); in GetUsersDominatingBlocks() 117 const ArenaVector<BasicBlock *> *MoveConstants::GetDominators(const User &user) in GetDominators() argument 119 auto inst = user.GetInst(); in GetDominators() 122 inst = inst->CastToCatchPhi()->GetThrowableInst(user.GetIndex()); in GetDominators()
|
D | cleanup.cpp | 124 auto user = user_item.GetInst(); in RunOnce() local 125 ASSERT((user->GetBasicBlock() == succ && user->IsPhi()) || user->IsCatchPhi()); in RunOnce() 335 auto user = user_item.GetInst(); in LiveUserSearchRec() local 336 if (user->IsMarked(mrk)) { in LiveUserSearchRec() 340 if (user->IsMarked(dead_mrk)) { in LiveUserSearchRec() 343 LiveUserSearchRec(user, mrk, live_mrk, dead_mrk); in LiveUserSearchRec() 344 if (user->IsMarked(live_mrk)) { in LiveUserSearchRec() 349 if (user->IsMarked(mrk)) { in LiveUserSearchRec() 350 ASSERT(!user->IsMarked(live_mrk) && !user->IsMarked(dead_mrk)); in LiveUserSearchRec() 353 ASSERT(user->IsMarked(dead_mrk)); in LiveUserSearchRec() [all …]
|
D | move_constants.h | 52 const ArenaVector<BasicBlock *> *GetDominators(const User &user);
|
D | lowering.cpp | 91 for (auto &user : input->GetUsers()) { in LowerIf() local 92 if (user.GetInst()->GetOpcode() != Opcode::IfImm) { in LowerIf()
|
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
D | graph_checker.cpp | 55 for (auto &user : inst->GetUsers()) { in UserInputCheck() local 56 [[maybe_unused]] auto user_inst = user.GetInst(); in UserInputCheck() 207 for ([[maybe_unused]] auto &user : inst->GetUsers()) { in CheckDataFlow() local 208 auto user_inst = user.GetInst(); in CheckDataFlow() 225 [[maybe_unused]] auto user_input_type = user_inst->GetInputType(user.GetIndex()); in CheckDataFlow() 519 bool GraphChecker::CheckInstHasUser(Inst *inst, Inst *user) in CheckInstHasUser() argument 521 ASSERT(inst != nullptr && user != nullptr); in CheckInstHasUser() 522 ASSERT(user->GetBasicBlock() != nullptr); in CheckInstHasUser() 523 ASSERT(user->GetBasicBlock()->GetGraph() != nullptr); in CheckInstHasUser() 525 if (node.GetInst() == user) { in CheckInstHasUser() [all …]
|
D | graph_cloner.cpp | 192 auto user = user_it->GetInst(); in CreateResolverBlock() local 195 ASSERT(user->GetBasicBlock() != nullptr); in CreateResolverBlock() 196 if (user->GetBasicBlock()->GetLoop() != loop) { in CreateResolverBlock() 202 user->SetInput(input_idx, phi_resolver); in CreateResolverBlock() 316 auto user = user_it->GetInst(); in UpdateUsersAfterNoSideExitsUnroll() local 319 ASSERT(user->GetBasicBlock() != nullptr); in UpdateUsersAfterNoSideExitsUnroll() 320 if (user->GetBasicBlock()->GetLoop() != loop) { in UpdateUsersAfterNoSideExitsUnroll() 321 user->SetInput(input_idx, GetClone(inst)); in UpdateUsersAfterNoSideExitsUnroll() 541 auto user = user_it->GetInst(); in BuildClonedLoopHeaderDataFlow() local 544 ASSERT(user->GetBasicBlock() != nullptr); in BuildClonedLoopHeaderDataFlow() [all …]
|
D | graph_checker.h | 70 bool CheckInstHasUser(Inst *inst, Inst *user); 86 …void CheckObjectRec(const Inst *object, const Inst *user, const BasicBlock *block, Inst *start_fro… 90 … void CheckSaveStateOsrRec(const Inst *inst, const Inst *user, BasicBlock *block, Marker visited);
|
D | inst.h | 1005 void AddUser(User *user) in AddUser() argument 1007 ASSERT(user && user->GetInst()); in AddUser() 1008 user->SetNext(first_user_); in AddUser() 1009 user->SetPrev(nullptr); in AddUser() 1012 first_user_->SetPrev(user); in AddUser() 1014 first_user_ = user; in AddUser() 1021 void RemoveUser(User *user) in RemoveUser() argument 1023 ASSERT(user); in RemoveUser() 1025 if (user == first_user_) { in RemoveUser() 1026 first_user_ = user->GetNext(); in RemoveUser() [all …]
|
D | inst.cpp | 110 auto user {GetUser(size_)}; in Append() local 112 user->SetBbNum(size_); in Append() 114 inst->AddUser(user); in Append()
|
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/ |
D | reg_alloc_resolver.cpp | 170 for (auto &user : inst->GetUsers()) { in GetExplicitUser() local 171 if (user.GetInst()->IsPhi()) { in GetExplicitUser() 174 ASSERT(user_inst != nullptr && user_inst->IsDominate(user.GetInst())); in GetExplicitUser() 183 auto user = GetExplicitUser(GetFirstUserOrInst(save_state)); in PropagateCallerMasks() local 186 FillSaveStateRootsMask(save_state, user, save_state); in PropagateCallerMasks() 189 void RegAllocResolver::FillSaveStateRootsMask(SaveStateInst *save_state, Inst *user, SaveStateInst … in FillSaveStateRootsMask() argument 191 auto dst_ln = liveness_->GetInstLifeIntervals(user)->GetBegin(); in FillSaveStateRootsMask() 207 if (test_user.GetInst()->GetId() == user->GetId()) { in FillSaveStateRootsMask()
|
D | reg_alloc_resolver.h | 62 void FillSaveStateRootsMask(SaveStateInst *save_state, Inst *user, SaveStateInst *target_ss);
|
/arkcompiler/runtime_core/libark_defect_scan_aux/ |
D | graph.cpp | 104 for (auto &user : user_list) { in GetUserInsts() local 105 if (!user.GetInst()->IsSaveState()) { in GetUserInsts() 106 users.emplace_back(user.GetInst()); in GetUserInsts()
|
/arkcompiler/runtime_core/compiler/tests/ |
D | unit_test.h | 173 for (auto &user : inst.GetUsers()) { in CheckUsers() 174 EXPECT_EQ(user.GetInst()->GetInput(user.GetIndex()).GetInst(), &inst); in CheckUsers() 175 if (users_map[user.GetInst()->GetId()]-- == 0) in CheckUsers()
|
D | inst_test.cpp | 105 for (auto &user : inst->GetUsers()) { in TEST_F() local 106 ASSERT_EQ(inst, user.GetInput()); in TEST_F() 112 for (auto &user : inst->GetUsers()) { in TEST_F() local 113 user.GetInst()->SetId(user.GetInst()->GetId()); in TEST_F() 551 auto user = graph->FindOrCreateConstant(i)->GetUsers().begin()->GetInst(); in TEST_F() local 552 ASSERT_EQ(user, save_state); in TEST_F()
|
D | compiler_inst_test.cpp | 1019 User user(false, 0, 1); variable 1020 user.GetVirtualRegister(); 1022 user.SetVirtualRegister(reg); 1023 EXPECT_TRUE(user.GetVirtualRegister().IsAccumulator()); 1024 EXPECT_TRUE(user.IsDynamic());
|
/arkcompiler/toolchain/build/third_party_gn/musl/ |
D | musl_template.gni | 766 "//third_party/musl/porting/linux/user/src/hook/malloc_common.c", 767 "//third_party/musl/porting/linux/user/src/hook/memory_trace.c", 768 "//third_party/musl/porting/linux/user/src/hook/musl_preinit.c", 769 "//third_party/musl/porting/linux/user/src/hook/musl_preinit_common.c", 770 "//third_party/musl/porting/linux/user/src/hook/musl_socket_preinit.c", 771 "//third_party/musl/porting/linux/user/src/hook/musl_socket_preinit_common.c", 772 "//third_party/musl/porting/linux/user/src/hook/socket_common.c", 802 sources = [ "./porting/linux/user/src/malloc/jemalloc/jemalloc.c" ]
|
D | musl_config.gni | 53 musl_porting_dir = "//third_party/musl/porting/linux/user"
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_hclass.cpp | 567 JSHandle<JSHClass> user = jshclass; in RegisterOnProtoChain() local 568 JSHandle<ProtoChangeDetails> userDetails = GetProtoChangeDetails(thread, user); in RegisterOnProtoChain() 576 JSTaggedValue proto = user->GetPrototype(); in RegisterOnProtoChain() 595 …JSHandle<ChangeListener> newListeners = ChangeListener::Add(thread, listenersHandle, user, ®ist… in RegisterOnProtoChain() 599 user = JSHandle<JSHClass>(thread, protoHandle->GetJSHClass()); in RegisterOnProtoChain()
|