Home
last modified time | relevance | path

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

12345678910>>...98

/arkcompiler/ets_frontend/ets2panda/ir/ets/
DetsScript.h22 class Program; variable
29 …ript(ArenaAllocator *allocator, ArenaVector<Statement *> &&statementList, parser::Program *program) in ETSScript()
35 parser::Program *Program() in Program() function
40 const parser::Program *Program() const in Program() function
46 parser::Program *program_;
/arkcompiler/runtime_core/static_core/assembler/
Dassembly-emitter.h53 PANDA_PUBLIC_API static bool Emit(panda_file::ItemContainer *items, const Program &program,
57 PANDA_PUBLIC_API static bool Emit(panda_file::Writer *writer, const Program &program,
62 PANDA_PUBLIC_API static bool Emit(const std::string &filename, const Program &program,
67 PANDA_PUBLIC_API static std::unique_ptr<const panda_file::File> Emit(const Program &program,
70 PANDA_PUBLIC_API static bool AssignProfileInfo(Program *program);
78 static void MakeStringItems(panda_file::ItemContainer *items, const Program &program,
80 static void MakeLiteralItems(panda_file::ItemContainer *items, const Program &program,
82 static void MakeArrayTypeItems(panda_file::ItemContainer *items, const Program &program,
85 panda_file::ItemContainer *items, const Program &program, AsmEntityCollections &entities,
88 …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> &scopesF…
41 bool EmitProgramInBinary(panda::pandasm::Program &program, panda::PandArgParser &paParser,
45 bool BuildFiles(panda::pandasm::Program &program, panda::PandArgParser &paParser,
/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
56 Program &Program::operator=(Program &&other) in operator =()
73 void Program::SetKind(ScriptKind kind) in SetKind()
84 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>…
60 …static bool Emit(const std::string &filename, const Program &program, std::map<std::string, size_t…
65 …static bool EmitPrograms(const std::string &filename, const std::vector<Program *> &progs, bool em…
68 static std::unique_ptr<const panda_file::File> Emit(const Program &program,
77 static void MakeStringItems(panda_file::ItemContainer *items, const Program &program,
79 static void MakeLiteralItems(panda_file::ItemContainer *items, const Program &program,
81 static void MakeArrayTypeItems(panda_file::ItemContainer *items, const Program &program,
84 panda_file::ItemContainer *items, const Program &program, AsmEntityCollections &entities,
87 …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,
/arkcompiler/ets_frontend/ets2panda/parser/program/
Dprogram.cpp26 std::string Program::Dump() const in Dump()
32 void Program::DumpSilent() const in DumpSilent()
38 util::StringView Program::PackageClassName(util::StringView className) in PackageClassName()
50 varbinder::ClassScope *Program::GlobalClassScope() in GlobalClassScope()
55 const varbinder::ClassScope *Program::GlobalClassScope() const in GlobalClassScope()
60 varbinder::GlobalScope *Program::GlobalScope() in GlobalScope()
66 const varbinder::GlobalScope *Program::GlobalScope() const in GlobalScope()
Dprogram.h39 class Program {
41 using ExternalSource = ArenaUnorderedMap<util::StringView, ArenaVector<Program *>>;
43 static Program NewProgram(ArenaAllocator *allocator) in NewProgram()
46 return Program(allocator, varbinder); in NewProgram()
49 Program(ArenaAllocator *allocator, varbinder::VarBinder *varbinder) in Program() function
62 NO_COPY_SEMANTIC(Program);
63 DEFAULT_MOVE_SEMANTIC(Program);
65 ~Program() = default;
/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()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/
Dphase.h27 bool Apply(public_lib::Context *ctx, parser::Program *program);
32 [[maybe_unused]] const parser::Program *program) in Precondition()
36 virtual bool Perform(public_lib::Context *ctx, parser::Program *program) = 0;
38 [[maybe_unused]] const parser::Program *program) in Postcondition()
44 void CheckOptionsBeforePhase(const CompilerOptions *options, const parser::Program *program,
46 void CheckOptionsAfterPhase(const CompilerOptions *options, const parser::Program *program,
/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…
/arkcompiler/ets_frontend/ets2panda/linter/src/ts-diagnostics/
DTSCCompiledProgram.ts26 getOriginalProgram(): ts.Program;
31 private tsProgram: ts.Program;
33 constructor(program: ts.Program) {
37 public getOriginalProgram(): ts.Program {
50 constructor(program: ts.Program, options: LintOptions) {
56 public getOriginalProgram(): ts.Program {
75 program: ts.Program,
77 ): { strict: ts.Program; nonStrict: ts.Program; wasStrict: boolean } {
/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);
/arkcompiler/ets_frontend/ets2panda/checker/
DTSchecker.cpp29 std::cout << Program()->Dump() << std::endl; in StartChecker()
33 Program()->DumpSilent(); in StartChecker()
41 ASSERT(Program()->Ast()->IsProgram()); in StartChecker()
42 Program()->Ast()->Check(this); in StartChecker()
/arkcompiler/ets_frontend/ets2panda/varbinder/
DrecordTable.h25 class Program; variable
51 … explicit RecordTable(ArenaAllocator *allocator, parser::Program *program, RecordTableFlags flags) in DEFINE_BITOPS()
136 void SetProgram(parser::Program *program) in DEFINE_BITOPS()
141 parser::Program *Program() in DEFINE_BITOPS()
146 const parser::Program *Program() const in DEFINE_BITOPS()
161 parser::Program *program_ {}; in DEFINE_BITOPS()
DETSBinder.h40 globalRecordTable_(allocator, Program(), RecordTableFlags::NONE), in ETSBinder()
88 ArenaMap<parser::Program *, RecordTable *> &GetExternalRecordTable() in GetExternalRecordTable()
93 const ArenaMap<parser::Program *, RecordTable *> &GetExternalRecordTable() const in GetExternalRecordTable()
125 ArenaVector<parser::Program *> GetExternalProgram(const util::StringView &sourceName,
129 const parser::Program *importProgram,
134 const ArenaVector<parser::Program *> &recordRes,
138 const ArenaVector<parser::Program *> &recordRes);
139 …Variable *FindStaticBinding(const ArenaVector<parser::Program *> &recordRes, const ir::StringLiter…
150 void BuildExternalProgram(parser::Program *extProgram);
252 … const parser::Program *importProgram, const varbinder::GlobalScope *importGlobalScope,
[all …]
/arkcompiler/ets_frontend/ets2panda/compiler/core/
Demitter.h30 struct Program;
103 static void DumpAsm(const pandasm::Program *prog);
104 pandasm::Program *Finalize(bool dumpDebugInfo, std::string_view globalClass = "");
116 pandasm::Program *Program() const in Program() function
127 pandasm::Program *prog_;
DJSemitter.cpp78 Program()->lang = panda_file::SourceLang::ECMASCRIPT; in GenAnnotation()
80 GenESModuleModeRecord(Context()->VarBinder()->Program()->Kind() == parser::ScriptKind::MODULE); in GenAnnotation()
88 auto annotationRecord = pandasm::Record("_ESAnnotation", Program()->lang); in GenESAnnotationRecord()
91 Program()->recordTable.emplace(annotationRecord.name, std::move(annotationRecord)); in GenESAnnotationRecord()
96 auto modeRecord = pandasm::Record("_ESModuleMode", Program()->lang); in GenESModuleModeRecord()
99 auto modeField = pandasm::Field(Program()->lang); in GenESModuleModeRecord()
107 Program()->recordTable.emplace(modeRecord.name, std::move(modeRecord)); in GenESModuleModeRecord()
DcompilerImpl.h28 struct Program;
60 pandasm::Program *Compile(const CompilationUnit &unit);
67 static void DumpAsm(const panda::pandasm::Program *prog);
69 panda::pandasm::Program *Emit(CompilerContext *context);
/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_frontend/ets2panda/linter-4.2/src/ts-diagnostics/
DTSCCompiledProgram.ts29 constructor(program: ts.Program, options: LintOptions) {
35 public getOriginalProgram(): ts.Program {
56 program: ts.Program,
58 ): { strict: ts.Program; nonStrict: ts.Program; wasStrict: boolean } {
/arkcompiler/ets_frontend/ets2panda/parser/context/
DparserContext.h27 class Program; variable
75 explicit ParserContext(const Program *program, ParserStatus status); in DEFINE_BITOPS()
91 const Program *GetProgram() const in DEFINE_BITOPS()
96 void SetProgram(Program *program) in DEFINE_BITOPS()
156 const Program *program_; in DEFINE_BITOPS()

12345678910>>...98