| /arkcompiler/runtime_core/static_core/compiler/tools/debug/ |
| D | jit_writer.cpp | 33 prefix.codeSize = method.GetCode().size(); in FillData() 34 … prefix.codeInfoOffset = codeOffset + RoundUp(method.GetCode().size(), CodeInfo::ALIGNMENT); in FillData() 44 data = reinterpret_cast<const char *>(method.GetCode().data()); in FillData() 45 CopyToSpan(stream, data, method.GetCode().size(), currPos); in FillData() 46 currPos += method.GetCode().size(); in FillData() 49 … currPos += RoundUp(method.GetCode().size(), CodeInfo::ALIGNMENT) - method.GetCode().size(); in FillData()
|
| D | jit_writer.h | 67 Span<uint8_t> GetCode() in GetCode() function
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/aarch32/ |
| D | regfile.cpp | 46 for (auto i = vixl::aarch32::r4.GetCode(); i < vixl::aarch32::r8.GetCode(); ++i) { in Aarch32RegisterDescription() 110 allignmentRegCallee_ = vixl::aarch32::r10.GetCode(); in SetUsedRegs() 112 allignmentRegCaller_ = vixl::aarch32::r10.GetCode(); in SetUsedRegs() 141 calleeSaved_.reset(vixl::aarch32::pc.GetCode()); in SetUsedRegs() 142 callerSaved_.reset(vixl::aarch32::pc.GetCode()); in SetUsedRegs()
|
| D | target.h | 47 vixl::aarch32::r8.GetCode(), vixl::aarch32::r9.GetCode(), vixl::aarch32::r12.GetCode()}; 50 const std::array<unsigned, AARCH32_COUNT_VREG> AARCH32_TMP_VREG = {vixl::aarch32::s14.GetCode(), 51 vixl::aarch32::s15.GetCode()}; 568 return Reg(reg.GetCode(), type); in AcquireScratchRegister() 577 return Reg(reg1.GetCode(), type); in AcquireScratchRegister() 582 return Reg(reg.GetCode(), type); in AcquireScratchRegister()
|
| D | encode.cpp | 1506 if (src1.GetId() == vixl::aarch32::r0.GetCode() || src0 == src1) { in MakeLibCall() 1521 if (dst.GetId() <= vixl::aarch32::r3.GetCode()) { in MakeLibCall() 1535 if (src1.GetId() == vixl::aarch32::s0.GetCode() || src0 == src1) { in MakeLibCallWithFloatResult() 1548 if (dst.GetId() <= vixl::aarch32::s1.GetCode()) { in MakeLibCallWithFloatResult() 1572 if (src1.GetId() == vixl::aarch32::d0.GetCode() || src0 == src1) { in MakeLibCallWithDoubleResult() 1584 if (dst.GetId() <= vixl::aarch32::d1.GetCode()) { in MakeLibCallWithDoubleResult() 1615 if (src1.GetId() == vixl::aarch32::r0.GetCode() || src0 == src1) { in MakeLibCallWithInt64Result() 1637 if (dst.GetId() <= vixl::aarch32::r3.GetCode()) { in MakeLibCallWithInt64Result() 1658 bool saveR1 {src.GetId() != vixl::aarch32::r0.GetCode() || dst.GetType() == FLOAT64_TYPE}; in MakeLibCall() 1665 if (src.GetId() != vixl::aarch32::r0.GetCode()) { in MakeLibCall() [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/tests/ |
| D | codegen_test.cpp | 161 auto entry = reinterpret_cast<char *>(GetGraph()->GetCode().Data()); in TEST_F() 162 auto exit = entry + GetGraph()->GetCode().Size(); in TEST_F() 219 auto codeEntry = reinterpret_cast<char *>(graph->GetCode().Data()); in CheckStoreArray() 220 auto codeExit = codeEntry + graph->GetCode().Size(); in CheckStoreArray() 291 auto codeEntry = reinterpret_cast<char *>(graph->GetCode().Data()); in CheckLoadArray() 292 auto codeExit = codeEntry + graph->GetCode().Size(); in CheckLoadArray() 368 auto codeEntry = reinterpret_cast<char *>(graph->GetCode().Data()); in CheckStoreArrayPair() 369 auto codeExit = codeEntry + graph->GetCode().Size(); in CheckStoreArrayPair() 457 auto codeEntry = reinterpret_cast<char *>(graph->GetCode().Data()); in CheckLoadArrayPair() 458 auto codeExit = codeEntry + graph->GetCode().Size(); in CheckLoadArrayPair() [all …]
|
| D | inst_generator_test.cpp | 358 auto codeEntry = reinterpret_cast<char *>(graph->GetCode().Data()); in Generate() 360 auto codeExit = codeEntry + graph->GetCode().Size(); in Generate() 436 auto codeEntry = reinterpret_cast<char *>(graph->GetCode().Data()); in GenCast() 438 auto codeExit = codeEntry + graph->GetCode().Size(); in GenCast()
|
| /arkcompiler/runtime_core/static_core/compiler/ |
| D | compile_method.cpp | 120 prefix.codeSize = graph->GetCode().size(); in EmitCode() 121 prefix.codeInfoOffset = codeOffset + RoundUp(graph->GetCode().size(), sizeof(uint32_t)); in EmitCode() 132 …memcpy_s(&data[codeOffset], graph->GetCode().size(), graph->GetCode().data(), graph->GetCode().siz… in EmitCode() 159 … << bit_cast<void *>(codeInfo.GetCode()) << ", code size " << codeInfo.GetCodeSize(); in GetEntryPoint() 161 auto entryPoint = const_cast<uint8_t *>(codeInfo.GetCode()); in GetEntryPoint() 196 ASSERT(graph != nullptr && graph->GetCode().data() != nullptr); in CheckCompilation() 416 if (graph->GetCode().Empty()) { in EmitElf() 429 compiledMethod.SetCode(graph->GetCode().ToConst()); in EmitElf() 453 return jitWriter.GetCode(); in EmitElf()
|
| /arkcompiler/runtime_core/static_core/compiler/tests/aarch64/ |
| D | codegen_test.cpp | 245 auto codeEntry = reinterpret_cast<vixl::aarch64::Instruction *>(GetGraph()->GetCode().Data()); in TEST_F() 247 auto codeExit = codeEntry + GetGraph()->GetCode().Size(); in TEST_F() 300 … auto codeEntry = reinterpret_cast<vixl::aarch64::Instruction *>(GetGraph()->GetCode().Data()); in CheckSpillFillCoalescingForEvenRegsNumber() 302 auto codeExit = codeEntry + GetGraph()->GetCode().Size(); in CheckSpillFillCoalescingForEvenRegsNumber() 360 … auto codeEntry = reinterpret_cast<vixl::aarch64::Instruction *>(GetGraph()->GetCode().Data()); in CheckSpillFillCoalescingForOddRegsNumber() 362 auto codeExit = codeEntry + GetGraph()->GetCode().Size(); in CheckSpillFillCoalescingForOddRegsNumber() 461 … ASSERT_TRUE(GetGraph()->GetCode().Size() == expectedAsm.size() * vixl::aarch64::kInstructionSize); in CheckLeafPrologue() 462 … auto codeEntry = reinterpret_cast<vixl::aarch64::Instruction *>(GetGraph()->GetCode().Data()); in CheckLeafPrologue() 464 auto codeExit = codeEntry + GetGraph()->GetCode().Size(); in CheckLeafPrologue() 553 … ASSERT_TRUE(GetGraph()->GetCode().Size() == expectedAsm.size() * vixl::aarch64::kInstructionSize); in CheckLeafWithParamsOnStackPrologue() [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/aot/aot_builder/ |
| D | aot_builder.cpp | 41 prefix.codeSize = method.GetCode().size(); in FillData() 42 … prefix.codeInfoOffset = codeOffset + RoundUp(method.GetCode().size(), CodeInfo::ALIGNMENT); in FillData() 52 data = reinterpret_cast<const char *>(method.GetCode().data()); in FillData() 53 CopyToSpan(stream, data, method.GetCode().size(), currPos); in FillData() 54 currPos += method.GetCode().size(); in FillData() 57 … currPos += RoundUp(method.GetCode().size(), CodeInfo::ALIGNMENT) - method.GetCode().size(); in FillData()
|
| D | llvm_aot_builder.h | 67 methods_.at(index).SetCode(method.GetCode()); in AdjustMethod()
|
| /arkcompiler/runtime_core/static_core/irtoc/backend/ |
| D | dwarf_builder.cpp | 161 if (dwarf_lne_end_sequence(dwarf_, graph->GetCode().size(), &error) != DW_DLV_OK) { in BuildGraph() 172 …attr = dwarf_add_AT_targ_address_b(dwarf_, die, DW_AT_high_pc, graph->GetCode().size(), symbol, &e… in BuildGraph() 178 codeSize_ = codeOffset + graph->GetCode().size(); in BuildGraph()
|
| D | compilation.cpp | 107 uint32_t code = reg.GetCode(); in AppendRegisterNameToOutput() 141 … usedRegisters_ |= UsedRegistersCollector::CollectForCode(allocator, unit->GetCode()); in CollectUsedRegisters() 361 auto code = unit->GetCode(); in MakeElf()
|
| D | function.cpp | 90 auto code = GetGraph()->GetCode(); in Compile() 128 ASSERT(GetGraph()->GetCode().Empty()); in RunOptimizations()
|
| D | function.h | 88 auto GetCode() const in GetCode() function
|
| /arkcompiler/runtime_core/static_core/compiler/aot/ |
| D | compiled_method.h | 62 Span<const uint8_t> GetCode() const in GetCode() function
|
| D | aot_manager.h | 139 auto code = reinterpret_cast<uintptr_t>(aotFile->GetCode()); in InAotFileRange()
|
| D | aot_file.h | 61 const void *GetCode() const in GetCode() function
|
| D | aot_manager.cpp | 40 …DEBUG, AOT) << "AOT file '" << fileName << "' has been loaded, code=" << aotFile.Value()->GetCode() in AddFile()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
| D | aarch64_validbit_opt.cpp | 499 …if ((cmpConstVal == 0 && cond.GetCode() == CC_NE) || (cmpConstVal == 1 && cond.GetCode() == CC_EQ)… in Run() 502 …} else if ((cmpConstVal == 1 && cond.GetCode() == CC_NE) || (cmpConstVal == 0 && cond.GetCode() ==… in Run()
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/aarch64/ |
| D | target.h | 134 if (reg.GetId() == vixl::aarch64::sp.GetCode()) { in VixlReg() 151 if (reg.GetId() == vixl::aarch64::sp.GetCode()) { in VixlReg() 215 bool base = mem.HasBase() && (mem.GetBase().GetId() != vixl::aarch64::xzr.GetCode()); in ConvertMem() 307 regMask.set(vixl::aarch64::x29.GetCode()); in GetDefaultRegMask() 308 regMask.set(vixl::aarch64::lr.GetCode()); in GetDefaultRegMask()
|
| D | encode.cpp | 2513 return Reg(reg.GetCode(), type); in AcquireScratchRegister() 2571 … if (src0.GetId() != vixl::aarch64::s0.GetCode() || src1.GetId() != vixl::aarch64::s1.GetCode()) { in MakeLibCall() 2580 if (dst.GetId() != vixl::aarch64::s0.GetCode()) { in MakeLibCall() 2589 … if (src0.GetId() != vixl::aarch64::d0.GetCode() || src1.GetId() != vixl::aarch64::d1.GetCode()) { in MakeLibCall() 2599 if (dst.GetId() != vixl::aarch64::d0.GetCode()) { in MakeLibCall() 2750 if (nextReg.IsValid() && (nextReg.GetCode() - 1 == currReg.GetCode())) { in LoadStoreRegistersLoop() 2753 … MemOperand(baseReg, (slot + currReg.GetCode() - startReg) * DOUBLE_WORD_SIZE_BYTES)); in LoadStoreRegistersLoop() 2756 … MemOperand(baseReg, (slot + currReg.GetCode() - startReg) * DOUBLE_WORD_SIZE_BYTES)); in LoadStoreRegistersLoop() 2762 … MemOperand(baseReg, (slot + currReg.GetCode() - startReg) * DOUBLE_WORD_SIZE_BYTES)); in LoadStoreRegistersLoop() 2765 … MemOperand(baseReg, (slot + currReg.GetCode() - startReg) * DOUBLE_WORD_SIZE_BYTES)); in LoadStoreRegistersLoop()
|
| D | callconv.cpp | 53 ASSERT((regs.GetList() & (UINT64_C(1) << vixl::aarch64::xzr.GetCode())) == 0); in PushRegs() 70 ASSERT((regs.GetList() & (UINT64_C(1) << vixl::aarch64::xzr.GetCode())) == 0); in PopRegs()
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/ |
| D | disassembly.cpp | 176 item.GetStream() << " code_size: " << std::dec << graph->GetCode().Size() << "\n"; in PrintCodeStatistics()
|
| /arkcompiler/runtime_core/static_core/runtime/ |
| D | stack_walker.cpp | 141 auto code = reinterpret_cast<uintptr_t>(codeInfo_.GetCode()); in CreateCFrame() 149 … << ", code=[" << reinterpret_cast<const void *>(codeInfo_.GetCode()) in CreateCFrame() 152 … << reinterpret_cast<const void *>(codeInfo_.GetCode() + codeInfo_.GetCodeSize()) in CreateCFrame()
|