/arkcompiler/runtime_core/compiler/tests/ |
H A D | graph_cloner_new_test.cpp | 177 auto header = blocks[loop->GetHeader()->GetId()]; 226 EXPECT_TRUE(cloner.CloneLoopHeader(loop->GetHeader(), GetLoopOuterBlock(loop->GetHeader()), 260 EXPECT_TRUE(header_cloner.CloneLoopHeader(loop->GetHeader(), GetLoopOuterBlock(loop->GetHeader()), 267 EXPECT_TRUE(GetLoopOuterBlock(loop->GetHeader())->HasSucc(loop_clone->GetPreHeader())); 269 EXPECT_TRUE(CompareInstsOpcode(loop->GetHeader(), loop_clone->GetHeader())); 295 auto loop_body = loop->GetHeader(); 296 auto outer_bb_id = GetLoopOuterBlock(loop->GetHeader()) [all...] |
H A D | loop_analyzer_test.cpp | 178 ASSERT_EQ(loop1->GetHeader(), &BB(4)); in TEST_F() 186 ASSERT_EQ(loop2->GetHeader(), &BB(8)); in TEST_F() 194 ASSERT_EQ(loop3->GetHeader(), &BB(3)); in TEST_F() 300 EXPECT_EQ(loop->GetHeader(), &BB(6)); in TEST_F() 307 EXPECT_EQ(loop->GetHeader()->GetDominator(), pre_header); in TEST_F()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
H A D | loop.h | 31 return (loop1->GetHeader().GetId() < loop2->GetHeader().GetId()); in operator ()() 49 BB &GetHeader() in GetHeader() function in maplebe::LoopDesc 54 const BB &GetHeader() const in GetHeader() function in maplebe::LoopDesc 205 LogInfo::MapleLogger() << "BB " << bbId << " in loop " << bbLoopParent[bbId]->GetHeader().GetId() << "\n"; in Dump() 213 } else if (GetBBLoopParent(bb.GetId())->GetHeader().GetId() == bb.GetId()) { in IsLoopHeaderBB()
|
H A D | cg.h | 107 uint32 GetHeader() const in GetHeader() function in maplebe::GCTIBKey 127 size_t hash = key->GetHeader(); in operator ()() 141 if ((firstKey->GetHeader() != secondKey->GetHeader()) || (firstWords.size() != secondWords.size())) { in operator ()()
|
/arkcompiler/runtime_core/libpandafile/ |
H A D | literal_data_accessor.cpp | 23 if (ContainsLiteralArrayInHeader(panda_file_.GetHeader()->version)) { in LiteralDataAccessor() 24 literal_num_ = panda_file_.GetHeader()->num_literalarrays; in LiteralDataAccessor()
|
H A D | file.h | 153 const Header *GetHeader() const in GetHeader() function in panda::panda_file::File 170 const Header *header = GetHeader(); in IsExternal() 183 const Header *header = GetHeader(); in GetSpanFromId() 192 const Header *header = GetHeader(); in GetClasses() 200 const Header *header = GetHeader(); in GetLiteralArrays() 208 const Header *header = GetHeader(); in GetIndexHeaders() 216 if (UNLIKELY(!id.IsValid() || id.GetOffset() >= GetHeader()->file_size)) { in GetIndexHeader() 232 auto *header = GetHeader(); in GetClassIndex() 252 auto *header = GetHeader(); in GetMethodIndex() 272 auto *header = GetHeader(); in GetFieldIndex() [all...] |
H A D | index_accessor.h | 33 num_headers_ = pf.GetHeader()->num_indexes; in IndexAccessor()
|
/arkcompiler/runtime_core/static_core/libpandafile/ |
H A D | file.h | 149 const Header *GetHeader() const in GetHeader() function in ark::panda_file::File 166 const Header *header = GetHeader(); in IsExternal() 179 const Header *header = GetHeader(); in GetSpanFromId() 186 const Header *header = GetHeader(); in GetClasses() 194 const Header *header = GetHeader(); in GetLiteralArrays() 202 const Header *header = GetHeader(); in GetRegionHeaders() 222 auto *header = GetHeader(); in GetClassIndex() 238 auto *header = GetHeader(); in GetMethodIndex() 254 auto *header = GetHeader(); in GetFieldIndex() 270 auto *header = GetHeader(); in GetProtoIndex() [all...] |
H A D | literal_data_accessor.cpp | 23 literalNum_ = pandaFile_.GetHeader()->numLiteralarrays; in LiteralDataAccessor()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
H A D | loop_peeling.cpp | 109 ASSERT(loop->GetHeader()->GetLastInst()->GetOpcode() == Opcode::IfImm || in TransformLoop() 110 loop->GetHeader()->GetLastInst()->GetOpcode() == Opcode::If); in TransformLoop() 111 auto header = loop->GetHeader(); in TransformLoop() 130 auto header = loop->GetHeader(); in InsertPreLoop()
|
H A D | licm.cpp | 120 if (block != loop->GetHeader() && loop->GetHeader()->IsMarked(markerLoopExit_)) { in TryAppendHoistableInst() 253 auto header = loop->GetHeader(); in VisitLoop() 403 !BoundsAnalysis::IsInstNotNull(inst->GetDataFlowInput(0), inst->GetBasicBlock()->GetLoop()->GetHeader())) { in IsInstHoistable()
|
H A D | redundant_loop_elimination.cpp | 76 auto header = loop->GetHeader(); in DeleteLoop() 102 GetGraph()->GetEventWriter().EventRedundantLoopElimination(loop->GetId(), loop->GetHeader()->GetGuestPc()); in TransformLoop()
|
/arkcompiler/runtime_core/compiler/optimizer/analysis/ |
H A D | loop_analyzer.cpp | 194 auto header = loop->GetHeader(); in PreHeaderExists() 206 ASSERT(loop != nullptr && loop->GetHeader() != nullptr); in FindAndInsertPreHeaders() 207 auto header = loop->GetHeader(); in FindAndInsertPreHeaders() 285 } else if (block->GetLoop()->GetHeader() != loop->GetHeader()) { in NaturalLoopSearch() 320 ASSERT(block != GetHeader()); in RemoveBlock() 335 return !IsRoot() && GetHeader()->IsOsrEntry(); in IsOsrLoop() 340 return !IsRoot() && GetHeader()->IsCatchBegin(); in IsTryCatchLoop() 394 auto header_succ_idx = back_edge->GetSuccBlockIndex(loop->GetHeader()); in GetLoopOutsideSuccessor()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/ |
H A D | loop_analyzer.cpp | 194 auto header = loop->GetHeader(); in PreHeaderExists() 205 ASSERT(loop != nullptr && loop->GetHeader() != nullptr); in FindAndInsertPreHeaders() 206 auto header = loop->GetHeader(); in FindAndInsertPreHeaders() 313 } else if (block->GetLoop()->GetHeader() != loop->GetHeader()) { in NaturalLoopSearch() 350 ASSERT(block != GetHeader()); in RemoveBlock() 365 return !IsRoot() && GetHeader()->IsOsrEntry(); in IsOsrLoop() 370 return !IsRoot() && GetHeader()->IsCatchBegin(); in IsTryCatchLoop() 441 auto headerSuccIdx = backEdge->GetSuccBlockIndex(loop->GetHeader()); in GetLoopOutsideSuccessor()
|
H A D | countable_loop_parser.cpp | 53 if (loopInfo_.index->GetBasicBlock() != loop_.GetHeader()) { in Parse() 66 if (loopExit->IsEmpty() || (loopExit != loop_.GetHeader() && loopExit != loop_.GetBackEdges()[0])) { in ParseLoopExit() 69 isHeadLoopExit_ = (loopExit == loop_.GetHeader() && loopExit != loop_.GetBackEdges()[0]); in ParseLoopExit() 235 if (loopInfo_.update->GetBasicBlock() != loop_.GetHeader()) { in SetUpdateAndTestInputs()
|
/arkcompiler/runtime_core/static_core/compiler/code_info/ |
H A D | code_info.cpp | 23 stream << "CodeInfo: vregs_num=" << GetHeader().GetVRegsCount() << ", frame_size=" << GetHeader().GetFrameSize() in Dump()
|
H A D | code_info.h | 209 const CodeInfoHeader &GetHeader() const in GetHeader() function in ark::compiler::final 213 CodeInfoHeader &GetHeader() in GetHeader() function in ark::compiler::final 225 return GetHeader().GetFrameSize(); in GetFrameSize() 260 return (GetHeader().GetTableMask() & (1U << index)) != 0; in HasTable() 294 return isFp ? GetHeader().GetCalleeFpRegMask() : GetHeader().GetCalleeRegMask(); in GetSavedCalleeRegsMask() 414 return GetHeader().HasFloatRegs(); in HasFloatRegs() 513 return GetVRegList<Allocator>(stackMap, 0, GetHeader().GetVRegsCount(), allocator); in GetVRegList() 522 depth == 0 ? GetHeader().GetVRegsCount() : inlineInfos_.GetRow(inlineInfo.GetRow() - 1).GetVRegsCount(); in GetVRegList()
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/types/ |
H A D | pgo_profile_type.cpp | 40 if (!context.GetHeader()->SupportWideProfileType()) { in ProfileType() 56 if (!context.GetHeader()->SupportWideProfileType()) { in CreateFromProfileTypeRef()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
H A D | loop.cpp | 30 LogInfo::MapleLogger() << ", parent:" << parentLoop->GetHeader().GetId(); in Dump() 47 LogInfo::MapleLogger() << childLoop->GetHeader().GetId() << " "; in Dump() 56 if (loop == nullptr || loop->GetHeader().GetId() != headBB.GetId()) { in GetOrCreateLoopDesc()
|
/arkcompiler/runtime_core/static_core/compiler/aot/ |
H A D | aot_file.h | 218 const PandaFileHeader *GetHeader() in GetHeader() function in ark::compiler::AotPandaFile 222 const PandaFileHeader *GetHeader() const in GetHeader() function in ark::compiler::AotPandaFile 228 return GetAotFile()->GetString(GetHeader()->fileNameStr); in GetFileName()
|
/arkcompiler/runtime_core/abc2program/ |
H A D | abc2program_compiler.cpp | 49 const auto &file_version = file_->GetHeader()->version; in CheckFileVersionIsSupported() 90 auto *header = file_->GetHeader(); in CheckClassId()
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
H A D | pgo_context.h | 39 virtual PGOProfilerHeader *GetHeader() const = 0;
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
H A D | js_pandafile.h | 270 uintptr_t header = ToUintPtr(GetHeader()); in Contain() 297 return pf_->GetHeader()->num_indexes; in GetConstpoolNum() 305 const void *GetHeader() const in GetHeader() function in panda::ecmascript::JSPandaFile 307 return static_cast<const void *>(pf_->GetHeader()); in GetHeader() 312 return pf_->GetHeader()->file_size; in GetFileSize()
|
/arkcompiler/runtime_core/libpandafile/tests/ |
H A D | file_item_container_test.cpp | 157 EXPECT_NE(file->GetHeader()->checksum, 0u); in HWTEST() 241 EXPECT_THAT(panda_file->GetHeader()->version, ::testing::ElementsAre(ISA_VERSION_FIRST_NUMBER, in TestPandaFile() 243 EXPECT_EQ(panda_file->GetHeader()->file_size, mem_writer.GetData().size()); in TestPandaFile() 244 EXPECT_EQ(panda_file->GetHeader()->foreign_off, 0U); in TestPandaFile() 245 EXPECT_EQ(panda_file->GetHeader()->foreign_size, 0U); in TestPandaFile() 246 EXPECT_EQ(panda_file->GetHeader()->num_classes, 3U); in TestPandaFile() 247 EXPECT_EQ(panda_file->GetHeader()->class_idx_off, sizeof(File::Header)); in TestPandaFile() 250 reinterpret_cast<const uint32_t *>(panda_file->GetBase() + panda_file->GetHeader()->class_idx_off); in TestPandaFile() 769 EXPECT_EQ(panda_file->GetHeader()->foreign_off, class_item->GetOffset()); in HWTEST() 772 EXPECT_EQ(panda_file->GetHeader() in HWTEST() [all...] |
/arkcompiler/runtime_core/static_core/abc2program/ |
H A D | abc_file_processor.cpp | 57 auto classOff = file_->GetHeader()->classIdxOff + sizeof(uint32_t) * i; in ProcessClasses() 58 if (classIdx > file_->GetHeader()->fileSize) { in ProcessClasses() 61 << ") out of bounds (0x" << file_->GetHeader()->fileSize << ")!"; in ProcessClasses()
|