• Home
  • Raw
  • Download

Lines Matching refs:MemberInfo

78   struct MemberInfo {  struct
86 MemberInfo(CharUnits Offset, InfoKind Kind, llvm::Type *Data, in MemberInfo() function
89 MemberInfo(CharUnits Offset, InfoKind Kind, llvm::Type *Data, in MemberInfo() function
93 bool operator <(const MemberInfo& a) const { return Offset < a.Offset; } in operator <() argument
99 MemberInfo StorageInfo(CharUnits Offset, llvm::Type *Data) { in StorageInfo()
100 return MemberInfo(Offset, MemberInfo::Field, Data); in StorageInfo()
201 std::vector<MemberInfo> Members;
359 Members.push_back(MemberInfo( in accumulateFields()
360 bitsToCharUnits(getFieldBitOffset(*Field)), MemberInfo::Field, in accumulateFields()
401 Members.push_back(MemberInfo(bitsToCharUnits(StartBitOffset), in accumulateBitFields()
402 MemberInfo::Field, nullptr, *Field)); in accumulateBitFields()
435 Members.push_back(MemberInfo(bitsToCharUnits(StartBitOffset), in accumulateBitFields()
436 MemberInfo::Field, nullptr, *Run)); in accumulateBitFields()
445 Members.push_back(MemberInfo(CharUnits::Zero(), MemberInfo::Base, in accumulateBases()
458 Members.push_back(MemberInfo(Layout.getBaseClassOffset(BaseDecl), in accumulateBases()
459 MemberInfo::Base, getStorageType(BaseDecl), BaseDecl)); in accumulateBases()
465 Members.push_back(MemberInfo(CharUnits::Zero(), MemberInfo::VFPtr, in accumulateVPtrs()
469 Members.push_back(MemberInfo(Layout.getVBPtrOffset(), MemberInfo::VBPtr, in accumulateVPtrs()
491 Members.push_back(MemberInfo(ScissorOffset, MemberInfo::Scissor, nullptr, in accumulateVBases()
503 Members.push_back(MemberInfo(Offset, MemberInfo::VBase, nullptr, in accumulateVBases()
511 Members.push_back(MemberInfo(Offset, MemberInfo::VBase, in accumulateVBases()
528 for (std::vector<MemberInfo>::const_iterator Member = Members.begin(), in calculateZeroInit()
531 if (Member->Kind == MemberInfo::Field) { in calculateZeroInit()
535 } else if (Member->Kind == MemberInfo::Base || in calculateZeroInit()
536 Member->Kind == MemberInfo::VBase) { in calculateZeroInit()
540 if (Member->Kind == MemberInfo::Base) in calculateZeroInit()
547 std::vector<MemberInfo>::iterator Prior = Members.begin(); in clipTailPadding()
549 for (std::vector<MemberInfo>::iterator Member = Prior + 1, in clipTailPadding()
553 if (!Member->Data && Member->Kind != MemberInfo::Scissor) in clipTailPadding()
556 assert(Prior->Kind == MemberInfo::Field && !Prior->FD && in clipTailPadding()
574 for (std::vector<MemberInfo>::const_iterator Member = Members.begin(), in determinePacked()
604 for (std::vector<MemberInfo>::const_iterator Member = Members.begin(), in insertPadding()
628 for (std::vector<MemberInfo>::const_iterator Member = Members.begin(), in fillOutputFields()
633 if (Member->Kind == MemberInfo::Field) { in fillOutputFields()
639 } else if (Member->Kind == MemberInfo::Base) in fillOutputFields()
641 else if (Member->Kind == MemberInfo::VBase) in fillOutputFields()