Searched refs:recordSize (Results 1 – 2 of 2) sorted by relevance
296 unsigned recordSize = computeStructSize(dataLayout); in getTypeSizeInBits() local297 return llvm::TypeSize::getFixed(recordSize * 8); in getTypeSizeInBits()317 unsigned recordSize = 0; in computeStructSize() local328 recordSize = llvm::alignTo(recordSize, tyAlign); in computeStructSize()329 recordSize += dataLayout.getTypeSize(ty); in computeStructSize()338 recordSize = llvm::alignTo(recordSize, recordAlignment); in computeStructSize()339 return recordSize; in computeStructSize()
360 auto splitRecords = [&](size_t recordSize) -> void { in parseSections() argument364 subsections.reserve(data.size() / recordSize); in parseSections()365 for (uint64_t off = 0; off < data.size(); off += recordSize) { in parseSections()367 section, data.slice(off, std::min(data.size(), recordSize)), align); in parseSections()390 } else if (auto recordSize = getRecordSize(segname, name)) { in parseSections() local391 splitRecords(*recordSize); in parseSections()