/external/clang/lib/AST/ |
D | RecordLayout.cpp | 50 const CXXRecordDecl *PrimaryBase, in ASTRecordLayout() argument 62 CXXInfo->PrimaryBase.setPointer(PrimaryBase); in ASTRecordLayout() 63 CXXInfo->PrimaryBase.setInt(IsPrimaryBaseVirtual); in ASTRecordLayout() 78 if (const CXXRecordDecl *PrimaryBase = getPrimaryBase()) { in ASTRecordLayout() local 81 assert(getVBaseClassOffset(PrimaryBase).isZero() && in ASTRecordLayout() 85 assert(getBaseClassOffset(PrimaryBase).isZero() && in ASTRecordLayout()
|
D | VTableBuilder.cpp | 625 if (const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase()) { in AddVCallAndVBaseOffsets() local 632 assert(Layout.getVBaseClassOffset(PrimaryBase).isZero() && in AddVCallAndVBaseOffsets() 639 MostDerivedClassLayout.getVBaseClassOffset(PrimaryBase); in AddVCallAndVBaseOffsets() 641 assert(Layout.getBaseClassOffset(PrimaryBase).isZero() && in AddVCallAndVBaseOffsets() 648 BaseSubobject(PrimaryBase,PrimaryBaseOffset), in AddVCallAndVBaseOffsets() 677 const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase(); in AddVCallOffsets() local 682 if (PrimaryBase && !Layout.isPrimaryBaseVirtual()) { in AddVCallOffsets() 684 assert(Layout.getBaseClassOffset(PrimaryBase).isZero() && in AddVCallOffsets() 687 AddVCallOffsets(BaseSubobject(PrimaryBase, Base.getBaseOffset()), in AddVCallOffsets() 726 if (BaseDecl == PrimaryBase) in AddVCallOffsets() [all …]
|
D | RecordLayoutBuilder.cpp | 625 const CXXRecordDecl *PrimaryBase; member in __anon07e898d70111::ItaniumRecordLayoutBuilder 667 NonVirtualAlignment(CharUnits::One()), PrimaryBase(nullptr), in ItaniumRecordLayoutBuilder() 800 PrimaryBase = Base; in SelectPrimaryVBase() 811 if (PrimaryBase) in SelectPrimaryVBase() 838 PrimaryBase = Base; in DeterminePrimaryBase() 850 if (PrimaryBase) in DeterminePrimaryBase() 856 PrimaryBase = FirstNearlyEmptyVBase; in DeterminePrimaryBase() 861 assert(!PrimaryBase && "Should not get here with a primary base!"); in DeterminePrimaryBase() 992 if (PrimaryBase) { in LayoutNonVirtualBases() 996 BaseSubobjectInfo *PrimaryBaseInfo = VirtualBaseInfo.lookup(PrimaryBase); in LayoutNonVirtualBases() [all …]
|
/external/llvm-project/clang/lib/AST/ |
D | RecordLayout.cpp | 52 const CXXRecordDecl *PrimaryBase, bool IsPrimaryBaseVirtual, in ASTRecordLayout() argument 63 CXXInfo->PrimaryBase.setPointer(PrimaryBase); in ASTRecordLayout() 64 CXXInfo->PrimaryBase.setInt(IsPrimaryBaseVirtual); in ASTRecordLayout() 79 if (const CXXRecordDecl *PrimaryBase = getPrimaryBase()) { in ASTRecordLayout() local 82 assert(getVBaseClassOffset(PrimaryBase).isZero() && in ASTRecordLayout() 86 assert(getBaseClassOffset(PrimaryBase).isZero() && in ASTRecordLayout()
|
D | VTableBuilder.cpp | 628 if (const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase()) { in AddVCallAndVBaseOffsets() local 635 assert(Layout.getVBaseClassOffset(PrimaryBase).isZero() && in AddVCallAndVBaseOffsets() 642 MostDerivedClassLayout.getVBaseClassOffset(PrimaryBase); in AddVCallAndVBaseOffsets() 644 assert(Layout.getBaseClassOffset(PrimaryBase).isZero() && in AddVCallAndVBaseOffsets() 651 BaseSubobject(PrimaryBase,PrimaryBaseOffset), in AddVCallAndVBaseOffsets() 684 const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase(); in AddVCallOffsets() local 689 if (PrimaryBase && !Layout.isPrimaryBaseVirtual()) { in AddVCallOffsets() 691 assert(Layout.getBaseClassOffset(PrimaryBase).isZero() && in AddVCallOffsets() 694 AddVCallOffsets(BaseSubobject(PrimaryBase, Base.getBaseOffset()), in AddVCallOffsets() 733 if (BaseDecl == PrimaryBase) in AddVCallOffsets() [all …]
|
D | RecordLayoutBuilder.cpp | 647 const CXXRecordDecl *PrimaryBase; member in __anone71902e50111::ItaniumRecordLayoutBuilder 701 PaddedFieldSize(CharUnits::Zero()), PrimaryBase(nullptr), in ItaniumRecordLayoutBuilder() 839 PrimaryBase = Base; in SelectPrimaryVBase() 850 if (PrimaryBase) in SelectPrimaryVBase() 877 PrimaryBase = Base; in DeterminePrimaryBase() 889 if (PrimaryBase) in DeterminePrimaryBase() 895 PrimaryBase = FirstNearlyEmptyVBase; in DeterminePrimaryBase() 900 assert(!PrimaryBase && "Should not get here with a primary base!"); in DeterminePrimaryBase() 1030 if (PrimaryBase) { in LayoutNonVirtualBases() 1034 BaseSubobjectInfo *PrimaryBaseInfo = VirtualBaseInfo.lookup(PrimaryBase); in LayoutNonVirtualBases() [all …]
|
/external/clang/include/clang/AST/ |
D | RecordLayout.h | 114 llvm::PointerIntPair<const CXXRecordDecl *, 1, bool> PrimaryBase; member 150 const CXXRecordDecl *PrimaryBase, 207 return CXXInfo->PrimaryBase.getPointer(); in getPrimaryBase() 215 return CXXInfo->PrimaryBase.getInt(); in isPrimaryBaseVirtual()
|
/external/llvm-project/clang/include/clang/AST/ |
D | RecordLayout.h | 132 llvm::PointerIntPair<const CXXRecordDecl *, 1, bool> PrimaryBase; member 167 const CXXRecordDecl *PrimaryBase, bool IsPrimaryBaseVirtual, 237 return CXXInfo->PrimaryBase.getPointer(); in getPrimaryBase() 245 return CXXInfo->PrimaryBase.getInt(); in isPrimaryBaseVirtual()
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/ |
D | primary64.h | 69 PrimaryBase = reinterpret_cast<uptr>( in initLinkerInitialized() 75 Seed = static_cast<u32>(Time ^ (PrimaryBase >> 12)); in initLinkerInitialized() 106 unmap(reinterpret_cast<void *>(PrimaryBase), PrimarySize, UNMAP_ALL, &Data); in unmapTestOnly() 309 uptr PrimaryBase; variable 320 return PrimaryBase + (ClassId << RegionSizeLog); in getRegionBaseByClassId()
|
/external/scudo/standalone/ |
D | primary64.h | 62 PrimaryBase = reinterpret_cast<uptr>( in initLinkerInitialized() 68 Seed = static_cast<u32>(Time ^ (PrimaryBase >> 12)); in initLinkerInitialized() 86 unmap(reinterpret_cast<void *>(PrimaryBase), PrimarySize, UNMAP_ALL, &Data); in unmapTestOnly() 303 uptr PrimaryBase = 0; variable 314 return PrimaryBase + (ClassId << Config::PrimaryRegionSizeLog); in getRegionBaseByClassId()
|