/ark/runtime_core/assembler/ |
D | assembly-emitter.h | 52 …static bool Emit(panda_file::ItemContainer *items, const Program &program, PandaFileToPandaAsmMaps… 55 …static bool Emit(panda_file::Writer *writer, const Program &program, std::map<std::string, size_t>… 58 …static bool Emit(const std::string &filename, const Program &program, std::map<std::string, size_t… 61 static std::unique_ptr<const panda_file::File> Emit(const Program &program, 70 static void MakeStringItems(panda_file::ItemContainer *items, const Program &program, 72 static void MakeLiteralItems(panda_file::ItemContainer *items, const Program &program, 74 static void MakeArrayTypeItems(panda_file::ItemContainer *items, const Program &program, 77 panda_file::ItemContainer *items, const Program &program, AsmEntityCollections &entities, 80 …static bool HandleBaseRecord(panda_file::ItemContainer *items, const Program &program, const std::… 82 …static bool HandleInterfaces(panda_file::ItemContainer *items, const Program &program, const std::… [all …]
|
D | assembly-emitter.cpp | 130 bool AsmEmitter::CheckValueType(Value::Type value_type, Type type, const Program &program) in CheckValueType() argument 144 auto it = program.record_table.find(type.GetName()); in CheckValueType() 145 if (it == program.record_table.cend()) { in CheckValueType() 244 bool AsmEmitter::CheckValueRecordCase(const Value *value, const Program &program) in CheckValueRecordCase() argument 254 auto it = program.array_types.find(t); in CheckValueRecordCase() 255 is_found = it != program.array_types.cend(); in CheckValueRecordCase() 257 auto it = program.record_table.find(record_name); in CheckValueRecordCase() 258 is_found = it != program.record_table.cend(); in CheckValueRecordCase() 270 bool AsmEmitter::CheckValueMethodCase(const Value *value, const Program &program) in CheckValueMethodCase() argument 273 auto it = program.function_table.find(function_name); in CheckValueMethodCase() [all …]
|
D | pandasm.cpp | 120 bool DumpProgramInJson(panda::pandasm::Program &program, const panda::PandArg<std::string> &scopes_… in DumpProgramInJson() argument 130 dump_file << program.JsonDump(); in DumpProgramInJson() 136 bool EmitProgramInBinary(panda::pandasm::Program &program, panda::PandArgParser &pa_parser, in EmitProgramInBinary() argument 146 …if (!panda::pandasm::AsmEmitter::Emit(output_file.GetValue(), program, statp, mapsp, emit_debug_in… in EmitProgramInBinary() 168 bool BuildFiles(panda::pandasm::Program &program, panda::PandArgParser &pa_parser, in BuildFiles() argument 172 if (!DumpProgramInJson(program, scopes_file)) { in BuildFiles() 176 if (!EmitProgramInBinary(program, pa_parser, output_file, optimize, size_stat)) { in BuildFiles() 234 auto &program = res.Value(); in main() local 241 …if (!panda::pandasm::BuildFiles(program, pa_parser, output_file, optimize, size_stat, scopes_file)… in main()
|
D | pandasm.h | 39 bool DumpProgramInJson(panda::pandasm::Program &program, const panda::PandArg<std::string> &scopes_… 41 bool EmitProgramInBinary(panda::pandasm::Program &program, panda::PandArgParser &pa_parser, 45 bool BuildFiles(panda::pandasm::Program &program, panda::PandArgParser &pa_parser,
|
D | assembly-function.h | 137 …void EmitLocalVariable(panda_file::LineNumberProgramItem *program, panda_file::ItemContainer *cont… 139 …void EmitNumber(panda_file::LineNumberProgramItem *program, std::vector<uint8_t> *constant_pool, u… 141 …void EmitLineNumber(panda_file::LineNumberProgramItem *program, std::vector<uint8_t> *constant_poo… 144 …void EmitColumnNumber(panda_file::LineNumberProgramItem *program, std::vector<uint8_t> *constant_p…
|
D | BUILD.gn | 33 "assembly-program.cpp",
|
D | CMakeLists.txt | 40 assembly-program.cpp
|
/ark/ts2abc/ts2panda/tests/types/ |
D | typeUtils.ts | 48 let program = ts.createProgram(filePath, options); 49 let sourceFile = program.getSourceFile(fileName); 51 typeChecker.setTypeChecker(program.getTypeChecker());
|
/ark/ts2abc/ts2panda/src/ |
D | index.ts | 58 let program = ts.createProgram(fileNames, options, host); 60 typeChecker.setTypeChecker(program.getTypeChecker()); 63 for (let sourceFile of program.getSourceFiles()) { 64 if (sourceFile.isDeclarationFile && !program.isSourceFileDefaultLibrary(sourceFile)) { 71 let emitResult = program.emit( 119 .getPreEmitDiagnostics(program)
|
D | pandasm.ts | 217 generate_program: (filename: string, program: Program) => string;
|
/ark/js_runtime/ecmascript/jspandafile/ |
D | debug_info_extractor.cpp | 43 …rogramProcessor(LineProgramState state, const uint8_t *program) : state_(state), program_(program)… in LineNumberProgramProcessor() argument 246 const uint8_t *program = dda.GetLineNumberProgram(); in Extract() local 250 LineNumberProgramProcessor programProcessor(state, program); in Extract()
|
/ark/runtime_core/libpandafile/ |
D | debug_info_extractor.cpp | 36 …rogramProcessor(LineProgramState state, const uint8_t *program) : state_(state), program_(program)… in LineNumberProgramProcessor() argument 276 const uint8_t *program = dda.GetLineNumberProgram(); in Extract() local 281 LineNumberProgramProcessor program_processor(state, program); in Extract()
|
/ark/runtime_core/cmake/ |
D | PandaAssembly.cmake | 116 # stderr of the program respectively 131 # List of arguments that will be passed to program's entry point 134 # If specified, the program will be run and terminated with the signal 10 (corresponds 136 # must match the `timeout` command. The run will be considered successful if the program 228 # in both Panda's own options and the running program's options. 306 # stderr of the program respectively 318 # If specified, the program will be run and terminated with the signal 10 (corresponds 320 # must match the `timeout` command. The run will be considered successful if the program
|
/ark/js_runtime/ecmascript/snapshot/mem/ |
D | snapshot.cpp | 38 void SnapShot::MakeSnapShotProgramObject(Program *program, const panda_file::File *pf, const CStrin… in MakeSnapShotProgramObject() argument 82 if (program != nullptr) { in MakeSnapShotProgramObject() 83 SerializeHelper::AddObjectHeaderToData(program, &objectQueue, &data); in MakeSnapShotProgramObject()
|
D | snapshot.h | 34 void MakeSnapShotProgramObject(Program *program, const panda_file::File *pf,
|
/ark/ts2abc/ts2panda/tools/ |
D | astPrinter.ts | 174 const program = ts.createProgram(fileNames, options); constant 175 const files = program.getSourceFiles();
|
/ark/js_runtime/ecmascript/ |
D | ecma_vm.cpp | 459 JSHandle<Program> program; in InvokeEcmaEntrypoint() local 461 program = JSPandaFileManager::GetInstance()->GenerateProgram(this, jsPandaFile); in InvokeEcmaEntrypoint() 467 … snapShot.MakeSnapShotProgramObject(*program, jsPandaFile->GetPandaFile(), snapshotFileName_); in InvokeEcmaEntrypoint() 471 program = JSPandaFileManager::GetInstance()->GenerateProgram(this, jsPandaFile); in InvokeEcmaEntrypoint() 473 program = JSHandle<Program>(thread_, frameworkProgram_); in InvokeEcmaEntrypoint() 478 if (program.IsEmpty()) { in InvokeEcmaEntrypoint() 485 JSHandle<JSFunction> func = JSHandle<JSFunction>(thread_, program->GetMainFunction()); in InvokeEcmaEntrypoint()
|
/ark/runtime_core/docs/ |
D | rationale-for-bytecode.md | 10 Before discussing bytecode, let's take a look at a simplified picture of how a program is running o… 16 operands are _stack operands_ that reside in a special data structure called _stack_. The program 26 ones. A program written for such abstract CPU can be run on any real hardware with the help of a 27 special program called _interpreter_. The goal of the interpreter is to read our unified _virtual_ 30 abstract from CPU limitations and run our program wherever our interpreter runs. Tooling 83 is very important since bytecode interpretation is a required program execution mode for Panda.
|
D | file_format.md | 232 | `lnp_idx_off` | `uint32_t` | Offset to the line number program index structure. The… 830 …s aimed to allow the use of more compact references to [Line Number Program](#line-number-program). 831 …fsets from the beginning of the file to the [Line Number Program](#line-number-program) structures. 840 …nt32_t[]` | Sorted array of offsets to [Line Number Program](#line-number-program) structures. | 917 …program counters of a method and line numbers in sourcecode and information about local variables.… 930 … | [Line number program](#line-number-program) index in a [`LineNumberProgramIndex`](#linenumber… 934 Many methods have similar line number program. The difference is only in variable names, 935 variable types and file names. To deduplicate such programs all constants the program refers to 936 are stored in the constant pool. During interpretation of the program 944 The aim of the state machine is to generate a mapping between program counters and line numbers and [all …]
|
D | glossary.md | 20 used to represent input program and usually designed for analysis and optimization. 25 compilation" are used to indicate that the source code or bytecode is compiled during program
|
/ark/js_runtime/ecmascript/class_linker/ |
D | panda_file_translator.cpp | 114 JSHandle<Program> program = factory_->NewProgram(); in GenerateProgram() local 124 program->SetMainFunction(thread_, mainFunc.GetTaggedValue()); in GenerateProgram() 129 return *program; in GenerateProgram() 258 return *program; in GenerateProgram()
|
/ark/runtime_core/assembler/tests/ |
D | parser_test.cpp | 2097 auto &program = res.Value(); in TEST() local 2098 auto it_func = program.function_table.find("main"); in TEST() 2100 ASSERT_TRUE(it_func != program.function_table.end()); in TEST() 2123 auto &program = res.Value(); in TEST() local 2124 auto it_func = program.function_table.find("main"); in TEST() 2126 ASSERT_TRUE(it_func != program.function_table.end()); in TEST() 2148 auto &program = res.Value(); in TEST() local 2149 auto it_func = program.function_table.find("main"); in TEST() 2151 ASSERT_TRUE(it_func != program.function_table.end()); in TEST() 2177 auto &program = res.Value(); in TEST() local [all …]
|
/ark/js_runtime/ecmascript/tooling/backend/ |
D | debugger_api.cpp | 319 JSHandle<Program> program = mgr->GenerateProgram(const_cast<EcmaVM *>(ecmaVm), jsPandaFile); in GenerateFuncFromBuffer() local 320 JSTaggedValue func = program->GetMainFunction(); in GenerateFuncFromBuffer()
|
/ark/runtime_core/runtime/ |
D | method.cpp | 391 const uint8_t *program = dda.GetLineNumberProgram(); in GetLineNumFromBytecodeOffset() local 392 auto size = panda_file_->GetSpanFromId(panda_file_->GetIdFromPointer(program)).size(); in GetLineNumFromBytecodeOffset() 393 auto opcode_sp = Span(reinterpret_cast<const Opcode *>(program), size); in GetLineNumFromBytecodeOffset()
|
/ark/js_runtime/ecmascript/compiler/ |
D | circuit_ir_specification.md | 7 Circuit IR splits a program into two major parts: [sequential logic](https://en.wikipedia.org/wiki/… 9 …it IR which is similar to the underlying control flow graph (CFG) of the program, and gates in thi… 11 … the other subgraph of Circuit IR which represents all computations in a program using a directed … 45 …(closer to languages) and **optional**. They can provide information for program analysis, code op…
|