Lines Matching defs:LayoutIdx
163 /// \p LayoutIdx in SectionHdrLayout.
166 uint32_t LayoutIdx) {
168 assert(LayoutIdx < SectionHdrLayout.size() && "LayoutIdx out of range");
169 const auto &Entry = SectionHdrLayout[LayoutIdx];
197 /// \p Type, its position \p LayoutIdx in SectionHdrLayout and the
200 SecType Type, uint32_t LayoutIdx, uint64_t SectionStart) {
201 assert(LayoutIdx < SectionHdrLayout.size() && "LayoutIdx out of range");
202 const auto &Entry = SectionHdrLayout[LayoutIdx];
210 OutputStream->tell() - SectionStart, LayoutIdx});
423 SecType Type, uint32_t LayoutIdx, const SampleProfileMap &ProfileMap) {
439 uint64_t SectionStart = markSectionStart(Type, LayoutIdx);
476 if (std::error_code EC = addNewSection(Type, LayoutIdx, SectionStart))
780 for (uint32_t LayoutIdx = 0; LayoutIdx < SectionHdrLayout.size();
781 LayoutIdx++) {
782 assert(IndexMap[LayoutIdx] < SecHdrTable.size() &&
783 "Incorrect LayoutIdx in SecHdrTable");
784 auto Entry = SecHdrTable[IndexMap[LayoutIdx]];
786 SecHdrTableOffset + 4 * LayoutIdx * sizeof(uint64_t));
788 SecHdrTableOffset + (4 * LayoutIdx + 1) * sizeof(uint64_t));
790 SecHdrTableOffset + (4 * LayoutIdx + 2) * sizeof(uint64_t));
792 SecHdrTableOffset + (4 * LayoutIdx + 3) * sizeof(uint64_t));