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