Home
last modified time | relevance | path

Searched refs:Bases (Results 1 – 25 of 40) sorted by relevance

12

/external/clang/test/CXX/special/class.ctor/
Dp5-0x.cpp152 #define ASSERT_NONTRIVIAL_IMPL(Class, Bases, Body) \ argument
153 class Class Bases { Body }; \
155 #define ASSERT_NONTRIVIAL(Class, Bases, Body) \ argument
156 ASSERT_NONTRIVIAL_IMPL(Class, Bases, Body) \
157 ASSERT_NONTRIVIAL_IMPL(Def ## Class, Bases, Def ## Class() = default; Body) \
158 ASSERT_NONTRIVIAL_IMPL(Del ## Class, Bases, Del ## Class() = delete; Body)
/external/v8/tools/clang/blink_gc_plugin/
DRecordInfo.cpp208 for (Bases::iterator it = GetBases().begin(); in IsStackAllocated()
283 for (Bases::iterator it = GetBases().begin(); it != GetBases().end(); ++it) { in RequiresTraceMethod()
311 RecordInfo::Bases& RecordInfo::GetBases() { in GetBases()
320 for (Bases::iterator it = GetBases().begin(); it != GetBases().end(); ++it) { in InheritsTrace()
330 for (Bases::iterator it = GetBases().begin(); it != GetBases().end(); ++it) { in InheritsNonVirtualTrace()
377 RecordInfo::Bases* RecordInfo::CollectBases() { in CollectBases()
379 Bases* bases = new Bases; in CollectBases()
486 for (Bases::iterator it = GetBases().begin(); it != GetBases().end(); ++it) { in DetermineTracingMethods()
524 for (Bases::iterator it = GetBases().begin(); in NeedsFinalization()
549 for (Bases::iterator it = GetBases().begin(); it != GetBases().end(); ++it) { in NeedsTracing()
DRecordInfo.h74 typedef std::vector<std::pair<clang::CXXRecordDecl*, BasePoint>> Bases; typedef
90 Bases& GetBases();
127 Bases* CollectBases();
137 Bases* bases_;
DCheckTraceVisitor.cpp188 RecordInfo::Bases::iterator it = info_->GetBases().begin(); in CheckCXXDependentScopeMemberExpr()
/external/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.cpp249 removeDuplicateGCPtrs(SmallVectorImpl<const Value *> &Bases, in removeDuplicateGCPtrs() argument
264 NewBases.push_back(Bases[i]); in removeDuplicateGCPtrs()
273 assert(Bases.size() >= NewBases.size()); in removeDuplicateGCPtrs()
276 Bases = NewBases; in removeDuplicateGCPtrs()
279 assert(Ptrs.size() == Bases.size()); in removeDuplicateGCPtrs()
429 for (const Value *V : SI.Bases) { in lowerStatepointMetaArgs()
444 assert(SI.Bases.empty() && "No gc specified, so cannot relocate pointers!"); in lowerStatepointMetaArgs()
457 for (unsigned i = 0; i < SI.Bases.size(); ++i) { in lowerStatepointMetaArgs()
458 reservePreviousStackSlotForValue(SI.Bases[i], Builder); in lowerStatepointMetaArgs()
480 for (unsigned i = 0; i < SI.Bases.size(); ++i) { in lowerStatepointMetaArgs()
[all …]
/external/llvm/tools/llvm-pdbdump/
DClassDefinitionDumper.cpp41 auto Bases = Class.findAllChildren<PDBSymbolTypeBaseClass>(); in start() local
42 if (Bases->getChildCount() > 0) { in start()
47 while (auto Base = Bases->getNext()) { in start()
53 if (++BaseIndex < Bases->getChildCount()) { in start()
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp47 SmallVector<BaseSubobjectInfo*, 4> Bases; member
281 for (const BaseSubobjectInfo *Base : Info->Bases) { in CanPlaceBaseSubobjectAtOffset()
331 for (const BaseSubobjectInfo *Base : Info->Bases) { in UpdateEmptyBaseSubobjects()
638 BaseOffsetsMapTy Bases; member in __anon07e898d70111::ItaniumRecordLayoutBuilder
923 Info->Bases.push_back(ComputeBaseSubobjectInfo(BaseDecl, IsVirtual, Info)); in ComputeBaseSubobjectInfo()
1059 assert(!Bases.count(Base->Class) && "base offset already exists!"); in LayoutNonVirtualBase()
1060 Bases.insert(std::make_pair(Base->Class, Offset)); in LayoutNonVirtualBase()
1089 for (const BaseSubobjectInfo *Base : Info->Bases) { in AddPrimaryVirtualBaseOffsets()
1313 assert(Bases.count(BaseDecl) && "Did not find base offset!"); in Layout()
2297 BaseOffsetsMapTy Bases; member
[all …]
DCXXInheritance.cpp663 CXXIndirectPrimaryBaseSet& Bases) { in AddIndirectPrimaryBases() argument
667 Bases.insert(Layout.getPrimaryBase()); in AddIndirectPrimaryBases()
679 AddIndirectPrimaryBases(BaseDecl, Context, Bases); in AddIndirectPrimaryBases()
685 CXXRecordDecl::getIndirectPrimaryBases(CXXIndirectPrimaryBaseSet& Bases) const { in getIndirectPrimaryBases()
701 AddIndirectPrimaryBases(BaseDecl, Context, Bases); in getIndirectPrimaryBases()
DVTableBuilder.cpp1338 ItaniumVTableBuilder::PrimaryBasesSetVectorTy &Bases) { in OverridesIndirectMethodInBases() argument
1339 if (Bases.count(MD->getParent())) in OverridesIndirectMethodInBases()
1347 if (OverridesIndirectMethodInBases(OverriddenMD, Bases)) in OverridesIndirectMethodInBases()
1423 BasesSetVectorTy &Bases) { in FindNearestOverriddenMethod() argument
1428 llvm::make_range(Bases.rbegin(), Bases.rend())) { in FindNearestOverriddenMethod()
2652 BasesSetVectorTy Bases; in ComputeThisOffset() local
2660 Bases.insert(OverriddenMD->getParent()); in ComputeThisOffset()
2670 if (Bases.size() == 0) in ComputeThisOffset()
2675 [&Bases](const CXXBaseSpecifier *Specifier, CXXBasePath &) { in ComputeThisOffset()
2676 return Bases.count(Specifier->getType()->getAsCXXRecordDecl()); in ComputeThisOffset()
DDeclCXX.cpp74 IsParsingBaseSpecifiers(false), NumBases(0), NumVBases(0), Bases(), in DefinitionData()
78 return Bases.get(Definition->getASTContext().getExternalSource()); in getBasesSlowCase()
137 CXXRecordDecl::setBases(CXXBaseSpecifier const * const *Bases, in setBases() argument
141 if (!data().Bases.isOffset() && data().NumBases > 0) in setBases()
162 data().Bases = new(C) CXXBaseSpecifier [NumBases]; in setBases()
165 data().getBases()[i] = *Bases[i]; in setBases()
167 const CXXBaseSpecifier *Base = Bases[i]; in setBases()
/external/clang/lib/Sema/
DSemaCUDA.cpp239 llvm::SmallVector<const CXXBaseSpecifier *, 16> Bases; in inferCUDATargetForImplicitSpecialMember() local
242 Bases.push_back(&B); in inferCUDATargetForImplicitSpecialMember()
248 Bases.push_back(&VB); in inferCUDATargetForImplicitSpecialMember()
252 for (const auto *B : Bases) { in inferCUDATargetForImplicitSpecialMember()
DSemaDeclCXX.cpp1557 MutableArrayRef<CXXBaseSpecifier *> Bases) { in AttachBaseSpecifiers() argument
1558 if (Bases.empty()) in AttachBaseSpecifiers()
1574 for (unsigned idx = 0; idx < Bases.size(); ++idx) { in AttachBaseSpecifiers()
1576 = Context.getCanonicalType(Bases[idx]->getType()); in AttachBaseSpecifiers()
1584 Diag(Bases[idx]->getLocStart(), in AttachBaseSpecifiers()
1587 << Bases[idx]->getSourceRange(); in AttachBaseSpecifiers()
1591 Context.Deallocate(Bases[idx]); in AttachBaseSpecifiers()
1596 KnownBase = Bases[idx]; in AttachBaseSpecifiers()
1597 Bases[NumGoodBases++] = Bases[idx]; in AttachBaseSpecifiers()
1600 if (Bases.size() > 1) in AttachBaseSpecifiers()
[all …]
DSemaExprMember.cpp34 const BaseSet &Bases) { in isProvablyNotDerivedFrom() argument
35 auto BaseIsNotInSet = [&Bases](const CXXRecordDecl *Base) { in isProvablyNotDerivedFrom()
36 return !Bases.count(Base->getCanonicalDecl()); in isProvablyNotDerivedFrom()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp450 SmallVector<BaseInfo, 8> Bases; in Build() local
451 Bases.reserve(CD->getNumBases()); in Build()
458 Bases.push_back(BaseInfo(BD, BaseOffset, BaseNo)); in Build()
460 std::stable_sort(Bases.begin(), Bases.end()); in Build()
462 for (unsigned I = 0, N = Bases.size(); I != N; ++I) { in Build()
463 BaseInfo &Base = Bases[I]; in Build()
DCGCall.cpp801 SmallVector<const CXXBaseSpecifier *, 1> Bases; member
805 RecordExpansion(SmallVector<const CXXBaseSpecifier *, 1> &&Bases, in RecordExpansion()
807 : TypeExpansion(TEK_Record), Bases(std::move(Bases)), in RecordExpansion()
838 SmallVector<const CXXBaseSpecifier *, 1> Bases; in getTypeExpansion() local
868 Bases.push_back(&BS); in getTypeExpansion()
880 return llvm::make_unique<RecordExpansion>(std::move(Bases), in getTypeExpansion()
896 for (auto BS : RExp->Bases) in getExpansionSize()
917 for (auto BS : RExp->Bases) in getExpandedTypes()
960 for (const CXXBaseSpecifier *BS : RExp->Bases) { in ExpandTypeFromArgs()
998 for (const CXXBaseSpecifier *BS : RExp->Bases) { in ExpandTypeToArgs()
DItaniumCXXABI.cpp3148 SeenBases &Bases) { in ComputeVMIClassTypeInfoFlags() argument
3157 if (!Bases.VirtualBases.insert(BaseDecl).second) { in ComputeVMIClassTypeInfoFlags()
3162 if (Bases.NonVirtualBases.count(BaseDecl)) in ComputeVMIClassTypeInfoFlags()
3167 if (!Bases.NonVirtualBases.insert(BaseDecl).second) { in ComputeVMIClassTypeInfoFlags()
3172 if (Bases.VirtualBases.count(BaseDecl)) in ComputeVMIClassTypeInfoFlags()
3179 Flags |= ComputeVMIClassTypeInfoFlags(&I, Bases); in ComputeVMIClassTypeInfoFlags()
3186 SeenBases Bases; in ComputeVMIClassTypeInfoFlags() local
3190 Flags |= ComputeVMIClassTypeInfoFlags(&I, Bases); in ComputeVMIClassTypeInfoFlags()
/external/llvm/docs/
DHowToSetUpLLVMStyleRTTI.rst101 instances of exactly that class (only subclasses). See `Concrete Bases
236 Bases and Deeper Hierarchies`_ for more information about how to extend
243 Concrete Bases and Deeper Hierarchies
333 rewrite the example at the beginning of `Concrete Bases and Deeper
/external/clang/unittests/AST/
DASTTypeTraitsTest.cpp35 TEST(ASTNodeKind, Bases) { in TEST() argument
/external/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp2059 SmallVector<Value *, 128> Bases; in insertParsePoints() local
2061 Bases.push_back(Pair.second); in insertParsePoints()
2063 insertUseHolderAfter(ToUpdate[i], Bases, Holders); in insertParsePoints()
2563 DenseSet<Value *> Bases; in recomputeLiveInValues() local
2565 Bases.insert(KVPair.second); in recomputeLiveInValues()
2572 assert(Bases.count(V) && "Can't find base for unexpected live value!"); in recomputeLiveInValues()
/external/clang/include/clang/AST/
DDeclCXX.h471 LazyCXXBaseSpecifiersPtr Bases; member
500 if (!Bases.isOffset()) in getBases()
501 return Bases.get(nullptr); in getBases()
709 void setBases(CXXBaseSpecifier const * const *Bases, unsigned NumBases);
1607 void getIndirectPrimaryBases(CXXIndirectPrimaryBaseSet& Bases) const;
/external/icu/icu4c/source/data/brkitr/rules/
Dline_loose.txt119 $CAN_CM = [^$SP $BK $CR $LF $NL $ZW $CM]; # Bases that can take CMs
120 $CANT_CM = [ $SP $BK $CR $LF $NL $ZW $CM]; # Bases that can't take CMs
Dline_fi.txt117 $CAN_CM = [^$SP $BK $CR $LF $NL $ZW $CM]; # Bases that can take CMs
118 $CANT_CM = [ $SP $BK $CR $LF $NL $ZW $CM]; # Bases that can't take CMs
Dline_normal_cj.txt118 $CAN_CM = [^$SP $BK $CR $LF $NL $ZW $CM]; # Bases that can take CMs
119 $CANT_CM = [ $SP $BK $CR $LF $NL $ZW $CM]; # Bases that can't take CMs
Dline.txt111 $CAN_CM = [^$SP $BK $CR $LF $NL $ZW $CM]; # Bases that can take CMs
112 $CANT_CM = [ $SP $BK $CR $LF $NL $ZW $CM]; # Bases that can't take CMs
Dline_normal_fi.txt115 $CAN_CM = [^$SP $BK $CR $LF $NL $ZW $CM]; # Bases that can take CMs
116 $CANT_CM = [ $SP $BK $CR $LF $NL $ZW $CM]; # Bases that can't take CMs

12