Lines Matching refs:LayoutIdx
69 uint32_t LayoutIdx) { in markSectionStart() argument
71 assert(LayoutIdx < SectionHdrLayout.size() && "LayoutIdx out of range"); in markSectionStart()
72 const auto &Entry = SectionHdrLayout[LayoutIdx]; in markSectionStart()
103 SecType Type, uint32_t LayoutIdx, uint64_t SectionStart) { in addNewSection() argument
104 assert(LayoutIdx < SectionHdrLayout.size() && "LayoutIdx out of range"); in addNewSection()
105 const auto &Entry = SectionHdrLayout[LayoutIdx]; in addNewSection()
113 OutputStream->tell() - SectionStart, LayoutIdx}); in addNewSection()
318 SecType Type, uint32_t LayoutIdx, const SampleProfileMap &ProfileMap) { in writeOneSection() argument
334 uint64_t SectionStart = markSectionStart(Type, LayoutIdx); in writeOneSection()
371 if (std::error_code EC = addNewSection(Type, LayoutIdx, SectionStart)) in writeOneSection()
717 for (uint32_t LayoutIdx = 0; LayoutIdx < SectionHdrLayout.size(); in writeSecHdrTable() local
718 LayoutIdx++) { in writeSecHdrTable()
719 assert(IndexMap[LayoutIdx] < SecHdrTable.size() && in writeSecHdrTable()
721 auto Entry = SecHdrTable[IndexMap[LayoutIdx]]; in writeSecHdrTable()