Lines Matching refs:LayoutIdx
168 uint32_t LayoutIdx) { in markSectionStart() argument
170 assert(LayoutIdx < SectionHdrLayout.size() && "LayoutIdx out of range"); in markSectionStart()
171 const auto &Entry = SectionHdrLayout[LayoutIdx]; in markSectionStart()
202 SecType Type, uint32_t LayoutIdx, uint64_t SectionStart) { in addNewSection() argument
203 assert(LayoutIdx < SectionHdrLayout.size() && "LayoutIdx out of range"); in addNewSection()
204 const auto &Entry = SectionHdrLayout[LayoutIdx]; in addNewSection()
212 OutputStream->tell() - SectionStart, LayoutIdx}); in addNewSection()
425 SecType Type, uint32_t LayoutIdx, const SampleProfileMap &ProfileMap) { in writeOneSection() argument
441 uint64_t SectionStart = markSectionStart(Type, LayoutIdx); in writeOneSection()
478 if (std::error_code EC = addNewSection(Type, LayoutIdx, SectionStart)) in writeOneSection()
779 for (uint32_t LayoutIdx = 0; LayoutIdx < SectionHdrLayout.size(); in writeSecHdrTable() local
780 LayoutIdx++) { in writeSecHdrTable()
781 assert(IndexMap[LayoutIdx] < SecHdrTable.size() && in writeSecHdrTable()
783 auto Entry = SecHdrTable[IndexMap[LayoutIdx]]; in writeSecHdrTable()
785 SecHdrTableOffset + 4 * LayoutIdx * sizeof(uint64_t)); in writeSecHdrTable()
787 SecHdrTableOffset + (4 * LayoutIdx + 1) * sizeof(uint64_t)); in writeSecHdrTable()
789 SecHdrTableOffset + (4 * LayoutIdx + 2) * sizeof(uint64_t)); in writeSecHdrTable()
791 SecHdrTableOffset + (4 * LayoutIdx + 3) * sizeof(uint64_t)); in writeSecHdrTable()