Lines Matching defs:Members
201 std::vector<MemberInfo> Members;
245 // 1) Store all members (fields and bases) in a list and sort them by offset.
247 // 3) Clip bitfield storages members if their tail padding is or might be
261 // 8) Format the complete list of members in a way that can be consumed by
271 if (Members.empty())
276 std::stable_sort(Members.begin(), Members.end());
277 Members.push_back(StorageInfo(Size, getIntNType(8)));
281 Members.pop_back();
359 Members.push_back(MemberInfo(
395 // record before the bitfield members so that it gets laid out before
397 Members.push_back(StorageInfo(bitsToCharUnits(StartBitOffset), Type));
401 Members.push_back(MemberInfo(bitsToCharUnits(StartBitOffset),
433 Members.push_back(StorageInfo(bitsToCharUnits(StartBitOffset), Type));
435 Members.push_back(MemberInfo(bitsToCharUnits(StartBitOffset),
445 Members.push_back(MemberInfo(CharUnits::Zero(), MemberInfo::Base,
458 Members.push_back(MemberInfo(Layout.getBaseClassOffset(BaseDecl),
465 Members.push_back(MemberInfo(CharUnits::Zero(), MemberInfo::VFPtr,
469 Members.push_back(MemberInfo(Layout.getVBPtrOffset(), MemberInfo::VBPtr,
491 Members.push_back(MemberInfo(ScissorOffset, MemberInfo::Scissor, nullptr,
503 Members.push_back(MemberInfo(Offset, MemberInfo::VBase, nullptr,
509 Members.push_back(StorageInfo(Offset - CharUnits::fromQuantity(4),
511 Members.push_back(MemberInfo(Offset, MemberInfo::VBase,
528 for (std::vector<MemberInfo>::const_iterator Member = Members.begin(),
529 MemberEnd = Members.end();
547 std::vector<MemberInfo>::iterator Prior = Members.begin();
550 MemberEnd = Members.end();
552 // Only members with data and the scissor can cut into tail padding.
574 for (std::vector<MemberInfo>::const_iterator Member = Members.begin(),
575 MemberEnd = Members.end();
589 if (Members.back().Offset % Alignment)
598 Members.back().Data = getIntNType(Context.toBits(Alignment));
604 for (std::vector<MemberInfo>::const_iterator Member = Members.begin(),
605 MemberEnd = Members.end();
619 // Add the padding to the Members list and sort it.
623 Members.push_back(StorageInfo(Pad->first, getByteArrayType(Pad->second)));
624 std::stable_sort(Members.begin(), Members.end());
628 for (std::vector<MemberInfo>::const_iterator Member = Members.begin(),
629 MemberEnd = Members.end();