Home
last modified time | relevance | path

Searched full:header (Results 1 – 25 of 857) sorted by relevance

12345678910>>...35

/arkcompiler/ets_runtime/ecmascript/dfx/dump_code/
Djit_dump_elf.cpp22 header.e_ident[EI_MAG0] = ELFMAG0; in Initx86ElfHeader()
23 header.e_ident[EI_MAG1] = ELFMAG1; in Initx86ElfHeader()
24 header.e_ident[EI_MAG2] = ELFMAG2; in Initx86ElfHeader()
25 header.e_ident[EI_MAG3] = ELFMAG3; in Initx86ElfHeader()
26 header.e_ident[EI_CLASS] = ELFCLASS64; in Initx86ElfHeader()
27 header.e_ident[EI_DATA] = ELFDATA2LSB; in Initx86ElfHeader()
28 header.e_ident[EI_VERSION] = EV_CURRENT; in Initx86ElfHeader()
29 header.e_ident[EI_OSABI] = ELFOSABI_NONE; /* ELFOSABI_NONE represents UNIX System V */ in Initx86ElfHeader()
30 header.e_ident[EI_ABIVERSION] = 0; in Initx86ElfHeader()
31 (void)std::fill_n(&header.e_ident[EI_PAD], EI_NIDENT - EI_PAD, 0); in Initx86ElfHeader()
[all …]
/arkcompiler/runtime_core/static_core/runtime/tests/
Dmonitor_test.cpp67 auto header = ObjectHeader::Create(cls); in TEST_F() local
68 Monitor::MonitorEnter(header); in TEST_F()
69 ASSERT_TRUE(header->AtomicGetMark().GetState() == MarkWord::STATE_LIGHT_LOCKED); in TEST_F()
70 Monitor::MonitorExit(header); in TEST_F()
71 ASSERT_TRUE(header->AtomicGetMark().GetState() == MarkWord::STATE_UNLOCKED); in TEST_F()
78 auto header = ObjectHeader::Create(cls); in TEST_F() local
79 Monitor::MonitorEnter(header); in TEST_F()
80 ASSERT_TRUE(header->AtomicGetMark().GetState() == MarkWord::STATE_LIGHT_LOCKED); in TEST_F()
81 Monitor::MonitorEnter(header); in TEST_F()
82 ASSERT_TRUE(header->AtomicGetMark().GetState() == MarkWord::STATE_LIGHT_LOCKED); in TEST_F()
[all …]
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
Dloop_peeling.cpp29 * - loop-header is a single loop-exit point;
31 * [pre-header]
34 * /---->[header]--------\
42 * [pre-header]
48 * /---->[header]-------->|
56 * 2 stage - move exit-edge form the header to the back-edge block:
58 * [pre-header]
64 * /---->[header] |
97 static bool HeaderHasInlinedCalls(const BasicBlock *header) in HeaderHasInlinedCalls() argument
102 auto insts = header->AllInsts(); in HeaderHasInlinedCalls()
[all …]
/arkcompiler/runtime_core/
Dbundle.json61 "header": { object
68 "header": { object
75 "header": { object
82 "header": { object
89 "header": { object
96 "header": { object
103 "header": { object
110 "header": { object
117 "header": { object
124 "header": { object
[all …]
/arkcompiler/runtime_core/libpandafile/
Dfile.h64 struct Header { struct
113 return offset_ > sizeof(Header); in IsValid()
154 const Header *GetHeader() const in GetHeader()
156 return reinterpret_cast<const Header *>(GetBase()); in GetHeader()
171 const Header *header = GetHeader(); in IsExternal() local
172 uint32_t foreign_begin = header->foreign_off; in IsExternal()
173 uint32_t foreign_end = foreign_begin + header->foreign_size; in IsExternal()
184 const Header *header = GetHeader(); in GetSpanFromId() local
185 Span file(GetBase(), header->file_size); in GetSpanFromId()
193 const Header *header = GetHeader(); in GetClasses() local
[all …]
Dfile.cpp454 …e_hashes(FILENAME_HASH, GetHash32(reinterpret_cast<const uint8_t *>(GetHeader()), sizeof(Header)))) in File()
522 if (size < sizeof(File::Header)) { in Open()
523 …OG(ERROR, PANDAFILE) << "Invalid panda file '" << filename << "' - missing or incomplete header" << in Open()
551 if (size < sizeof(File::Header)) { in OpenUncompressedArchive()
582 if (ptr.Get() == nullptr || ptr.GetSize() < sizeof(File::Header)) { in CheckHeader()
586 auto header = reinterpret_cast<const File::Header *>(reinterpret_cast<uintptr_t>(ptr.Get())); in CheckHeader() local
587 if (header->magic != File::MAGIC) { in CheckHeader()
592 CheckFileVersion(header->version, filename); in CheckHeader()
594 if (header->file_size < sizeof(File::Header) || header->file_size > ptr.GetSize()) { in CheckHeader()
595 …LOG(ERROR, PANDAFILE) << "Invalid panda file size " << header->file_size << ". Abc file is corrupt… in CheckHeader()
[all …]
/arkcompiler/runtime_core/static_core/libpandafile/
Dfile.h58 struct Header { struct
108 return offset_ > sizeof(Header); in IsValid()
149 const Header *GetHeader() const in GetHeader()
151 return reinterpret_cast<const Header *>(GetBase()); in GetHeader()
166 const Header *header = GetHeader(); in IsExternal() local
167 uint32_t foreignBegin = header->foreignOff; in IsExternal()
168 uint32_t foreignEnd = foreignBegin + header->foreignSize; in IsExternal()
179 const Header *header = GetHeader(); in GetSpanFromId() local
180 Span file(GetBase(), header->fileSize); in GetSpanFromId()
186 const Header *header = GetHeader(); in GetClasses() local
[all …]
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ap_file/
Dpgo_file_info.cpp24 bool PGOProfilerHeader::BuildFromLegacy(void *buffer, PGOProfilerHeader **header) in BuildFromLegacy() argument
26 if (buffer == nullptr || header == nullptr) { in BuildFromLegacy()
27 LOG_ECMA(ERROR) << "buffer or header is null!"; in BuildFromLegacy()
33 …LOG_ECMA(ERROR) << "header size error, expected size is less than " << LastSize() << ", but got " … in BuildFromLegacy()
36 Build(header, desSize); in BuildFromLegacy()
37 // copy header base. in BuildFromLegacy()
38 if (memcpy_s(*header, sizeof(FileHeaderBase), inHeader, sizeof(FileHeaderBase)) != EOK) { in BuildFromLegacy()
39 LOG_ECMA(FATAL) << "PGOProfilerHeader BuildFromLegacy copy header base memcpy failed!"; in BuildFromLegacy()
42 // skip elastic header field, and copy section info from incoming buffer. in BuildFromLegacy()
44 …if (memcpy_s(&((*header)->sectionNumber_), sectionSize, &(inHeader->GetSectionNumber()), sectionSi… in BuildFromLegacy()
[all …]
/arkcompiler/runtime_core/compiler/optimizer/analysis/
Dloop_analyzer.cpp97 * Append information about its header, back edge and check if this loop is irreducible.
98 * Loop is irreducible when its header doesn't dominate back edge.
100 void LoopAnalyzer::ProcessNewBackEdge(BasicBlock *header, BasicBlock *back_edge) in ProcessNewBackEdge() argument
102 auto loop = header->GetLoop(); in ProcessNewBackEdge()
104 loop = CreateNewLoop(header); in ProcessNewBackEdge()
108 if (!header->IsDominate(back_edge)) { in ProcessNewBackEdge()
117 ArenaVector<int> LoopAnalyzer::GetForwardEdgesIndexes(BasicBlock *header) in GetForwardEdgesIndexes() argument
122 auto &back_edges = header->GetLoop()->GetBackEdges(); in GetForwardEdgesIndexes()
127 ArenaVector<int> indexes(header->GetGraph()->GetAllocator()->Adapter()); in GetForwardEdgesIndexes()
128 auto &pred_blocks = header->GetPredsBlocks(); in GetForwardEdgesIndexes()
[all …]
/arkcompiler/runtime_core/static_core/compiler/docs/
Dloop_peeling.md4 `Loop peeling` optimization modifies the loops with exit-point at loop-header to the loops with exi…
20 - loop-header is not OSR-entry;
22 - loop-header is a single loop-exit point;
26 [pre-header]
29 /---->[header]--------\
39 [pre-header]
45 /---->[header]-------->|
53 Pre-loop basic block is a loop-header clone with all instructions, excluding `SafePoint`.
55 ### 2. Move exit-point form the loop-header to the loop-backedge block
57 [pre-header]
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/
Ddescriptor.py25 self.header = re.compile(
26 r"/\*---(?P<header>.+)---\*/", re.DOTALL)
45 header_comment = self.header.search(self.content)
49 header = self.get_header()
52 if len(header) == 0:
56 match = self.includes.search(header)
59 match = self.includes2.search(header)
64 match = self.flags.search(header)
68 match = self.negative.search(header)
73 match = self.spec.search(header)
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/
Ddescriptor.py25 self.header = re.compile(
26 r"/\*---(?P<header>.+)---\*/", re.DOTALL)
45 header_comment = self.header.search(self.content)
49 header = self.get_header()
52 if len(header) == 0:
56 match = self.includes.search(header)
59 match = self.includes2.search(header)
64 match = self.flags.search(header)
68 match = self.negative.search(header)
73 match = self.spec.search(header)
[all …]
/arkcompiler/ets_runtime/ecmascript/
Dshared_object_factory.cpp216 TaggedObject *header = sHeap_->AllocateOldOrHugeObject( in NewSAccessorData() local
218 JSHandle<AccessorData> acc(thread_, AccessorData::Cast(header)); in NewSAccessorData()
250 TaggedObject *header = nullptr; in NewSMethod() local
252 header = sHeap_->AllocateReadOnlyOrHugeObject(thread_, in NewSMethod()
255 header = sHeap_->AllocateNonMovableOrHugeObject(thread_, in NewSMethod()
258 header = sHeap_->AllocateOldOrHugeObject(thread_, in NewSMethod()
261 JSHandle<Method> method(thread_, header); in NewSMethod()
349 TaggedObject *header = sHeap_->AllocateOldOrHugeObject(thread_, *hclass); in NewSharedOldSpaceObject() local
350 if (header == nullptr) { in NewSharedOldSpaceObject()
351 LOG_ECMA(FATAL) << "ObjectFactory::NewSharedOldSpaceObject:header is nullptr"; in NewSharedOldSpaceObject()
[all …]
/arkcompiler/runtime_core/static_core/runtime/jit/libprofile/
Dpgo_file_builder.cpp30 static_assert(sizeof(PandaFilesSectionHeader) == 8, "PandaFiles section header is 8 bytes");
33 "Header of each item of PandaFileInfo in PandaFiles section is 8 bytes");
35 static_assert(sizeof(SectionsInfoSectionHeader) == 8, "Header of SectionsInfo section is 8 bytes");
39 static_assert(sizeof(MethodsHeader) == 8, "Header of Methods section is 8 bytes");
41 static_assert(sizeof(MethodDataHeader) == 16, "Header of one method data sub-section is 16 bytes");
43 static_assert(sizeof(AotProfileDataHeader) == 12, "Header of one profile data sub-section is 12 byt…
79 SectionsInfoSectionHeader header = {static_cast<uint32_t>(sectionInfos.size()), in WriteSectionInfosSection() local
81 header.sectionSize += sectionInfos.size() * sizeof(SectionInfo); in WriteSectionInfosSection()
83 AotPgoFile::Buffer buffer(header.sectionSize); in WriteSectionInfosSection()
86 if (buffer.CopyToBuffer(&header, sizeof(SectionsInfoSectionHeader), currPos) == 0) { in WriteSectionInfosSection()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
Dobj_emit.cpp133 /* write header */ in WriteObjFile()
134 Emit(&header, sizeof(header)); in WriteObjFile()
147 SetFileOffset(header.e_shoff); in WriteObjFile()
173 header.e_ident[EI_MAG0] = ELFMAG0; in InitELFHeader()
174 header.e_ident[EI_MAG1] = ELFMAG1; in InitELFHeader()
175 header.e_ident[EI_MAG2] = ELFMAG2; in InitELFHeader()
176 header.e_ident[EI_MAG3] = ELFMAG3; in InitELFHeader()
177 header.e_ident[EI_CLASS] = ELFCLASS64; in InitELFHeader()
178 header.e_ident[EI_DATA] = ELFDATA2LSB; in InitELFHeader()
179 header.e_ident[EI_VERSION] = EV_CURRENT; in InitELFHeader()
[all …]
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/
Dloop_analyzer.cpp101 * Append information about its header, back edge and check if this loop is irreducible.
102 * Loop is irreducible when its header doesn't dominate back edge.
104 void LoopAnalyzer::ProcessNewBackEdge(BasicBlock *header, BasicBlock *backEdge) in ProcessNewBackEdge() argument
106 auto loop = header->GetLoop(); in ProcessNewBackEdge()
108 loop = CreateNewLoop(header); in ProcessNewBackEdge()
112 if (!header->IsDominate(backEdge)) { in ProcessNewBackEdge()
121 ArenaVector<int> LoopAnalyzer::GetForwardEdgesIndexes(BasicBlock *header) in GetForwardEdgesIndexes() argument
126 auto &backEdges = header->GetLoop()->GetBackEdges(); in GetForwardEdgesIndexes()
131 ArenaVector<int> indexes(header->GetGraph()->GetAllocator()->Adapter()); in GetForwardEdgesIndexes()
132 auto &predBlocks = header->GetPredsBlocks(); in GetForwardEdgesIndexes()
[all …]
/arkcompiler/runtime_core/docs/changelogs/
D2022-08-18-isa-changelog.md6 * Function Kind and Header index
22 ## Function Kind and Header index
25 We also add header index in function such that runtime can access IndexHeader more efficiently.
26 We reuse the field 32-bit field `access_flags_` to encode Function Kind and Header index.
30 |<- 16-bit header index ->|<- 8-bit function kind ->|<- 8-bit original access flag ->|
33 To adapt runtime design, we put string and literal array into the index header of methods,
37 stringId and literalarrayId in a class should be put in a same index header.
38 …y ask that all methodId, stringId and literalarrayId in a method should be put in one index header.
/arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/components/header/
DHeader.test.tsx18 import Header, {primaryColors} from './Header';
26 describe('Header component', () => {
45 it('renders header with title "ArkTS playground"', () => {
46 renderWithProviders(<Header />);
51 renderWithProviders(<Header />);
58 renderWithProviders(<Header />);
68 renderWithProviders(<Header />);
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/reports/
Dindex_template.html13 .item-header {
64 <td class="item-header">Total</td>
68 <td class="item-header">Passed</td>
72 <td class="item-header">Failed</td>
76 <td class="item-header">Ignored</td>
80 <td class="item-header">Excluded through lists</td>
84 <td class="item-header">Excluded by other reasons</td>
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/reports/
Dindex_template.html13 .item-header {
64 <td class="item-header">Total</td>
68 <td class="item-header">Passed</td>
72 <td class="item-header">Failed</td>
76 <td class="item-header">Ignored</td>
80 <td class="item-header">Excluded through lists</td>
84 <td class="item-header">Excluded by other reasons</td>
/arkcompiler/runtime_core/static_core/cross_values/
Dcross_values_getters_generator.rb15 $header = %{
28 $header += "#include \"generated_values/#{File.basename(values_h)}\"\n"
30 $header += "\n"
31 $header += "#include <cstddef>\n"
32 $header += "#include \"libpandabase/utils/arch.h\"\n"
33 $header += "#include \"runtime/entrypoints/entrypoints.h\"\n\n"
40 file.puts $header
/arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/
DApp.tsx20 import Header from './components/header/Header';
29 <Header />
/arkcompiler/runtime_core/static_core/runtime/mem/
Dfreelist.h89 …// If yes, it is some hidden header and we have some extra header where all correct information ha…
111 // padding size, which is stored after this header.
156 …this memory block has some padding for alignment and we have padding header just after this header,
157 // So, to compute object memory address we need to add padding header size.
248 void SetPrevHeader(MemoryBlockHeader *header) in SetPrevHeader() argument
251 prevHeader_ = header; in SetPrevHeader()
304 // A common header with object stored just after the header
306 // A special padding header, which is used to find the common header of this memory.
308 // the common header of this memory and place where the object is stored.
310 // A common header for aligned object which required some padding.
[all …]
/arkcompiler/ets_frontend/es2panda/test/
Dtest262util.py27 self.header = re.compile(
28 r"\/\*---(?P<header>.+)---\*\/", re.DOTALL)
101 header = self.get_header(input_str)
102 desc = self.parse_descriptor(header)
104 out_str = header
121 header_comment = self.header.search(content)
125 def parse_descriptor(self, header): argument
126 match = self.includes.search(header)
130 match = self.includes2.search(header)
136 match = self.flags.search(header)
[all …]
/arkcompiler/runtime_core/taihe/compiler/taihe/codegen/abi/
Dwriter.py50 for header in self.headers:
51 f.write(f'#include "{header}"\n')
59 for header in headers:
60 self.headers.setdefault(header, None)
64 """Represents a C or C++ header file."""

12345678910>>...35