| /arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/benchmark/ |
| D | README.md | 54 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 …]
|
| D | compare.py | 58 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/ |
| D | README.md | 54 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 …]
|
| D | compare.py | 58 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/ |
| D | config_process.cpp | 28 using panda::verifier::config::Section; 30 bool ProcessConfigSection(Config *cfg, const Section §ion, 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 §ion) in ProcessConfig() argument 56 return ProcessConfigSection(cfg, section, section.name); in ProcessConfig()
|
| D | config_process.h | 29 bool ProcessConfig(Config *cfg, const Section §ion); 31 …igHandler(Config *cfg, const PandaString &path, callable<bool(Config *, const Section &)> handler);
|
| /arkcompiler/runtime_core/static_core/verification/config/handlers/ |
| D | config_handler_method_options.cpp | 36 using panda::verifier::config::Section; 121 static const auto processMethodOptions = [](Config *cfg, const Section §ion) { 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 §ion) { 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/ |
| D | elf_types.h | 60 #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 …]
|
| D | obj_emit.h | 388 for (auto *section : sections) { in HandleGlobalFixup() 389 section->HandleGlobalFixup(globalLabel2Offset); in HandleGlobalFixup() 404 void AddSymbol(const std::string &name, Word size, const Section §ion, 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 …]
|
| D | ifile.h | 100 class Section { 102 …Section(std::string name, Word type, Word flags, uint32 align, ObjEmitter &emitter, MemPool &memPo… 104 virtual ~Section() = default; 132 void SetLink(const Section §ion) 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/ |
| D | elf_file.h | 38 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 §ion) 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/ |
| D | elf_checker.h | 79 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 …]
|
| D | elf_builder.cpp | 63 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/ |
| D | elf_builder.h | 115 class Section { 118 …Section(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 …]
|
| D | llvm_aot_builder.cpp | 62 // 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/ |
| D | created_object_file.cpp | 33 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 §ion = 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/ |
| D | validate-recipes | 130 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/ |
| D | aot.md | 23 …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/ |
| D | aot.md | 23 …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/ |
| D | config_parse.cpp | 29 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/ |
| D | obj_emit.cpp | 127 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(§ion->GetSectionHeader(), sizeof(section->GetSectionHeader())); in WriteObjFile() 143 void ObjEmitter::AddSymbol(const std::string &name, Word size, const Section §ion, Address valu… in AddSymbol() argument 148 section.GetIndex(), value, size}); in AddSymbol() 162 for (auto *section : sections) { in ClearData() local [all …]
|
| D | ifile.cpp | 23 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/ |
| D | config.h | 29 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";
|
| D | config_load.cpp | 41 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/ |
| D | dwarf_builder.cpp | 41 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()
|