Home
last modified time | relevance | path

Searched refs:Program (Results 1 – 25 of 906) sorted by relevance

12345678910>>...37

/arkcompiler/ets_frontend/es2panda/parser/program/
Dprogram.cpp23 Program::Program(ScriptExtension extension) in Program() function in panda::es2panda::parser::Program
32 Program::Program(Program &&other) in Program() function in panda::es2panda::parser::Program
52 Program &Program::operator=(Program &&other) in operator =()
69 void Program::SetKind(ScriptKind kind) in SetKind()
80 std::string Program::Dump() const in Dump()
Dprogram.h40 class Program {
42 explicit Program(es2panda::ScriptExtension extension);
43 NO_COPY_SEMANTIC(Program);
44 Program(Program &&other);
45 Program &operator=(Program &&other);
46 ~Program() = default;
/arkcompiler/runtime_core/assembler/
Dassembly-emitter.h52 …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>…
59 …static bool Emit(const std::string &filename, const Program &program, std::map<std::string, size_t…
63 …static bool EmitPrograms(const std::string &filename, const std::vector<Program *> &progs, bool em…
65 static std::unique_ptr<const panda_file::File> Emit(const Program &program,
74 static void MakeStringItems(panda_file::ItemContainer *items, const Program &program,
76 static void MakeLiteralItems(panda_file::ItemContainer *items, const Program &program,
78 static void MakeArrayTypeItems(panda_file::ItemContainer *items, const Program &program,
81 panda_file::ItemContainer *items, const Program &program, AsmEntityCollections &entities,
84 …static bool HandleBaseRecord(panda_file::ItemContainer *items, const Program &program, const std::…
[all …]
Dpandasm.h37 panda::Expected<panda::pandasm::Program, panda::pandasm::Error> &res);
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,
Dassembly-emitter.cpp130 std::string AsmEmitter::GetMethodSignatureFromProgram(const std::string &name, const Program &progr… in GetMethodSignatureFromProgram()
257 …ItemContainer *container, const Value *value, std::vector<ScalarValueItem> *out, const Program &pr… in CreateScalarMethodValueItem()
280 …ItemContainer *container, const Value *value, std::vector<ScalarValueItem> *out, const Program &pr… in CreateScalarLiteralArrayItem()
317 …ItemContainer *container, const Value *value, std::vector<ScalarValueItem> *out, const Program &pr… in CreateScalarAnnotationValueItem()
336 … std::vector<ScalarValueItem> *out, const Program &program, in CreateScalarValueItem()
388 ValueItem *AsmEmitter::CreateValueItem(ItemContainer *container, const Value *value, const Program in CreateValueItem()
414 const Program &program, const AsmEmitter::AsmEntityCollections &entities) in CreateAnnotationItem()
494 … const Program &program, const AsmEmitter::AsmEntityCollections &entities) in AddAnnotations()
560 void AsmEmitter::MakeStringItems(ItemContainer *items, const Program &program, in MakeStringItems()
570 void AsmEmitter::MakeLiteralItems(ItemContainer *items, const Program &program, in MakeLiteralItems()
[all …]
/arkcompiler/ets_frontend/merge_abc/src/
DassemblyProgramProto.h27 class Program {
29 … static void Serialize(const panda::pandasm::Program &program, protoPanda::Program &protoProgram);
30 … static void Deserialize(const protoPanda::Program &protoProgram, panda::pandasm::Program &program,
DprotobufSnapshotGenerator.cpp22 void ProtobufSnapshotGenerator::GenerateSnapshot(const panda::pandasm::Program &program, const std:… in GenerateSnapshot()
24 protoPanda::Program protoProgram; in GenerateSnapshot()
26 Program::Serialize(program, protoProgram); in GenerateSnapshot()
39 …obufSnapshotGenerator::GenerateProgram(const std::string &inputName, panda::pandasm::Program &prog, in GenerateProgram()
49 protoPanda::Program proto_program; in GenerateProgram()
54 Program::Deserialize(proto_program, prog, allocator); in GenerateProgram()
73 auto *program = allocator->New<panda::pandasm::Program>(); in GetCacheContext()
74 Program::Deserialize(protoCache.program(), *program, allocator); in GetCacheContext()
87 Program::Serialize(programCache->program, *protoProgram); in UpdateCacheFile()
DassemblyProgramProto.cpp19 void Program::Serialize(const panda::pandasm::Program &program, protoPanda::Program &protoProgram) in Serialize()
52 void Program::Deserialize(const protoPanda::Program &protoProgram, panda::pandasm::Program &program, in Deserialize()
DprotobufSnapshotGenerator.h26 …static void GenerateSnapshot(const panda::pandasm::Program &program, const std::string &outputName…
27 static void GenerateProgram(const std::string &inputName, panda::pandasm::Program &prog,
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/
DtypeExtractorEmitter.h38 …static void GenTypeInfoRecord(panda::pandasm::Program *prog, bool typeFlag, int64_t typeSummaryInd…
40 …static void GenTypeInfoRecordForMergeABC(panda::pandasm::Program *prog, bool typeFlag, int64_t typ…
42 …static void GenTypeLiteralBuffers(panda::pandasm::Program *prog, const extractor::TypeRecorder *re…
59 void GenFunctionTypeInfo(panda::pandasm::Program *prog);
60 void GenExportTypeInfo(panda::pandasm::Program *prog);
61 void GenDeclareTypeInfo(panda::pandasm::Program *prog);
64 …void GenImportOrDeclareTypeInfo(panda::pandasm::Program *prog, const extractor::TypeRecorder *reco…
Demitter.h36 struct Program;
116 static void DumpAsm(const panda::pandasm::Program *prog);
117 panda::pandasm::Program *Finalize(bool dumpDebugInfo, util::PatchFix *patchFixHelper);
118 panda::pandasm::Program *GetProgram() const;
134 panda::pandasm::Program *prog_;
Demitter.cpp100 return pg_->Binder()->Program()->SourceCode(); in SourceCode()
107 return const_cast<lexer::LineIndex &>(pg_->Binder()->Program()->GetLineIndex()); in GetLineIndex()
230 func_->source_file = std::string {pg_->Binder()->Program()->SourceFile()}; in GenSourceFileDebugInfo()
307 prog_ = new panda::pandasm::Program(); in Emitter()
318 auto recordName = context->Binder()->Program()->FormatedRecordName().Mutf8(); in Emitter()
321 SetCommonjsField(context->Binder()->Program()->Kind() == parser::ScriptKind::COMMONJS); in Emitter()
324 if (context->Binder()->Program()->Kind() == parser::ScriptKind::COMMONJS) { in Emitter()
391 … auto litId = std::string(context->Binder()->Program()->RecordName()) + "_" + std::to_string(idx); in AddFunction()
403 auto moduleLiteral = std::string(context->Binder()->Program()->RecordName()) + "_" + in AddSourceTextModuleRecord()
422 moduleIdxField.name = std::string {context->Binder()->Program()->SourceFile()}; in AddSourceTextModuleRecord()
[all …]
DtypeExtractorEmitter.cpp90 void TypeExtractorEmitter::GenFunctionTypeInfo(panda::pandasm::Program *prog) in GenFunctionTypeInfo()
146 void TypeExtractorEmitter::GenImportOrDeclareTypeInfo(panda::pandasm::Program *prog, in GenImportOrDeclareTypeInfo()
182 void TypeExtractorEmitter::GenExportTypeInfo(panda::pandasm::Program *prog) in GenExportTypeInfo()
190 void TypeExtractorEmitter::GenDeclareTypeInfo(panda::pandasm::Program *prog) in GenDeclareTypeInfo()
219 void TypeExtractorEmitter::GenTypeInfoRecord(panda::pandasm::Program *prog, bool typeFlag, in GenTypeInfoRecord()
227 void TypeExtractorEmitter::GenTypeInfoRecordForMergeABC(panda::pandasm::Program *prog, bool typeFla… in GenTypeInfoRecordForMergeABC()
235 void TypeExtractorEmitter::GenTypeLiteralBuffers(panda::pandasm::Program *prog, in GenTypeLiteralBuffers()
/arkcompiler/ets_frontend/es2panda/compiler/core/
DcompilerImpl.h29 struct Program;
33 class Program; variable
46 …panda::pandasm::Program *Compile(parser::Program *program, const es2panda::CompilerOptions &option…
48 static void DumpAsm(const panda::pandasm::Program *prog);
DcompilerImpl.cpp39 panda::pandasm::Program *CompilerImpl::Compile(parser::Program *program, const es2panda::CompilerOp… in Compile()
83 void CompilerImpl::DumpAsm(const panda::pandasm::Program *prog) in DumpAsm()
/arkcompiler/ets_frontend/es2panda/util/
DprogramCache.h25 panda::pandasm::Program program;
28 …ProgramCache(uint32_t hashCode, panda::pandasm::Program program) : hashCode(hashCode), program(std… in ProgramCache()
32 ProgramCache(uint32_t hashCode, panda::pandasm::Program program, bool needUpdateCache) in ProgramCache()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dpanda_file_translator.h28 class Program; variable
38 static JSHandle<Program> GenerateProgram(EcmaVM *vm, const JSPandaFile *jsPandaFile,
43 static JSHandle<Program> GenerateProgramInternal(EcmaVM *vm, MethodLiteral *mainMethodLiteral,
/arkcompiler/ets_frontend/es2panda/parser/context/
DparserContext.h71 explicit ParserContext(const Program *program) : program_(program) {} in DEFINE_BITOPS()
85 const Program *GetProgram() const in DEFINE_BITOPS()
138 const Program *program_; in DEFINE_BITOPS()
/arkcompiler/ets_frontend/es2panda/
Des2panda.h29 struct Program;
177 panda::pandasm::Program *Compile(const SourceFile &input, const CompilerOptions &options,
179 panda::pandasm::Program *CompileFile(const CompilerOptions &options,
185 inline panda::pandasm::Program *Compile(const SourceFile &input) in Compile()
192 static void DumpAsm(const panda::pandasm::Program *prog);
/arkcompiler/ets_frontend/es2panda/compiler/debugger/
DdebuginfoDumper.h29 explicit DebugInfoDumper(const pandasm::Program *prog);
46 const pandasm::Program *prog_;
/arkcompiler/runtime_core/bytecode_optimizer/tests/
Dconst_array_resolver_test.cpp40 pandasm::Program program; in TEST_F()
83 pandasm::Program program; in TEST_F()
121 pandasm::Program program; in TEST_F()
151 pandasm::Program program; in TEST_F()
182 pandasm::Program program; in TEST_F()
242 pandasm::Program program; in TEST_F()
294 pandasm::Program program; in TEST_F()
329 pandasm::Program program; in TEST_F()
356 pandasm::Program program; in TEST_F()
Dcodegen_test.cpp109 Program *prog = nullptr; in __anon0774c0120102()
147 Program *prog = nullptr; in __anon0774c0120202()
185 Program *prog = nullptr; in __anon0774c0120302()
247 Program *prog = nullptr; in __anon0774c0120402()
284 Program *prog = nullptr; in __anon0774c0120502()
340 Program *prog = nullptr; in __anon0774c0120602()
362 Program *prog = nullptr;
380 Program *prog = nullptr;
398 Program *prog = nullptr;
477 Program *prog = nullptr; in __anon0774c0120702()
/arkcompiler/ets_runtime/ecmascript/ts_types/tests/
Dts_type_test_helper.h30 static void AddLiteral(pandasm::Program &program, const std::string &literalId, in AddLiteral()
43 static void AddTypeSummary(pandasm::Program &program, const std::vector<std::string> &typeIds) in AddTypeSummary()
62 static void AddCommonJsField(pandasm::Program &program) in AddCommonJsField()
116 static void AddSummaryLiteral(pandasm::Program &program, const std::string &typeSummaryId, in AddSummaryLiteral()
/arkcompiler/ets_frontend/arkguard/src/utils/
DTypeUtils.ts28 Program,
86 let program: Program = createProgram([ast.fileName], option, customHost);
/arkcompiler/ets_frontend/ts2panda/ts2abc/
Dts2abc.cpp655 panda::pandasm::Program &prog) in ParseFunctionTypeInfo()
706 static std::string CreateLiteralArrayForType(const Json::Value &types, panda::pandasm::Program &pro… in CreateLiteralArrayForType()
761 panda::pandasm::Program &prog) in ParseFunctionExportedType()
788 panda::pandasm::Program &prog) in ParseFunctionDeclaredType()
831 static panda::pandasm::Function ParseFunction(const Json::Value &function, panda::pandasm::Program in ParseFunction()
852 static void GenerateESCallTypeAnnotationRecord(panda::pandasm::Program &prog) in GenerateESCallTypeAnnotationRecord()
859 static void GenerateESTypeAnnotationRecord(panda::pandasm::Program &prog) in GenerateESTypeAnnotationRecord()
867 static void GenerateESModuleRecord(panda::pandasm::Program &prog) in GenerateESModuleRecord()
874 static void GenerateCommonJsRecord(panda::pandasm::Program &prog, bool isCommonJs) in GenerateCommonJsRecord()
889 static void SetCommonjsField(panda::pandasm::Program &prog, bool isCommonjs) in SetCommonjsField()
[all …]

12345678910>>...37