| /arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/ |
| D | slow_path.cpp | 21 void SlowPathBase::Generate(Codegen *codegen) in Generate() argument 31 SCOPED_DISASM_STR(codegen, in Generate() 33 Encoder *encoder = codegen->GetEncoder(); in Generate() 37 GenerateImpl(codegen); in Generate() 40 codegen->GetEncoder()->EncodeJump(GetBackLabel()); in Generate() 48 bool SlowPathEntrypoint::GenerateThrowOutOfBoundsException(Codegen *codegen) in GenerateThrowOutOfBoundsException() argument 50 auto lenReg = codegen->ConvertRegister(GetInst()->GetSrcReg(0), GetInst()->GetInputType(0)); in GenerateThrowOutOfBoundsException() 52 ScopedTmpReg indexReg(codegen->GetEncoder()); in GenerateThrowOutOfBoundsException() 53 codegen->GetEncoder()->EncodeMov(indexReg, Imm(GetInst()->CastToBoundsCheckI()->GetImm())); in GenerateThrowOutOfBoundsException() 54 …codegen->CallRuntime(GetInst(), GetEntrypoint(), INVALID_REGISTER, RegMask::GetZeroMask(), indexRe… in GenerateThrowOutOfBoundsException() [all …]
|
| D | disassembly.cpp | 47 Disassembly::Disassembly(const Codegen *codegen) in Disassembly() argument 48 : codegen_(codegen), in Disassembly() 49 encoder_(codegen->GetEncoder()), in Disassembly() 107 void Disassembly::PrintMethodEntry(const Codegen *codegen) in PrintMethodEntry() argument 110 auto graph = codegen->GetGraph(); in PrintMethodEntry() 118 …item.GetStream() << INDENT << "name: " << codegen->GetRuntime()->GetMethodFullName(graph->GetMetho… in PrintMethodEntry() 126 …item.GetStream() << INDENT << "id: " << codegen->GetRuntime()->GetMethodId(graph->GetMethod()) << … in PrintMethodEntry() 135 auto arch = codegen->GetArch(); in PrintMethodEntry() 136 auto frame = codegen->GetFrameInfo(); in PrintMethodEntry() 158 void Disassembly::PrintCodeInfo(const Codegen *codegen) in PrintCodeInfo() argument [all …]
|
| D | disassembly.h | 62 explicit Disassembly(const Codegen *codegen); 113 void PrintMethodEntry(const Codegen *codegen); 114 void PrintCodeInfo(const Codegen *codegen); 115 void PrintCodeStatistics(const Codegen *codegen); 116 void PrintStackMap(const Codegen *codegen); 143 ScopedDisasmPrinter(Codegen *codegen, const std::string &msg); 144 ScopedDisasmPrinter(Codegen *codegen, const Inst *inst); 180 #define SCOPED_DISASM_INST(codegen, inst) ScopedDisasmPrinter DISASM_VAR_CONCAT(disasm_, __LINE__)(… argument 183 #define SCOPED_DISASM_STR(codegen, str) ScopedDisasmPrinter DISASM_VAR_CONCAT(disasm_, __LINE__)(co… argument 186 #define SCOPED_DISASM_STR(codegen, str) (void)codegen argument
|
| D | slow_path.h | 67 void Generate(Codegen *codegen); 69 virtual void GenerateImpl(Codegen *codegen) = 0; 92 void GenerateImpl(Codegen *codegen) override; 104 void GenerateImpl(Codegen *codegen) override; 115 bool GenerateThrowOutOfBoundsException(Codegen *codegen); 116 bool GenerateInitializeClass(Codegen *codegen); 117 bool GenerateIsInstance(Codegen *codegen); 118 bool GenerateCheckCast(Codegen *codegen); 119 bool GenerateByEntry(Codegen *codegen); 120 bool GenerateCreateObject(Codegen *codegen); [all …]
|
| D | spill_fill_encoder.cpp | 100 SpillFillEncoder::SpillFillEncoder(Codegen *codegen, Inst *inst) in SpillFillEncoder() argument 102 graph_(codegen->GetGraph()), in SpillFillEncoder() 103 codegen_(codegen), in SpillFillEncoder() 104 encoder_(codegen->GetEncoder()), in SpillFillEncoder() 105 fl_(codegen->GetFrameLayout()) in SpillFillEncoder() 107 spReg_ = codegen->GetTarget().GetStackReg(); in SpillFillEncoder()
|
| D | codegen.cpp | 39 void FixIntervals(Codegen *codegen, Encoder *encoder) in FixIntervals() argument 41 auto &la = codegen->GetGraph()->GetAnalysis<LivenessAnalyzer>(); in FixIntervals() 42 la.EnumerateLiveIntervalsForInst(saveState_, [this, codegen, encoder](const auto &li) { in FixIntervals() 55 encoder->EncodeMov(codegen->ConvertRegister(inst->GetDstReg(), inst->GetType()), in FixIntervals() 66 … MemRef(codegen->SpReg(), codegen->GetFrameLayout().GetSpillOffsetFromSpInBytes(slot))); in FixIntervals() 103 …OsrEntryStub(Codegen *codegen, SaveStateInst *inst) : label_(codegen->GetEncoder()->CreateLabel())… in OsrEntryStub() argument 111 void Generate(Codegen *codegen) in Generate() argument 113 auto encoder = codegen->GetEncoder(); in Generate() 114 auto lr = codegen->GetTarget().GetLinkReg(); in Generate() 115 auto fl = codegen->GetFrameLayout(); in Generate() [all …]
|
| D | spill_fill_encoder.h | 31 SpillFillEncoder(Codegen *codegen, Inst *inst);
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/templates/ |
| D | codegen_arm64_gen.inc.erb | 19 % next unless inst.respond_to? 'codegen' 21 % IR::codegen.reset 22 % inst.codegen.each do |cg| 23 % IR::codegen.reset_prologue 24 % data = IR::codegen.instance_eval(cg) 25 <%= IR::codegen.prologue %>
|
| D | instructions.rb | 218 def codegen method
|
| /arkcompiler/runtime_core/compiler/optimizer/templates/ |
| D | codegen_arm64_gen.inc.erb | 19 % next unless inst.respond_to? 'codegen' 21 % IR::codegen.reset 22 % inst.codegen.each do |cg| 23 % IR::codegen.reset_prologue 24 % data = IR::codegen.instance_eval(cg) 25 <%= IR::codegen.prologue %>
|
| D | instructions.rb | 218 def codegen method
|
| /arkcompiler/runtime_core/static_core/compiler/tests/ |
| D | intrinsic_codegen_test.cpp | 43 Codegen codegen(graph); in TryEncode() local 44 codegen.GetCodeBuilder()->BeginMethod(0U, 0U); in TryEncode() 49 codegen.Initialize(); in TryEncode() 51 codegen.CreateBuiltinIntrinsic(inst); in TryEncode() 52 return codegen.GetEncoder()->GetResult(); in TryEncode()
|
| /arkcompiler/runtime_core/static_core/compiler/docs/ |
| D | codegen_doc.md | 7 It is needed Regalloc-pass and LinearOrder-analysis for codegen-work. First - because it is needed … 11 List of major codegen-dependency: 55 codegen.cpp: 147 [codegen.cpp](../optimizer/code_generator/codegen.cpp) 148 [codegen.h](../optimizer/code_generator/codegen.h)
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/templates/intrinsics/ |
| D | intrinsics_codegen_ext.inl.h.erb | 20 % if plugin_opts["Intrinsics"]["codegen"] 21 #include "<%= plugin_opts["Intrinsics"]["codegen"] %>"
|
| /arkcompiler/runtime_core/compiler/optimizer/templates/intrinsics/ |
| D | intrinsics_codegen_ext.inl.h.erb | 20 % if plugin_opts["Intrinsics"]["codegen"] 21 #include "<%= plugin_opts["Intrinsics"]["codegen"] %>"
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | stub_compiler.cpp | 92 CodeGenerator codegen(llvmImpl_, "stubs"); in Run() local 93 …codegen.RunForStub(data->GetCircuit(), data->GetConstScheduleResult(), index, data->GetCompilation… in Run()
|
| /arkcompiler/runtime_core/docs/ |
| D | aot.md | 52 …ppropriate data during AOT file loading at runtime. This data allows compiler's codegen to generate 75 Knowing offset to the `.aot_got` table, codegen calculates offset to the corresponding entrypoint a… 174 to dump ir only after last (codegen) pass. All of these options are used at compile time.
|
| /arkcompiler/runtime_core/static_core/docs/ |
| D | aot.md | 52 …ppropriate data during AOT file loading at runtime. This data allows compiler's codegen to generate 75 Knowing offset to the `.aot_got` table, codegen calculates offset to the corresponding entrypoint a… 174 to dump ir only after last (codegen) pass. All of these options are used at compile time.
|
| D | deoptimization.md | 18 Details in [codegen.cpp](../compiler/optimizer/code_generator/codegen.cpp), function EncodeVisitor:…
|
| /arkcompiler/runtime_core/static_core/bytecode_optimizer/ |
| D | CMakeLists.txt | 22 codegen.cpp
|
| D | BUILD.gn | 40 "$ark_root/bytecode_optimizer/codegen.cpp",
|
| /arkcompiler/runtime_core/bytecode_optimizer/ |
| D | BUILD.gn | 27 "$ark_root/bytecode_optimizer/codegen.cpp",
|
| D | CMakeLists.txt | 22 codegen.cpp
|
| /arkcompiler/ets_runtime/ |
| D | js_runtime_config.gni | 34 MAPLEALL_ROOT = "//arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple"
|
| /arkcompiler/runtime_core/compiler/docs/ |
| D | lowering_doc.md | 13 * Encoder from codegen.
|