Home
last modified time | relevance | path

Searched full:section (Results 1 – 25 of 171) sorted by relevance

1234567

/arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/benchmark/
DREADME.md54 annotation_item section: 34
55 class_idx_item section: 32
56 class_item section: 223
57 code_item section: 158
58 debug_info_item section: 25
59 foreign_item section: 226
60 header_item section: 40
61 proto_item section: 61
62 string_item section: 239
66 annotation_item section: 16
[all …]
Dcompare.py58 de_optimized_files = 0 # code_item section is bigger than baseline
59 empty_files = 0 # files with no code_item section
72 if exists("code_item section", new_res[filename]):
73 old_size = old_res[filename]["code_item section"]
74 new_size = new_res[filename]["code_item section"]
97 …print("Classes that have been optimized:\n Code_item section size:\n|Old: |New: |Diff:|Per: |Fil…
107 \n Total code_item section size of baseline files: {:d} bytes\
108 \n Total code_item section size of compared files: {:d} bytes\
112 \n Files with no code item section: {:d}\
122 \n Total code_item section size of baseline files: {:d} bytes\
[all …]
/arkcompiler/runtime_core/bytecode_optimizer/tests/benchmark/
DREADME.md54 annotation_item section: 34
55 class_idx_item section: 32
56 class_item section: 223
57 code_item section: 158
58 debug_info_item section: 25
59 foreign_item section: 226
60 header_item section: 40
61 proto_item section: 61
62 string_item section: 239
66 annotation_item section: 16
[all …]
Dcompare.py58 de_optimized_files = 0 # code_item section is bigger than baseline
59 empty_files = 0 # files with no code_item section
72 if exists("code_item section", new_res[filename]):
73 old_size = old_res[filename]["code_item section"]
74 new_size = new_res[filename]["code_item section"]
97 …print("Classes that have been optimized:\n Code_item section size:\n|Old: |New: |Diff:|Per: |Fil…
108 \n Total code_item section size of baseline files: {:d} bytes\
109 \n Total code_item section size of compared files: {:d} bytes\
113 \n Files with no code item section: {:d}\
123 \n Total code_item section size of baseline files: {:d} bytes\
[all …]
/arkcompiler/runtime_core/static_core/verification/config/process/
Dconfig_process.cpp28 using panda::verifier::config::Section;
30 bool ProcessConfigSection(Config *cfg, const Section &section, const panda::PandaString &path = "") in ProcessConfigSection() argument
34 return sectionHandlers.at(path)(cfg, section); in ProcessConfigSection()
36 for (const auto &s : section.sections) { in ProcessConfigSection()
48 …figHandler(Config *cfg, const PandaString &path, callable<bool(Config *, const Section &)> handler) in RegisterConfigHandler()
54 bool ProcessConfig(Config *cfg, const Section &section) in ProcessConfig() argument
56 return ProcessConfigSection(cfg, section, section.name); in ProcessConfig()
Dconfig_process.h29 bool ProcessConfig(Config *cfg, const Section &section);
31 …igHandler(Config *cfg, const PandaString &path, callable<bool(Config *, const Section &)> handler);
/arkcompiler/runtime_core/static_core/verification/config/handlers/
Dconfig_handler_method_options.cpp36 using panda::verifier::config::Section;
121 static const auto processMethodOptions = [](Config *cfg, const Section &section) { in MethodOptionsProcessor() argument
123 MethodOptions &options = allOptions.NewOptions(section.name); in MethodOptionsProcessor()
125 for (const auto &s : section.sections) { in MethodOptionsProcessor()
150 … LOG(ERROR, VERIFIER) << "Failed to parse '" << name << "' under '" << section.name << "'"; in MethodOptionsProcessor()
167 …LOG(ERROR, VERIFIER) << "Unexpected section name: '" << name << "' under '" << section.name << "'"; in MethodOptionsProcessor()
183 static const auto configDebugMethodOptionsVerifier = [](Config *ddcfg, const Section &section) { in RegisterConfigHandlerMethodOptions() argument
185 for (const auto &s : section.sections) { in RegisterConfigHandlerMethodOptions()
192 // take default section from inlined config in RegisterConfigHandlerMethodOptions()
193 Section cfg; in RegisterConfigHandlerMethodOptions()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
Delf_types.h60 #define SHT_NULL 0 /* Section header table entry unused */
72 #define STT_SECTION 3 /* Symbol associated with a section */
88 uint64_t e_shoff; /* Section header table file offset */
99 uint32_t sh_name; /* Section name, index in string tbl */
100 uint32_t sh_type; /* Type of section */
101 uint64_t sh_flags; /* Miscellaneous section attributes */
102 uint64_t sh_addr; /* Section virtual addr at execution */
103 uint64_t sh_offset; /* Section file offset */
104 uint64_t sh_size; /* Size of section in bytes */
105 uint32_t sh_link; /* Index of another section */
[all …]
Dobj_emit.h388 for (auto *section : sections) { in HandleGlobalFixup()
389 section->HandleGlobalFixup(globalLabel2Offset); in HandleGlobalFixup()
404 void AddSymbol(const std::string &name, Word size, const Section &section, Address value);
409 void UpdateSectionOffsetAddr(Section *section) in UpdateSectionOffsetAddr() argument
411 if (section->GetType() != SHT_NOBITS) { in UpdateSectionOffsetAddr()
412 section->SetOffset(globalOffset); in UpdateSectionOffsetAddr()
414 section->SetOffset(0); in UpdateSectionOffsetAddr()
418 void UpdateGlobalOffsetAddr(Section *section) in UpdateGlobalOffsetAddr() argument
420 if ((section->GetFlags() & SHF_ALLOC) != 0) { in UpdateGlobalOffsetAddr()
421 globalAddr += section->GetDataSize(); in UpdateGlobalOffsetAddr()
[all …]
Difile.h100 class Section {
102Section(std::string name, Word type, Word flags, uint32 align, ObjEmitter &emitter, MemPool &memPo…
104 virtual ~Section() = default;
132 void SetLink(const Section &section) in SetLink() argument
134 secHeader.sh_link = section.GetIndex(); in SetLink()
216 class DataSection : public Section {
219 : Section(name, type, flags, align, emitter, inputMemPool), in DataSection()
354 class SymbolSection : public Section {
357 const Section &link) in SymbolSection()
358 … : Section(name, type, flags, align, emitter, memPool), alloc(&memPool), symbols(alloc.Adapter()) in SymbolSection()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/assembler/
Delf_file.h38 class Section {
40 Section(const std::string &name, Word type, Xword flags, Xword align) : name(name) in Section() function
47 virtual ~Section() = default;
71 void SetLink(const Section &section) in SetLink() argument
73 sectionHeader.sh_link = static_cast<Word>(section.GetIndex()); in SetLink()
145 }; /* class Section */
147 class DataSection : public Section {
149 …DataSection(const std::string &name, Word type, Xword flags, Xword align) : Section(name, type, fl… in DataSection()
213 class RelaSection : public Section {
215 …ction(const std::string &name, Word type, Xword flags, Word info, Xword align, const Section &link) in RelaSection()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
Delf_checker.h79 ELF_TYPE_DYN, /* Dynamic section record. */
86 ELF_TYPE_SHDR, /* Section header. */
100 ELF_TYPE_GNUHASH, /* GNU-style hash section. */
172 int64_t sectionOffset; /* Offset into section. */
173 size_t sectionAlignment; /* Alignment in section. */
187 /* List of `ElfData' descriptors. This is what makes up the section
196 /* Descriptor for ELF section. */
202 ElfSectionData rawData; /* Uninterpreted data of the section. */
204 int dataRead; /* Nonzero if the section was created by the
207 int extendSectionHeaderIndex; /* Index of the extended section index
[all …]
Delf_builder.cpp63 ElfSection section = ElfSection(s.first); in DumpSection() local
64 if (!section.ShouldDumpToAOTFile()) { in DumpSection()
138 uint32_t ElfBuilder::GetShIndex(ElfSecName section) const in GetShIndex()
143 if (sec == section) { in GetShIndex()
153 return sections_.size() + 1; // add first empty section. in GetSecNum()
170 Start of section headers: 64 (bytes into file)
175 Size of section headers: 64 (bytes)
176 Number of section headers: 7
177 Section header string table index: 3
209 // start of section headers in PackELFHeader()
[all …]
/arkcompiler/runtime_core/static_core/compiler/aot/aot_builder/
Delf_builder.h115 class Section {
118Section(ElfBuilder &builder, const std::string &name, ElfWord type, ElfWord flags, Section *link, … in Section() function
128 virtual ~Section() = default;
129 NO_MOVE_SEMANTIC(Section);
130 NO_COPY_SEMANTIC(Section);
181 Section *link_ {};
187 class DataSection : public Section {
189 using Section::Section;
221 class SymbolSection : public Section {
225 using Section::Section;
[all …]
Dllvm_aot_builder.cpp62 // At runtime the .text section is placed right after the .aot_got section in GetSectionsAddressesImpl()
64 // of the .aot_got section. in GetSectionsAddressesImpl()
66 for (auto section : *ro_data_sections) { in GetSectionsAddressesImpl()
67 section_addresses.emplace(section->GetName(), section->GetOffset()); in GetSectionsAddressesImpl()
/arkcompiler/runtime_core/static_core/libllvmbackend/object_code/
Dcreated_object_file.cpp33 for (auto section : objectFile_->sections()) { in CreatedObjectFile() local
34 sectionIndex_[cantFail(section.getName())] = section; in CreatedObjectFile()
73 LLVM_DEBUG(llvm::dbgs() << "Getting section = '" << name << "'\n"); in GetSection()
74 … ASSERT(sectionIndex_.find(name) != sectionIndex_.end() && "Attempt to access an unknown section"); in GetSection()
75 const auto &section = sectionIndex_.at(name); in GetSection() local
76 auto contents = cantFail(section.getContents()); in GetSection()
78 return SectionReference {memory, contents.size(), name, section.getAlignment()}; in GetSection()
84 LLVM_DEBUG(llvm::dbgs() << "Got section by function = " << fullFunctionName in GetSectionByFunctionName()
85 << " section's size = " << sectionReference.GetSize() << "\n"); in GetSectionByFunctionName()
/arkcompiler/runtime_core/static_core/plugins/ets/doc/
Dvalidate-recipes130 my $section = shift;
133 if (exists $skip_list->{$r->{id}} && $skip_list->{$r->{id}}{$section}) {
134 if ($skip_list->{$r->{id}}{$section} eq 'skip') {
257 die 'Recipes anchor should be in intro section'
276 die 'Expected preceding section: id' if $current_section ne 'id';
285 die 'Expected preceding section: desc_brief'
296 die 'Expected current section: desc_detailed'
301 die 'Expected current section: desc_detailed'
307 die 'Expected current section: desc_detailed'
312 die 'Expected current section: desc_detailed'
[all …]
/arkcompiler/runtime_core/docs/
Daot.md23 …ns compiled native code. Code of each compiled method is placed sequentially into this section with
25 …- Contains table of the runtime's entrypoint handlers. Must be placed right before `.text` section.
30 - `code` - points to the start of `.text` section
31 - `code_end` - points to the end of `.text` section
32 - `aot` - points to the start of `.aot` section
33 - `aot_end` - points to the end of `.aot` section
37 `.aot` section contains combination of the following structures:
49 ## Special `.aot_got` section
51 There is one strict rule: `.text` section must be placed right after `.aot_got` section, and this s…
/arkcompiler/runtime_core/static_core/docs/
Daot.md23 …ns compiled native code. Code of each compiled method is placed sequentially into this section with
25 …- Contains table of the runtime's entrypoint handlers. Must be placed right before `.text` section.
30 - `code` - points to the start of `.text` section
31 - `code_end` - points to the end of `.text` section
32 - `aot` - points to the start of `.aot` section
33 - `aot_end` - points to the end of `.aot` section
37 `.aot` section contains combination of the following structures:
49 ## Special `.aot_got` section
51 There is one strict rule: `.text` section must be placed right after `.aot_got` section, and this s…
/arkcompiler/runtime_core/static_core/verification/config/parse/
Dconfig_parse.cpp29 using panda::verifier::config::Section;
34 Section current;
35 std::vector<Section> sections;
42 bool ParseConfig(const char *str, Section &cfg) in ParseConfig()
114 …static const auto SECTION = ~WS >> SECTION_START >> ~WS >> *sectionRec >> *ITEM >> SECTION_END >> … in ParseConfig() local
117 sectionRec = SECTION; in ParseConfig()
123 if (SECTION(context, str, &str[std::strlen(str)])) { // NOLINT in ParseConfig()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
Dobj_emit.cpp127 for (auto *section : sections) { in WriteObjFile() local
128 if (section->GetType() == SHT_NOBITS) { in WriteObjFile()
132 SetFileOffset(section->GetOffset()); in WriteObjFile()
133 section->WriteSection(fileStream); in WriteObjFile()
136 /* write section table */ in WriteObjFile()
138 for (auto section : sections) { in WriteObjFile() local
139 Emit(&section->GetSectionHeader(), sizeof(section->GetSectionHeader())); in WriteObjFile()
143 void ObjEmitter::AddSymbol(const std::string &name, Word size, const Section &section, Address valu… in AddSymbol() argument
148 section.GetIndex(), value, size}); in AddSymbol()
162 for (auto *section : sections) { in ClearData() local
[all …]
Difile.cpp23 Section::Section(std::string secName, Word type, Word flags, uint32 align, ObjEmitter &objEmitter, … in Section() function in maplebe::Section
32 void Section::Layout() in Layout()
/arkcompiler/runtime_core/static_core/verification/config/
Dconfig.h29 struct Section { struct
32 std::vector<struct Section> sections; argument
51 const Section &operator[](const PandaString &title) const argument
58 LOG(FATAL, VERIFIER) << "config section '" << title << "' not found";
Dconfig_load.cpp41 panda::verifier::config::Section section; in ProcessConfigFile() local
44 …panda::verifier::config::ParseConfig(text, section) && panda::verifier::config::ProcessConfig(cfg,… in ProcessConfigFile()
46 LOG(DEBUG, VERIFIER) << "Verifier debug configuration: \n" << section.Image(); in ProcessConfigFile()
/arkcompiler/runtime_core/static_core/irtoc/backend/
Ddwarf_builder.cpp41 ELFIO::section *section = self->GetElfBuilder()->sections.add(name); in CreateSectionCallback() local
44 … {section->get_index(), ELFIO::relocation_section_accessor(*self->GetElfBuilder(), section)}); in CreateSectionCallback()
45 section->set_entry_size(self->GetElfBuilder()->get_default_entry_size(ELFIO::SHT_REL)); in CreateSectionCallback()
47 self->indexMap_[section->get_index()] = self->sections_.size(); in CreateSectionCallback()
48 self->sections_.push_back(section); in CreateSectionCallback()
50 section->set_type(type); in CreateSectionCallback()
51 section->set_flags(flags); in CreateSectionCallback()
52 section->set_link(3U); in CreateSectionCallback()
53 section->set_info(info); in CreateSectionCallback()
55 return section->get_index(); in CreateSectionCallback()

1234567