/arkcompiler/runtime_core/compiler/optimizer/optimizations/ |
D | lowering.cpp | 42 auto in0 = cmp->GetInput(0).GetInst(); in BetterToSwapCompareInputs() 43 auto in1 = cmp->GetInput(1).GetInst(); in BetterToSwapCompareInputs() 64 compiler::Inst *input_0 = if_inst->GetInput(0).GetInst(); in OptimizeIfInput() 65 compiler::Inst *input_1 = if_inst->GetInput(1).GetInst(); in OptimizeIfInput() 86 auto input = inst->GetInput(0).GetInst(); in LowerIf() 99 auto in0 = input->GetInput(0).GetInst(); in LowerIf() 100 auto in1 = input->GetInput(1).GetInst(); in LowerIf() 108 auto cst = input->GetInput(1).GetInst(); in LowerIf() 125 replace->SetInput(0, input->GetInput(0).GetInst()); in LowerIf() 126 replace->SetInput(1, input->GetInput(1).GetInst()); in LowerIf() [all …]
|
D | cleanup.cpp | 157 auto inst_pred = phi->GetInput(index_pred).GetInst(); in CheckSpecialTriangle() 158 auto inst_bb = phi->GetInput(index_bb).GetInst(); in CheckSpecialTriangle() 162 inst_bb = inst_bb->CastToPhi()->GetInput(i).GetInst(); in CheckSpecialTriangle() 255 inst = inst->GetInput(0).GetInst(); in MarkLiveRec()
|
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
D | graph_cloner.cpp | 217 auto compare = ifimm->GetInput(0).GetInst(); in SplitBackEdge() 222 new_cmp->SetInput(0, compare->GetInput(0).GetInst()); in SplitBackEdge() 223 new_cmp->SetInput(1, compare->GetInput(1).GetInst()); in SplitBackEdge() 306 auto input = compare->GetInput(i).GetInst(); in UpdateUsersAfterNoSideExitsUnroll() 454 auto inst = phi->GetInput(0).GetInst(); in BuildLoopUnrollDataFlow() 488 … unroll_data->phi_replaced_inputs->emplace(phi, phi->GetInput(phi_update_input_idx).GetInst()); in BuildLoopUnrollDataFlow() 519 auto remaining_inst = phi->GetInput(0).GetInst(); in RemoveLoopBackEdge() 780 auto compare = ifimm->GetInput(0).GetInst(); in PrepareLoopToClone() 784 new_cmp->SetInput(0, compare->GetInput(0).GetInst()); in PrepareLoopToClone() 785 new_cmp->SetInput(1, compare->GetInput(1).GetInst()); in PrepareLoopToClone() [all …]
|
D | inst.cpp | 121 auto *curr_input = GetInput(index)->GetInst(); in Remove() 130 auto *last_input = GetInput(size_)->GetInst(); in Remove() 135 SetInput(index, *GetInput(size_)); in Remove() 189 return GetInput(index).GetInst(); in GetPhiInput() 214 input_inst = input_inst->GetInput(input_idx).GetInst(); in SkipInstructions()
|
D | inst.h | 387 Inst *GetInput(); 388 const Inst *GetInput() const; 612 Input *GetInput(unsigned index) in GetInput() function 910 return GetDataFlowInput(GetInput(index).GetInst()); in GetDataFlowInput() 933 auto ss = GetInput(GetInputsCount() - 1).GetInst(); in GetSaveState() 1153 Input GetInput(unsigned index) in GetInput() function 1159 Input GetInput(unsigned index) const in GetInput() function 1918 return GetInput(index).GetInst()->GetType(); in GetInputType() 1948 return GetInput(index).GetInst()->GetType(); in GetInputType() 1981 return GetInput(index).GetInst()->GetType(); in GetInputType() [all …]
|
D | dump.cpp | 206 (*out) << sep << std::dec << InstId(GetInput(i).GetInst(), allocator); in DumpInputs() 240 Inst *input = GetInput(idx).GetInst(); in DumpInputs()
|
D | graph_cloner.h | 281 auto input = inst->GetInput(i).GetInst();
|
D | graph.cpp | 198 auto remaining_inst = phi->GetInput(1 - rm_index).GetInst(); in RemovePredecessorUpdateDF()
|
D | basicblock.cpp | 142 auto inst = phi->GetInput(index).GetInst(); in RemovePhiProcessing()
|
D | graph_checker.cpp | 802 [[maybe_unused]] auto op1 = inst->GetInput(0).GetInst(); in VisitIfImm()
|
/arkcompiler/runtime_core/bytecode_optimizer/ |
D | codegen.cpp | 362 if (!cvat_inst->GetInput(0).GetInst()->IsConst()) { in IsEcmaConstTemplate() 365 auto const_inst = cvat_inst->GetInput(0).GetInst()->CastToConstant(); in IsEcmaConstTemplate() 391 auto test_lhs = IsEcmaConstTemplate(inst->GetInput(0).GetInst()); in IfEcma() 392 auto test_rhs = IsEcmaConstTemplate(inst->GetInput(1).GetInst()); in IfEcma() 491 auto test_arg = IsEcmaConstTemplate(inst->GetInput(0).GetInst()); in VisitReturn() 526 ASSERT(cvat->GetInput(0).GetInst()->IsConst()); in VisitCastValueToAnyType() 527 auto input = cvat->GetInput(0).GetInst()->CastToConstant(); in VisitCastValueToAnyType() 532 ASSERT(cvat->GetInput(0).GetInst()->IsConst()); in VisitCastValueToAnyType() 533 auto input = cvat->GetInput(0).GetInst()->CastToConstant(); in VisitCastValueToAnyType() 538 ASSERT(cvat->GetInput(0).GetInst()->IsBoolConst()); in VisitCastValueToAnyType() [all …]
|
D | reg_acc_alloc.cpp | 60 compiler::Inst *input = inst->GetInput(AccReadIndex(inst)).GetInst(); in IsAccWriteBetween() 137 return user->GetInput(AccReadIndex(user)).GetInst() == inst || user->IsCommutative(); in CanUserReadAcc() 270 compiler::Inst *input = inst->GetInput(AccReadIndex(inst)).GetInst(); in RunImpl()
|
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/ |
D | reg_alloc_resolver.cpp | 294 auto first_input = catch_phi->GetInput(0).GetInst(); in SqueezeCatchPhiInputs() 296 if (catch_phi->GetInput(i).GetInst() != first_input) { in SqueezeCatchPhiInputs() 310 auto input_inst = catch_phi->GetInput(i).GetInst(); in SqueezeCatchPhiInputs() 315 auto saved_inst = new_catch_phi->GetInput(j).GetInst(); in SqueezeCatchPhiInputs()
|
/arkcompiler/runtime_core/compiler/optimizer/templates/ |
D | inst_checker_gen.h.erb | 37 return inst->GetInput(input).GetInst()->GetType(); 61 ASSERT(inst->GetInput(<%= i %>).GetInst()->IsSaveState());
|
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/ |
D | phi_resolver.h | 63 auto input_inst = save_state->GetInput(idx).GetInst(); in Run() 164 auto input_bb = phi_inst->GetInput(index).GetInst()->GetBasicBlock(); in CheckPhiInputs()
|
D | inst_builder.cpp | 201 auto input_inst = save_state->GetInput(idx).GetInst(); in RemoveNotDominateInputs()
|
/arkcompiler/runtime_core/compiler/tests/ |
D | inst_test.cpp | 106 ASSERT_EQ(inst, user.GetInput()); in TEST_F() 118 INS(3).ReplaceUsers(INS(3).GetInput(0).GetInst()); in TEST_F() 120 ASSERT_TRUE(INS(6).GetInput(0).GetInst() == &INS(0)); in TEST_F() 121 ASSERT_TRUE(INS(3).GetInput(0).GetInst() == nullptr); in TEST_F()
|
D | graph_comparator.h | 103 auto input1 = inst1->GetInput(index1).GetInst(); in Compare() 239 … if (inst1->GetOpcode() == Opcode::Cmp && IsFloatType(inst1->GetInput(0).GetInst()->GetType())) { in Compare()
|
D | branch_elimination_test.cpp | 231 EXPECT_EQ(INS(18).GetInput(0).GetInst(), &INS(6)); in TEST_F() 290 EXPECT_EQ(INS(18).GetInput(0).GetInst(), &INS(6)); in TEST_F() 600 EXPECT_EQ(INS(11).GetInput(0).GetInst(), &INS(1)); in TEST_F() 649 EXPECT_EQ(INS(8).GetInput(0).GetInst(), &INS(1)); in TEST_F() 715 EXPECT_EQ(INS(8).GetInput(0).GetInst(), &INS(1)); in TEST_F()
|
D | unit_test.h | 174 EXPECT_EQ(user.GetInst()->GetInput(user.GetIndex()).GetInst(), &inst); in CheckUsers()
|
D | compiler_inst_test.cpp | 828 inst->ReplaceInput(inst->GetInput(0).GetInst(), inst1); in __anon1be7da801102()
|
/arkcompiler/runtime_core/compiler/docs/ |
D | lowering_doc.md | 32 if (!inst->GetInput(1)->IsConst()) { 35 uint64_t val = inst->GetInput(1)->GetConst();
|
/arkcompiler/runtime_core/compiler/optimizer/analysis/ |
D | loop_analyzer.cpp | 145 new_phi->AppendInput(phi->GetInput(phi_idx).GetInst()); in MovePhiInputsToPreHeader()
|
/arkcompiler/runtime_core/bytecode_optimizer/tests/ |
D | common.h | 401 … if (inst1->GetOpcode() == Opcode::Cmp && IsFloatType(inst1->GetInput(0).GetInst()->GetType())) { in Compare()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | circuit_builder-inl.h | 1330 GateRef Environment::GetInput(size_t index) const in GetInput() function
|