/arkcompiler/runtime_core/compiler/tests/aarch32/ |
D | callconv32_test.cpp | 106 EXPECT_EQ(std::get<Reg>(ret).GetId(), 0); in TEST_F() 112 EXPECT_EQ(std::get<Reg>(ret).GetId(), i); in TEST_F() 122 EXPECT_EQ(std::get<Reg>(ret).GetId(), 0); in TEST_F() 128 EXPECT_EQ(std::get<Reg>(ret).GetId(), i); in TEST_F() 138 EXPECT_EQ(std::get<Reg>(ret).GetId(), 0); in TEST_F() 143 EXPECT_EQ(std::get<Reg>(ret).GetId(), 2); in TEST_F() 152 EXPECT_EQ(std::get<Reg>(ret).GetId(), 0); in TEST_F() 158 EXPECT_EQ(std::get<Reg>(ret).GetId(), i); in TEST_F() 168 EXPECT_EQ(std::get<Reg>(ret).GetId(), 0); in TEST_F() 173 EXPECT_EQ(std::get<Reg>(ret).GetId(), 2); in TEST_F() [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/ |
D | assembler_aarch64.cpp | 114 uint32_t instructionCode = Sf(sf) | op | LoadAndStorePairImm(imm) | Rt2(rt2.GetId()) | in Ldp() 115 Rn(operand.GetRegBase().GetId()) | Rt(rt.GetId()); in Ldp() 148 uint32_t instructionCode = Sf(sf) | op | LoadAndStorePairImm(imm) | Rt2(rt2.GetId()) | in Stp() 149 Rn(operand.GetRegBase().GetId()) | Rt(rt.GetId()); in Stp() 194 uint32_t instructionCode = opc | op | LoadAndStorePairImm(imm) | Rt2(vt2.GetId()) | in Ldp() 195 Rn(operand.GetRegBase().GetId()) | Rt(vt.GetId()); in Ldp() 240 uint32_t instructionCode = opc | op | LoadAndStorePairImm(imm) | Rt2(vt2.GetId()) | in Stp() 241 Rn(operand.GetRegBase().GetId()) | Rt(vt.GetId()); in Stp() 285 Rn(operand.GetRegBase().GetId()) | Rt(rt.GetId()); in Ldr() 296 uint32_t instructionCode = ((regX && (scale == Scale::Q)) << 30) | op | Rm(rm.GetId()) | in Ldr() [all …]
|
/arkcompiler/runtime_core/compiler/tests/aarch64/ |
D | callconv64_test.cpp | 98 EXPECT_EQ(std::get<Reg>(ret).GetId(), 0); in TEST_F() 104 EXPECT_EQ(std::get<Reg>(ret).GetId(), i); in TEST_F() 114 EXPECT_EQ(std::get<Reg>(ret).GetId(), 0); in TEST_F() 120 EXPECT_EQ(std::get<Reg>(ret).GetId(), i); in TEST_F() 130 EXPECT_EQ(std::get<Reg>(ret).GetId(), 0); in TEST_F() 136 EXPECT_EQ(std::get<Reg>(ret).GetId(), i); in TEST_F() 146 EXPECT_EQ(std::get<Reg>(ret).GetId(), 0); in TEST_F() 152 EXPECT_EQ(std::get<Reg>(ret).GetId(), i); in TEST_F() 162 EXPECT_EQ(std::get<Reg>(ret).GetId(), 0); in TEST_F() 168 EXPECT_EQ(std::get<Reg>(ret).GetId(), i); in TEST_F()
|
/arkcompiler/runtime_core/compiler/tests/amd64/ |
D | callconv64_test.cpp | 99 EXPECT_EQ(std::get<Reg>(ret).GetId(), target.GetParamRegId(0)); in TEST_F() 105 EXPECT_EQ(std::get<Reg>(ret).GetId(), target.GetParamRegId(i)); in TEST_F() 115 EXPECT_EQ(std::get<Reg>(ret).GetId(), target.GetParamRegId(0)); in TEST_F() 121 EXPECT_EQ(std::get<Reg>(ret).GetId(), target.GetParamRegId(i)); in TEST_F() 131 EXPECT_EQ(std::get<Reg>(ret).GetId(), target.GetParamRegId(0)); in TEST_F() 137 EXPECT_EQ(std::get<Reg>(ret).GetId(), target.GetParamRegId(i)); in TEST_F() 147 EXPECT_EQ(std::get<Reg>(ret).GetId(), 0); in TEST_F() 153 EXPECT_EQ(std::get<Reg>(ret).GetId(), i); in TEST_F() 163 EXPECT_EQ(std::get<Reg>(ret).GetId(), 0); in TEST_F() 169 EXPECT_EQ(std::get<Reg>(ret).GetId(), i); in TEST_F()
|
/arkcompiler/runtime_core/compiler/optimizer/optimizations/ |
D | vn.cpp | 94 COMPILER_LOG(DEBUG, VN_OPT) << " Set VN " << curr_vn_ << " for inst " << inst->GetId(); in SetInstValNum() 106 COMPILER_LOG(DEBUG, VN_OPT) << " Set VN " << inst->GetVN() << " for inst " << inst->GetId(); in TryToApplyCse() 109 … COMPILER_LOG(DEBUG, VN_OPT) << " Equivalent instructions are found, id " << equiv_inst->GetId(); in TryToApplyCse() 111 COMPILER_LOG(DEBUG, VN_OPT) << " CSE is applied for inst with id " << inst->GetId(); in TryToApplyCse() 112 GetGraph()->GetEventWriter().EventGvn(inst->GetId(), inst->GetPc(), equiv_inst->GetId(), in TryToApplyCse() 128 …COMPILER_LOG(DEBUG, VN_OPT) << " The inst with id " << inst->GetId() << " has the property NO_CSE"; in FindEqualVnOrCreateNew() 134 …R_LOG(DEBUG, VN_OPT) << " Equivalent instructions are searched for inst with id " << inst->GetId(); in FindEqualVnOrCreateNew()
|
D | cleanup.cpp | 90 …_LOG(DEBUG, CLEANUP) << "Merged block " << bb->GetSuccessor(0)->GetId() << " into " << bb->GetId(); in RunImpl() 183 COMPILER_LOG(DEBUG, CLEANUP) << "Dead Phi removed " << phi->GetId(); in RemoveDeadPhi() 184 GetGraph()->GetEventWriter().EventCleanup(phi->GetId(), phi->GetPc()); in RemoveDeadPhi() 188 COMPILER_LOG(DEBUG, CLEANUP) << "Would re-check empty block " << pred->GetId(); in RemoveDeadPhi() 240 COMPILER_LOG(DEBUG, CLEANUP) << "Removed empty block: " << bb->GetId(); in ProcessBB() 286 COMPILER_LOG(DEBUG, CLEANUP) << "Dead instruction " << inst->GetId(); in Dce() 287 GetGraph()->GetEventWriter().EventCleanup(inst->GetId(), inst->GetPc()); in Dce() 293 … COMPILER_LOG(DEBUG, CLEANUP) << "Would re-check empty block " << pred->GetId(); in Dce() 298 … COMPILER_LOG(DEBUG, CLEANUP) << "No more non-Phi instructions in block " << bb->GetId(); in Dce() 399 COMPILER_LOG(DEBUG, CLEANUP) << "Dead instruction " << inst->GetId(); in Removal() [all …]
|
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/ |
D | inst_builder.h | 94 current_defs_ = &defs_[bb->GetId()]; in SetCurrentBlock() 153 ? std::to_string((*current_defs_)[vreg]->GetId()) in UpdateDefinition() 155 << " to " << inst->GetId(); in UpdateDefinition() 166 … ? std::to_string((*current_defs_)[VREGS_AND_ARGS_COUNT]->GetId()) in UpdateDefinitionAcc() 168 << " to " << inst->GetId(); in UpdateDefinitionAcc() 201 if (inst->GetId() == GetGraph()->GetCurrentInstructionId() - 1) { in FindOrCreate32BitConstant() 202 …LER_LOG(DEBUG, IR_BUILDER) << "create new constant: value=" << value << ", inst=" << inst->GetId(); in FindOrCreate32BitConstant() 210 if (inst->GetId() == GetGraph()->GetCurrentInstructionId() - 1) { in FindOrCreateConstant() 211 …LER_LOG(DEBUG, IR_BUILDER) << "create new constant: value=" << value << ", inst=" << inst->GetId(); in FindOrCreateConstant() 219 if (inst->GetId() == GetGraph()->GetCurrentInstructionId() - 1) { in FindOrCreateDoubleConstant() [all …]
|
D | inst_builder.cpp | 48 defs_[current_bb_->GetId()][vreg] = catch_phi; in UpdateDefsForCatch() 58 auto pred_defs = defs_[current_bb_->GetLoop()->GetPreHeader()->GetId()]; in UpdateDefsForLoopHead() 68 COMPILER_LOG(DEBUG, IR_BUILDER) << "create Phi(id=" << phi->GetId() << ") for r" << vreg in UpdateDefsForLoopHead() 69 << "(def id=" << pred_defs[vreg]->GetId() << ")"; in UpdateDefsForLoopHead() 83 auto &pred_defs = defs_[current_bb_->GetPredsBlocks()[0]->GetId()]; in UpdateDefs() 99 value = defs_[pred_bb->GetId()][vreg]; in UpdateDefs() 100 } else if (value != defs_[pred_bb->GetId()][vreg]) { in UpdateDefs() 111 … COMPILER_LOG(DEBUG, IR_BUILDER) << "create Phi(id=" << phi->GetId() << ") for r" << vreg; in UpdateDefs() 228 auto pred = defs_[pred_bb->GetId()][inst->GetLinearNumber()]; in FixInstructions()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | verifier.cpp | 69 LOG_COMPILER(ERROR) << "id: " << std::dec << circuit->GetId(gate); in RunDataIntegrityCheck() 74 LOG_COMPILER(ERROR) << "id: " << std::dec << circuit->GetId(gate); in RunDataIntegrityCheck() 84 LOG_COMPILER(ERROR) << "id: " << std::dec << circuit->GetId(gate); in RunDataIntegrityCheck() 89 LOG_COMPILER(ERROR) << "id: " << std::dec << circuit->GetId(gate); in RunDataIntegrityCheck() 97 LOG_COMPILER(ERROR) << "id: " << std::dec << circuit->GetId(gate); in RunDataIntegrityCheck() 102 LOG_COMPILER(ERROR) << "id: " << std::dec << circuit->GetId(gate); in RunDataIntegrityCheck() 130 LOG_COMPILER(ERROR) << "(id=" << circuit->GetId(predGate) << ") is pred of " in RunCFGSoundnessCheck() 131 << "(id=" << circuit->GetId(bbGate) << ")"; in RunCFGSoundnessCheck() 132 … LOG_COMPILER(ERROR) << "(id=" << circuit->GetId(bbGate) << ") is reachable from entry"; in RunCFGSoundnessCheck() 133 … LOG_COMPILER(ERROR) << "(id=" << circuit->GetId(predGate) << ") is unreachable from entry"; in RunCFGSoundnessCheck() [all …]
|
D | bytecode_info_collector.cpp | 402 static_cast<uint16_t>(bcIns.GetId().AsRawValue())).GetOffset(); in CollectMethodInfoFromBC() 410 static_cast<uint16_t>(bcIns.GetId().AsRawValue())).GetOffset(); in CollectMethodInfoFromBC() 416 … (bcIns.GetId <BytecodeInstruction::Format::IMM8_ID16_ID16_IMM16_V8, 0>()).AsRawValue()); in CollectMethodInfoFromBC() 423 … (bcIns.GetId <BytecodeInstruction::Format::IMM8_ID16_ID16_IMM16_V8, 1>()).AsRawValue()); in CollectMethodInfoFromBC() 429 … (bcIns.GetId <BytecodeInstruction::Format::IMM16_ID16_ID16_IMM16_V8, 0>()).AsRawValue()); in CollectMethodInfoFromBC() 436 … (bcIns.GetId <BytecodeInstruction::Format::IMM16_ID16_ID16_IMM16_V8, 1>()).AsRawValue()); in CollectMethodInfoFromBC() 443 static_cast<uint16_t>(bcIns.GetId().AsRawValue())); in CollectMethodInfoFromBC() 455 static_cast<uint16_t>(bcIns.GetId().AsRawValue())); in CollectMethodInfoFromBC() 747 auto index = bcIns.GetId().AsRawValue(); in CollectConstantPoolIndexInfoFromBC() 755 auto index = bcIns.GetId().AsRawValue(); in CollectConstantPoolIndexInfoFromBC() [all …]
|
D | graph_visitor.cpp | 96 return orderList_[acc_.GetId(gate)]; in GetGateOrder() 101 orderList_[acc_.GetId(gate)] = orderId; in SetGateOrder() 155 log += std::to_string(acc_.GetId(gate)) + ", "; in PrintStack()
|
D | pgo_bc_info.cpp | 69 auto cpIndex = bcIns.GetId().AsRawValue(); in Record() 72 auto cpIndex = bcIns.GetId().AsRawValue(); in Record()
|
D | number_speculative_retype.h | 114 auto index = acc_.GetId(gate); in GetOutputTypeInfo() 121 auto index = acc_.GetId(gate); in SetOutputTypeInfo() 128 auto index = acc_.GetId(gate); in ResizeAndSetTypeInfo()
|
D | range_analysis.cpp | 22 auto &range = rangeInfos_[acc_.GetId(gate)]; in UpdateRange() 33 ASSERT(acc_.GetId(gate) < rangeInfos_.size()); in GetRange() 34 return rangeInfos_[acc_.GetId(gate)]; in GetRange() 39 auto id = acc_.GetId(gate); in IsInt32Type() 298 log = "id:" + std::to_string(acc_.GetId(gate)); in PrintRangeInfo()
|
D | loop_analysis.cpp | 26 LOG_COMPILER(INFO) << "Head: " << acc_.GetId(loopInfo->loopHead); in PrintLoop() 31 LOG_COMPILER(INFO) << acc_.GetId(gate) << ", "; in PrintLoop() 36 LOG_COMPILER(INFO) << acc_.GetId(gate) << ", "; in PrintLoop()
|
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/ |
D | split_resolver.cpp | 54 …<< "Connect siblings for inst v" << interval->GetInst()->GetId() << " at point: " << curr->GetBegi… in ConnectSiblings() 110 if (src_bb->GetId() >= liveness_->GetBlocksCount()) { in ConnectSpiltFromPredBlock() 124 …R_LOG(DEBUG, SPLIT_RESOLVER) << "Resolve split move for inst v" << src_interval->GetInst()->GetId() in ConnectSpiltFromPredBlock() 125 … << " between blocks: BB" << src_bb->GetId() << " -> BB" << target_bb->GetId(); in ConnectSpiltFromPredBlock()
|
/arkcompiler/runtime_core/assembler/ |
D | assembly-type.h | 42 type_id_ = GetId(name_, ignore_primitive); in component_name_() 79 panda_file::Type::TypeId GetId() const in GetId() function 86 auto elem = GetId(component_name_); in IsArrayContainsPrimTypes() 157 static panda_file::Type::TypeId GetId(std::string_view name, bool ignore_primitive = false);
|
/arkcompiler/runtime_core/compiler/optimizer/analysis/ |
D | liveness_analyzer.cpp | 178 block_pos[block->GetId()] = position++; in CheckLinearOrder() 183 ASSERT_PRINT(block_pos[block->GetDominator()->GetId()] < block_pos[block->GetId()], in CheckLinearOrder() 192 ASSERT_PRINT(block_pos[bb->GetId()] < block_pos[block->GetId()], in CheckLinearOrder() 445 block_live_ranges_[block->GetId()] = life_range; in SetBlockLiveRange() 450 return block_live_ranges_[block->GetId()]; in GetBlockLiveRange() 455 block_live_sets_[block->GetId()] = live_set; in SetBlockLiveSet() 460 return block_live_sets_[block->GetId()]; in GetBlockLiveSet() 466 if (bb->GetId() >= GetBlocksCount()) { in DumpLifeIntervals() 470 out << "BB " << bb->GetId() << "\t" << block_range.ToString() << std::endl; in DumpLifeIntervals() 478 out << "v" << inst->GetId() << "\t"; in DumpLifeIntervals()
|
/arkcompiler/runtime_core/bytecode_optimizer/ |
D | codegen.cpp | 46 cb.try_begin_label = BytecodeGen::LabelName(try_begin->GetId()); in AppendCatchBlock() 47 cb.try_end_label = "end_" + BytecodeGen::LabelName(try_end->GetId()); in AppendCatchBlock() 48 cb.catch_begin_label = BytecodeGen::LabelName(catch_begin->GetId()); in AppendCatchBlock() 50 … catch_end == nullptr ? cb.catch_begin_label : "end_" + BytecodeGen::LabelName(catch_end->GetId()); in AppendCatchBlock() 75 EmitLabel(BytecodeGen::LabelName(bb->GetId())); in RunImpl() 77 auto label = "end_" + BytecodeGen::LabelName(bb->GetId()); in RunImpl() 96 AddTypeInfoIndexForIns(insn_order - 1, inst->GetId(), &elements); in RunImpl() 202 result_.push_back(pandasm::Create_JMP(BytecodeGen::LabelName(suc_bb->GetId()))); in EmitJump() 217 result_.push_back(pandasm::Create_JMP(BytecodeGen::LabelName(suc_bb->GetId()))); in EmitJump() 411 … pandasm::Create_ECMA_JTRUE(LabelName(inst->GetBasicBlock()->GetTrueSuccessor()->GetId()))); in IfEcma() [all …]
|
/arkcompiler/ets_runtime/ecmascript/jobs/ |
D | hitrace_scope.cpp | 24 HiTraceId id = HiTraceChain::GetId(); in EnqueueJobScope() 54 saveId_ = HiTraceChain::GetId(); in ExecuteJobScope()
|
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
D | graph_cloner.h | 181 … return (block->GetId() < clone_blocks_.size()) && (clone_blocks_[block->GetId()] != nullptr); in HasClone() 189 return clone_blocks_[block->GetId()]; in GetClone() 226 clone_blocks_[block->GetId()] = clone; in CloneBlocksAndInstructions() 264 inst_clone->SetId(inst->GetId()); in CloneInstruction()
|
D | graph_checker.cpp | 109 … ASSERT_PRINT(block->GetId() == blocks_id, "Block ID must be equal to its ID in graph vector"); in Check() 304 auto id = inst->GetId(); in CheckGraph() 328 … << "Block " << input_bb->GetId() << " should dominate " << pred->GetId() << std::endl in CheckPhiInputs() 402 std::cerr << "Loop " << loop->GetId() << " must have safepoint\n"); in CheckLoopHasSafePoint() 451 dominators[block->GetId()] = block->GetDominator(); in CheckDomTree() 458 ASSERT_DO(dominators[block->GetId()] == block->GetDominator(), in CheckDomTree() 459 … std::cerr << "Basic block with id " << block->GetId() << " has incorrect dominator with id " in CheckDomTree() 460 << dominators[block->GetId()]->GetId() << std::endl in CheckDomTree() 461 … << "Correct dominator must be block with id " << block->GetDominator()->GetId() << std::endl in CheckDomTree() 493 … ASSERT_DO(*loop == *expected_loop, std::cerr << "Loop " << loop->GetId() << " is incorrect\n"); in CheckLoopAnalysis()
|
/arkcompiler/runtime_core/libpandafile/tests/ |
D | bytecode_instruction_tests.cpp | 214 EXPECT_EQ((inst.GetId<BytecodeInstruction::Format::ID32, 0>()), BytecodeId(0xabcdeef1)); in TEST() 224 EXPECT_EQ((inst.GetId<BytecodeInstruction::Format::V4_V4_ID16, 0>()), BytecodeId(0xeef1)); in TEST() 233 EXPECT_EQ((inst.GetId<BytecodeInstruction::Format::V8_ID16, 0>()), BytecodeId(0xeef1)); in TEST() 245 … EXPECT_EQ((inst.GetId<BytecodeInstruction::Format::V4_V4_V4_V4_ID16, 0>()), BytecodeId(0xeef1)); in TEST() 446 EXPECT_EQ((inst.GetId<BytecodeInstructionSafe::Format::ID32, 0>()), BytecodeId(0xabcdeef1)); in TEST() 456 … EXPECT_EQ((inst.GetId<BytecodeInstructionSafe::Format::V4_V4_ID16, 0>()), BytecodeId(0xeef1)); in TEST() 465 EXPECT_EQ((inst.GetId<BytecodeInstructionSafe::Format::V8_ID16, 0>()), BytecodeId(0xeef1)); in TEST() 477 …EXPECT_EQ((inst.GetId<BytecodeInstructionSafe::Format::V4_V4_V4_V4_ID16, 0>()), BytecodeId(0xeef1)… in TEST() 650 EXPECT_EQ((inst.GetId<BytecodeInstructionSafe::Format::ID32, 0>()), BytecodeId(0xcdeef1)); in TEST() 664 EXPECT_EQ((inst.GetId<BytecodeInstructionSafe::Format::V4_V4_ID16, 0>()), BytecodeId(0xf1)); in TEST() [all …]
|
/arkcompiler/ets_frontend/merge_abc/src/ |
D | assemblyTypeProto.cpp | 24 protoType.set_typeid_(static_cast<uint32_t>(type.GetId())); in Serialize()
|
/arkcompiler/ets_runtime/ecmascript/taskpool/ |
D | task.h | 45 int32_t GetId() const in GetId() function
|