Searched refs:PrimaryBase (Results 1 – 5 of 5) sorted by relevance
/external/clang/lib/AST/ |
D | RecordLayout.cpp | 53 const CXXRecordDecl *PrimaryBase, in ASTRecordLayout() argument 65 CXXInfo->PrimaryBase.setPointer(PrimaryBase); in ASTRecordLayout() 66 CXXInfo->PrimaryBase.setInt(IsPrimaryBaseVirtual); in ASTRecordLayout() 76 if (const CXXRecordDecl *PrimaryBase = getPrimaryBase()) { in ASTRecordLayout() local 79 assert(getVBaseClassOffset(PrimaryBase).isZero() && in ASTRecordLayout() 83 assert(getBaseClassOffset(PrimaryBase).isZero() && in ASTRecordLayout()
|
D | VTableBuilder.cpp | 626 if (const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase()) { in AddVCallAndVBaseOffsets() local 633 assert(Layout.getVBaseClassOffset(PrimaryBase).isZero() && in AddVCallAndVBaseOffsets() 640 MostDerivedClassLayout.getVBaseClassOffset(PrimaryBase); in AddVCallAndVBaseOffsets() 642 assert(Layout.getBaseClassOffset(PrimaryBase).isZero() && in AddVCallAndVBaseOffsets() 649 BaseSubobject(PrimaryBase,PrimaryBaseOffset), in AddVCallAndVBaseOffsets() 678 const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase(); in AddVCallOffsets() local 683 if (PrimaryBase && !Layout.isPrimaryBaseVirtual()) { in AddVCallOffsets() 685 assert(Layout.getBaseClassOffset(PrimaryBase).isZero() && in AddVCallOffsets() 688 AddVCallOffsets(BaseSubobject(PrimaryBase, Base.getBaseOffset()), in AddVCallOffsets() 732 if (BaseDecl == PrimaryBase) in AddVCallOffsets() [all …]
|
D | RecordLayoutBuilder.cpp | 595 const CXXRecordDecl *PrimaryBase; member in __anon3890a73d0111::RecordLayoutBuilder 652 ZeroLengthBitfield(0), PrimaryBase(0), in RecordLayoutBuilder() 816 PrimaryBase = Base; in SelectPrimaryVBase() 827 if (PrimaryBase) in SelectPrimaryVBase() 856 PrimaryBase = Base; in DeterminePrimaryBase() 864 assert(!PrimaryBase && "Should not get here with a primary base!"); in DeterminePrimaryBase() 874 if (PrimaryBase) in DeterminePrimaryBase() 880 PrimaryBase = FirstNearlyEmptyVBase; in DeterminePrimaryBase() 885 assert(!PrimaryBase && "Should not get here with a primary base!"); in DeterminePrimaryBase() 1020 if (PrimaryBase) { in LayoutNonVirtualBases() [all …]
|
/external/clang/include/clang/AST/ |
D | RecordLayout.h | 99 llvm::PointerIntPair<const CXXRecordDecl *, 1, bool> PrimaryBase; member 130 const CXXRecordDecl *PrimaryBase, 185 return CXXInfo->PrimaryBase.getPointer(); in getPrimaryBase() 193 return CXXInfo->PrimaryBase.getInt(); in isPrimaryBaseVirtual()
|
/external/clang/lib/CodeGen/ |
D | CGRecordLayoutBuilder.cpp | 657 const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase(); in LayoutNonVirtualBases() local 660 if (PrimaryBase) { in LayoutNonVirtualBases() 662 if (!LayoutNonVirtualBase(PrimaryBase, CharUnits::Zero())) in LayoutNonVirtualBases() 665 if (!LayoutVirtualBase(PrimaryBase, CharUnits::Zero())) in LayoutNonVirtualBases() 697 if (BaseDecl == PrimaryBase && !Layout.isPrimaryBaseVirtual()) in LayoutNonVirtualBases()
|