Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Member

76   // member.  In additional to the standard member types, there exists a
77 // sentinal member type that ensures correct rounding.
246 // 2) Add a 1-byte capstone member at the Size of the structure.
309 // data member which might have some exotic initialization sequence.
394 // Add the storage member to the record. This must be added to the
430 // Add the storage member to the record and set the bitfield info for all of
454 // contain only a trailing array member.
528 for (std::vector<MemberInfo>::const_iterator Member = Members.begin(),
530 IsZeroInitializableAsBase && Member != MemberEnd; ++Member) {
531 if (Member->Kind == MemberInfo::Field) {
532 if (!Member->FD || isZeroInitializable(Member->FD))
535 } else if (Member->Kind == MemberInfo::Base ||
536 Member->Kind == MemberInfo::VBase) {
537 if (isZeroInitializable(Member->RD))
540 if (Member->Kind == MemberInfo::Base)
549 for (std::vector<MemberInfo>::iterator Member = Prior + 1,
551 Member != MemberEnd; ++Member) {
553 if (!Member->Data && Member->Kind != MemberInfo::Scissor)
555 if (Member->Offset < Tail) {
561 if (Member->Data)
562 Prior = Member;
574 for (std::vector<MemberInfo>::const_iterator Member = Members.begin(),
576 Member != MemberEnd; ++Member) {
577 if (!Member->Data)
579 // If any member falls at an offset that it not a multiple of its alignment,
581 if (Member->Offset % getAlignment(Member->Data))
583 if (Member->Offset < NVSize)
584 NVAlignment = std::max(NVAlignment, getAlignment(Member->Data));
585 Alignment = std::max(Alignment, getAlignment(Member->Data));
604 for (std::vector<MemberInfo>::const_iterator Member = Members.begin(),
606 Member != MemberEnd; ++Member) {
607 if (!Member->Data)
609 CharUnits Offset = Member->Offset;
613 getAlignment(Member->Data)))
615 Size = Offset + getSize(Member->Data);
628 for (std::vector<MemberInfo>::const_iterator Member = Members.begin(),
630 Member != MemberEnd; ++Member) {
631 if (Member->Data)
632 FieldTypes.push_back(Member->Data);
633 if (Member->Kind == MemberInfo::Field) {
634 if (Member->FD)
635 Fields[Member->FD->getCanonicalDecl()] = FieldTypes.size() - 1;
637 if (!Member->Data)
638 setBitFieldInfo(Member->FD, Member->Offset, FieldTypes.back());
639 } else if (Member->Kind == MemberInfo::Base)
640 NonVirtualBases[Member->RD] = FieldTypes.size() - 1;
641 else if (Member->Kind == MemberInfo::VBase)
642 VirtualBases[Member->RD] = FieldTypes.size() - 1;