Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DRecord.h86 return llvm::make_range(Bases.begin(), Bases.end()); in bases()
89 unsigned getNumBases() const { return Bases.size(); } in getNumBases()
92 return &Bases[I]; in getBase()
109 Record(const RecordDecl *, BaseList &&Bases, FieldList &&Fields,
119 BaseList Bases; variable
H A DRecord.cpp18 : Decl(Decl), Bases(std::move(SrcBases)), Fields(std::move(SrcFields)), in Record()
23 for (Base &B : Bases) in Record()
H A DProgram.cpp288 Record::BaseList Bases; in getOrCreateRecord() local
307 Bases.push_back({BD, BaseSize, Desc, BR}); in getOrCreateRecord()
357 Record *R = new (Allocator) Record(RD, std::move(Bases), std::move(Fields), in getOrCreateRecord()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DMapperJITLinkMemoryManager.cpp149 std::vector<ExecutorAddr> Bases; in deallocate() local
150 Bases.reserve(Allocs.size()); in deallocate()
153 Bases.push_back(Addr); in deallocate()
156 Mapper->deinitialize(Bases, [this, Allocs = std::move(Allocs), in deallocate()
H A DMemoryMapper.cpp112 ArrayRef<ExecutorAddr> Bases, in deinitialize() argument
119 for (auto Base : llvm::reverse(Bases)) { in deinitialize()
141 void InProcessMemoryMapper::release(ArrayRef<ExecutorAddr> Bases, in release() argument
145 for (auto Base : Bases) { in release()
387 void SharedMemoryMapper::release(ArrayRef<ExecutorAddr> Bases, in release() argument
395 for (auto Base : Bases) { in release()
432 SAs.Instance, Bases); in release()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/
H A DExecutorSharedMemoryMapperService.h36 Error deinitialize(const std::vector<ExecutorAddr> &Bases);
37 Error release(const std::vector<ExecutorAddr> &Bases);
H A DSimpleExecutorMemoryManager.h38 Error deallocate(const std::vector<ExecutorAddr> &Bases);
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DUDTLayout.cpp173 UniquePtrVector<PDBSymbolTypeBaseClass> Bases; in initializeChildren() local
184 Bases.push_back(std::move(Base)); in initializeChildren()
202 AllBases.reserve(Bases.size() + VirtualBaseSyms.size()); in initializeChildren()
208 for (auto &Base : Bases) { in initializeChildren()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DExecutorSharedMemoryMapperService.cpp207 const std::vector<ExecutorAddr> &Bases) { in deinitialize() argument
213 for (auto Base : llvm::reverse(Bases)) { in deinitialize()
236 const std::vector<ExecutorAddr> &Bases) { in release() argument
240 for (auto Base : Bases) { in release()
H A DSimpleExecutorMemoryManager.cpp152 const std::vector<ExecutorAddr> &Bases) { in deallocate() argument
154 AllocPairs.reserve(Bases.size()); in deallocate()
160 for (auto &Base : Bases) { in deallocate()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DCXXInheritance.cpp681 CXXIndirectPrimaryBaseSet& Bases) { in AddIndirectPrimaryBases() argument
685 Bases.insert(Layout.getPrimaryBase()); in AddIndirectPrimaryBases()
697 AddIndirectPrimaryBases(BaseDecl, Context, Bases); in AddIndirectPrimaryBases()
703 CXXRecordDecl::getIndirectPrimaryBases(CXXIndirectPrimaryBaseSet& Bases) const { in getIndirectPrimaryBases()
719 AddIndirectPrimaryBases(BaseDecl, Context, Bases); in getIndirectPrimaryBases()
H A DRecordLayoutBuilder.cpp47 SmallVector<BaseSubobjectInfo*, 4> Bases; member
282 for (const BaseSubobjectInfo *Base : Info->Bases) { in CanPlaceBaseSubobjectAtOffset()
332 for (const BaseSubobjectInfo *Base : Info->Bases) { in UpdateEmptyBaseSubobjects()
678 BaseOffsetsMapTy Bases; member in __anonbcc347f50111::ItaniumRecordLayoutBuilder
973 Info->Bases.push_back(ComputeBaseSubobjectInfo(BaseDecl, IsVirtual, Info)); in ComputeBaseSubobjectInfo()
1112 assert(!Bases.count(Base->Class) && "base offset already exists!"); in LayoutNonVirtualBase()
1113 Bases.insert(std::make_pair(Base->Class, Offset)); in LayoutNonVirtualBase()
1142 for (const BaseSubobjectInfo *Base : Info->Bases) { in AddPrimaryVirtualBaseOffsets()
1418 assert(Bases.count(BaseDecl) && "Did not find base offset!"); in Layout()
2651 BaseOffsetsMapTy Bases; member
[all …]
H A DDeclCXX.cpp117 return Bases.get(Definition->getASTContext().getExternalSource()); in getBasesSlowCase()
195 CXXRecordDecl::setBases(CXXBaseSpecifier const * const *Bases, in setBases() argument
199 if (!data().Bases.isOffset() && data().NumBases > 0) in setBases()
220 data().Bases = new(C) CXXBaseSpecifier [NumBases]; in setBases()
223 data().getBases()[i] = *Bases[i]; in setBases()
225 const CXXBaseSpecifier *Base = Bases[i]; in setBases()
653 llvm::SmallPtrSet<const CXXRecordDecl*, 8> Bases; in hasSubobjectAtOffsetZeroOfEmptyBaseType() local
670 if (Bases.empty()) { in hasSubobjectAtOffsetZeroOfEmptyBaseType()
675 Bases.insert(Base); in hasSubobjectAtOffsetZeroOfEmptyBaseType()
681 if (Bases.count(RD)) in hasSubobjectAtOffsetZeroOfEmptyBaseType()
H A DVTableBuilder.cpp1371 ItaniumVTableBuilder::PrimaryBasesSetVectorTy &Bases) { in OverridesIndirectMethodInBases() argument
1372 if (Bases.count(MD->getParent())) in OverridesIndirectMethodInBases()
1377 if (OverridesIndirectMethodInBases(OverriddenMD, Bases)) in OverridesIndirectMethodInBases()
1453 BasesSetVectorTy &Bases) { in FindNearestOverriddenMethod() argument
1457 for (const CXXRecordDecl *PrimaryBase : llvm::reverse(Bases)) { in FindNearestOverriddenMethod()
2770 BasesSetVectorTy Bases; in ComputeThisOffset() local
2778 Bases.insert(OverriddenMD->getParent()); in ComputeThisOffset()
2788 if (Bases.size() == 0) in ComputeThisOffset()
2793 [&Bases](const CXXBaseSpecifier *Specifier, CXXBasePath &) { in ComputeThisOffset()
2794 return Bases.count(Specifier->getType()->getAsCXXRecordDecl()); in ComputeThisOffset()
H A DODRHash.cpp607 auto Bases = Record->bases(); in AddCXXRecordDecl() local
608 for (const auto &Base : Bases) { in AddCXXRecordDecl()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DStatepointLowering.cpp599 for (const Value *V : SI.Bases) in lowerStatepointMetaArgs()
629 for (const Value *V : SI.Bases) { in lowerStatepointMetaArgs()
697 SDValue Base = Builder.getValue(SI.Bases[i]); in lowerStatepointMetaArgs()
717 assert(SI.Bases.size() == SI.Ptrs.size() && "Pointer without base!"); in LowerAsSTATEPOINT()
718 assert((GFI || SI.Bases.empty()) && in LowerAsSTATEPOINT()
1069 SI.Bases.push_back(Relocate->getBasePtr()); in LowerStatepoint()
1084 SI.Bases.push_back(V); in LowerStatepoint()
/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DExtractAPIVisitor.h173 SmallVector<SymbolReference> Bases; in getBases() local
179 Bases.emplace_back(createSymbolReferenceForDecl(*BaseDecl)); in getBases()
195 Bases.emplace_back(BaseClass); in getBases()
198 return Bases; in getBases()
638 Record->Bases = getBases(Decl); in VisitCXXRecordDecl()
829 CTSR->Bases = getBases(Decl); in VisitClassTemplateSpecializationDecl()
862 CTPSR->Bases = getBases(Decl); in VisitClassTemplatePartialSpecializationDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCUDA.cpp398 llvm::SmallVector<const CXXBaseSpecifier *, 16> Bases; in inferTargetForImplicitSpecialMember() local
401 Bases.push_back(&B); in inferTargetForImplicitSpecialMember()
406 llvm::append_range(Bases, llvm::make_pointer_range(ClassDecl->vbases())); in inferTargetForImplicitSpecialMember()
409 for (const auto *B : Bases) { in inferTargetForImplicitSpecialMember()
H A DSemaDeclCXX.cpp2831 MutableArrayRef<CXXBaseSpecifier *> Bases) { in AttachBaseSpecifiers() argument
2832 if (Bases.empty()) in AttachBaseSpecifiers()
2848 for (unsigned idx = 0; idx < Bases.size(); ++idx) { in AttachBaseSpecifiers()
2850 = Context.getCanonicalType(Bases[idx]->getType()); in AttachBaseSpecifiers()
2858 Diag(Bases[idx]->getBeginLoc(), diag::err_duplicate_base_class) in AttachBaseSpecifiers()
2859 << KnownBase->getType() << Bases[idx]->getSourceRange(); in AttachBaseSpecifiers()
2863 Context.Deallocate(Bases[idx]); in AttachBaseSpecifiers()
2868 KnownBase = Bases[idx]; in AttachBaseSpecifiers()
2869 Bases[NumGoodBases++] = Bases[idx]; in AttachBaseSpecifiers()
2874 if (Bases.size() > 1) in AttachBaseSpecifiers()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTRecordWriter.h205 void AddCXXBaseSpecifiers(ArrayRef<CXXBaseSpecifier> Bases);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp1073 std::set<Value *> PrevBases, Bases; in shouldSplit() local
1081 Bases.insert(BaseValues.begin(), BaseValues.end()); in shouldSplit()
1089 for (Value *V : Bases) { in shouldSplit()
1094 std::set_intersection(PrevBases.begin(), PrevBases.end(), Bases.begin(), in shouldSplit()
1095 Bases.end(), std::back_inserter(Intersection)); in shouldSplit()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp829 SmallVector<BaseInfo, 8> Bases; in Build() local
830 Bases.reserve(CD->getNumBases()); in Build()
837 Bases.push_back(BaseInfo(BD, BaseOffset, BaseNo)); in Build()
839 llvm::stable_sort(Bases); in Build()
841 for (unsigned I = 0, N = Bases.size(); I != N; ++I) { in Build()
842 BaseInfo &Base = Bases[I]; in Build()
H A DCGCall.cpp908 SmallVector<const CXXBaseSpecifier *, 1> Bases; member
912 RecordExpansion(SmallVector<const CXXBaseSpecifier *, 1> &&Bases, in RecordExpansion()
914 : TypeExpansion(TEK_Record), Bases(std::move(Bases)), in RecordExpansion()
945 SmallVector<const CXXBaseSpecifier *, 1> Bases; in getTypeExpansion() local
973 llvm::append_range(Bases, llvm::make_pointer_range(CXXRD->bases())); in getTypeExpansion()
984 return std::make_unique<RecordExpansion>(std::move(Bases), in getTypeExpansion()
1000 for (auto BS : RExp->Bases) in getExpansionSize()
1021 for (auto BS : RExp->Bases) in getExpandedTypes()
1059 for (const CXXBaseSpecifier *BS : RExp->Bases) { in ExpandTypeFromArgs()
1116 for (const CXXBaseSpecifier *BS : RExp->Bases) { in ExpandTypeToArgs()
H A DItaniumCXXABI.cpp4316 SeenBases &Bases) { in ComputeVMIClassTypeInfoFlags() argument
4325 if (!Bases.VirtualBases.insert(BaseDecl).second) { in ComputeVMIClassTypeInfoFlags()
4330 if (Bases.NonVirtualBases.count(BaseDecl)) in ComputeVMIClassTypeInfoFlags()
4335 if (!Bases.NonVirtualBases.insert(BaseDecl).second) { in ComputeVMIClassTypeInfoFlags()
4340 if (Bases.VirtualBases.count(BaseDecl)) in ComputeVMIClassTypeInfoFlags()
4347 Flags |= ComputeVMIClassTypeInfoFlags(&I, Bases); in ComputeVMIClassTypeInfoFlags()
4354 SeenBases Bases; in ComputeVMIClassTypeInfoFlags() local
4358 Flags |= ComputeVMIClassTypeInfoFlags(&I, Bases); in ComputeVMIClassTypeInfoFlags()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h324 LazyCXXBaseSpecifiersPtr Bases; member
355 if (!Bases.isOffset()) in getBases()
356 return Bases.get(nullptr); in getBases()
610 void setBases(CXXBaseSpecifier const * const *Bases, unsigned NumBases);
1705 void getIndirectPrimaryBases(CXXIndirectPrimaryBaseSet& Bases) const;

123