HomeSort by: relevance | last modified time | path
    Searched refs:Bases (Results 1 - 25 of 38) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/clang/lib/AST/Interp/
Record.h 72 llvm::iterator_range<const_base_iter> bases() const { function in class:clang::interp::Record
73 return llvm::make_range(Bases.begin(), Bases.end());
76 unsigned getNumBases() { return Bases.size(); }
77 Base *getBase(unsigned I) { return &Bases[I]; }
89 Record(const RecordDecl *, BaseList &&Bases, FieldList &&Fields,
99 BaseList Bases;
102 /// List o fall virtual bases.
105 /// Mapping from declarations to bases.
109 /// Mapping from declarations to virtual bases
    [all...]
Record.cpp 17 : Decl(Decl), Bases(std::move(SrcBases)), Fields(std::move(SrcFields)),
22 for (Base &B : Bases)
Program.cpp 234 Record::BaseList Bases;
237 for (const CXXBaseSpecifier &Spec : CD->bases()) {
245 Bases.push_back({BD, Size, Desc, BR});
290 Record *R = new (Allocator) Record(RD, std::move(Bases), std::move(Fields),
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/
UDTLayout.cpp 166 // Handled bases first, followed by VTables, followed by data members,
168 // so that bases and vtables get initialized before any functions which
170 UniquePtrVector<PDBSymbolTypeBaseClass> Bases;
181 Bases.push_back(std::move(Base));
197 // We don't want to have any re-allocations in the list of bases, so make
199 AllBases.reserve(Bases.size() + VirtualBaseSyms.size());
201 // Only add non-virtual bases to the class first. Only at the end of the
202 // class, after all non-virtual bases and data members have been added do we
203 // add virtual bases. This way the offsets are correctly aligned when we go
204 // to lay out virtual bases
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/AST/
CXXInheritance.cpp 132 for (const auto &I : Record->bases()) {
168 for (const auto &BaseSpec : Record->bases()) {
520 for (const auto &Base : RD->bases()) {
683 CXXIndirectPrimaryBaseSet& Bases) {
687 Bases.insert(Layout.getPrimaryBase());
689 for (const auto &I : RD->bases()) {
691 "Cannot get indirect primary bases for class with dependent bases.");
696 // Only bases with virtual bases participate in computing th
    [all...]
RecordLayoutBuilder.cpp 46 /// Bases - Information about the base subobjects.
47 SmallVector<BaseSubobjectInfo*, 4> Bases;
188 // Check the bases.
189 for (const CXXBaseSpecifier &Base : Class->bases()) {
234 // We only need to check empty bases.
252 // We only care about empty bases.
280 // Traverse all non-virtual bases.
282 for (const BaseSubobjectInfo *Base : Info->Bases) {
321 // subobject of non-empty bases, are empty bases that can be placed a
    [all...]
VTableBuilder.cpp 345 // Traverse our bases.
346 for (const auto &B : RD->bases()) {
382 for (const auto &B : RD->bases()) {
385 // Ignore bases that don't have any virtual member functions.
556 /// VisitedVirtualBases - Visited virtual bases.
657 // We only want to add vcall offsets for virtual bases.
727 // And iterate over all non-virtual bases (ignoring the primary base).
728 for (const auto &B : RD->bases()) {
752 for (const auto &B : RD->bases()) {
781 /// primary bases
    [all...]
DeclCXX.cpp 116 return Bases.get(Definition->getASTContext().getExternalSource());
174 /// handle virtual bases.
180 for (const CXXBaseSpecifier &BaseSpec : RD->bases()) {
192 CXXRecordDecl::setBases(CXXBaseSpecifier const * const *Bases,
196 if (!data().Bases.isOffset() && data().NumBases > 0)
214 // The virtual bases of this class.
217 data().Bases = new(C) CXXBaseSpecifier [NumBases];
220 data().getBases()[i] = *Bases[i];
222 const CXXBaseSpecifier *Base = Bases[i];
238 // Two bases have members or bit-fields: not standard-layout
    [all...]
ODRHash.cpp 511 auto Bases = Record->bases();
512 for (auto Base : Bases) {
ItaniumMangle.cpp 5390 for (const CXXBaseSpecifier &BS : RD->bases()) {
5517 llvm::ArrayRef<CXXBaseSpecifier> Bases(RD->bases_begin(), RD->bases_end());
5519 while (!Bases.empty() &&
5520 isZeroInitialized(Bases.back().getType(),
5521 V.getStructBase(Bases.size() - 1)))
5522 Bases = Bases.drop_back();
5529 for (unsigned I = 0, N = Bases.size(); I != N; ++I)
5530 mangleValueInTemplateArg(Bases[I].getType(), V.getStructBase(I), false);
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
StatepointLowering.cpp 521 // Check that each of the gc pointer and bases we've gotten out of the
527 for (const Value *V : SI.Bases) {
541 assert(SI.Bases.size() == SI.Ptrs.size() && "Pointer without base!");
543 assert(SI.Bases.empty() && "No gc specified, so cannot relocate pointers!");
616 for (const Value *V : SI.Bases)
646 for (const Value *V : SI.Bases) {
714 SDValue Base = Builder.getValue(SI.Bases[i]);
734 assert(SI.Bases.size() == SI.Ptrs.size());
1043 SI.Bases.push_back(Relocate->getBasePtr());
1058 SI.Bases.push_back(V)
    [all...]
SelectionDAGBuilder.h 579 /// Bases[i] is the base pointer for Ptrs[i]. Together they denote the set
581 SmallVector<const Value *, 16> Bases;
  /src/external/apache2/llvm/dist/clang/include/clang/Serialization/
ASTRecordWriter.h 192 void AddCXXBaseSpecifiers(ArrayRef<CXXBaseSpecifier> Bases);
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaCUDA.cpp 344 // Skip direct and indirect virtual bases for abstract classes.
345 llvm::SmallVector<const CXXBaseSpecifier *, 16> Bases;
346 for (const auto &B : ClassDecl->bases()) {
348 Bases.push_back(&B);
354 Bases.push_back(&VB);
358 for (const auto *B : Bases) {
395 // Same as for bases, but now for special members of fields.
532 if (!llvm::all_of(ClassDecl->bases(), [&](const CXXBaseSpecifier &BS) {
SemaDeclCXX.cpp 1672 for (const CXXBaseSpecifier &B : RD->bases())
1799 // we don't need to check the members and bases if we already know they all
2257 assert(RD->getNumVBases() == 0 && "constexpr ctor with virtual bases");
2277 // always initialized so do not need to be checked. Dependent bases
2429 /// class, including looking at dependent bases.
2436 for (const auto &I : Current->bases()) {
2494 // bases. For non-dependent bases, the check for completeness below handles
2662 /// Use small set to collect indirect bases. As this is only used
2666 /// Recursively add the bases of Type. Don't add Type itself
    [all...]
SemaExprMember.cpp 33 const BaseSet &Bases) {
34 auto BaseIsNotInSet = [&Bases](const CXXRecordDecl *Base) {
35 return !Bases.count(Base->getCanonicalDecl());
616 for (const auto &BS : RD->bases()) {
SemaLookup.cpp 2216 // template instantiation time (at which point all bases will be available)
2497 for (const auto &BaseSpec : Class->bases()) {
2773 SmallVector<CXXRecordDecl *, 32> Bases;
2774 Bases.push_back(Class);
2775 while (!Bases.empty()) {
2777 Class = Bases.pop_back_val();
2780 for (const auto &Base : Class->bases()) {
2796 // Make sure we visit the bases of this base class.
2798 Bases.push_back(BaseDecl);
3869 for (const auto &B : Record->bases()) {
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGExprConstant.cpp 788 // Accumulate and sort bases, in order to visit them in address order, which
790 SmallVector<BaseInfo, 8> Bases;
791 Bases.reserve(CD->getNumBases());
795 assert(!Base->isVirtual() && "should not have virtual bases here");
798 Bases.push_back(BaseInfo(BD, BaseOffset, BaseNo));
800 llvm::stable_sort(Bases);
802 for (unsigned I = 0, N = Bases.size(); I != N; ++I) {
803 BaseInfo &Base = Bases[I];
2215 // Fill in all the bases.
2217 for (const auto &I : CXXR->bases()) {
    [all...]
CGCall.cpp 878 SmallVector<const CXXBaseSpecifier *, 1> Bases;
882 RecordExpansion(SmallVector<const CXXBaseSpecifier *, 1> &&Bases,
884 : TypeExpansion(TEK_Record), Bases(std::move(Bases)),
915 SmallVector<const CXXBaseSpecifier *, 1> Bases;
943 for (const CXXBaseSpecifier &BS : CXXRD->bases())
944 Bases.push_back(&BS);
955 return std::make_unique<RecordExpansion>(std::move(Bases),
971 for (auto BS : RExp->Bases)
992 for (auto BS : RExp->Bases)
    [all...]
ItaniumCXXABI.cpp 889 /// virtual bases, which is why we don't have to consider them here.
1603 // ignores virtual bases.
1607 // constructs the virtual bases, then calls the base constructor.
1635 // virtual bases.
1639 // call the base destructor and then destructs any virtual bases.
2052 // For a class with virtual bases, we must also be able to speculatively
2057 for (const auto &B : RD->bases()) {
2075 // to be able to speculatively emit the vtables of all dynamic virtual bases.
3021 /// if it's a base constructor or destructor with virtual bases.
3025 // We don't have any virtual bases, just return early
    [all...]
CGDebugInfo.h 267 /// Adds debug info entries for types in Bases that are not in SeenTypes.
271 const CXXRecordDecl::base_class_const_range &Bases,
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
DeclCXX.h 298 /// The number of base class specifiers in Bases.
307 LazyCXXBaseSpecifiersPtr Bases;
338 if (!Bases.isOffset())
339 return Bases.get(nullptr);
350 ArrayRef<CXXBaseSpecifier> bases() const { function in struct:clang::CXXRecordDecl::DefinitionData
579 void setBases(CXXBaseSpecifier const * const *Bases, unsigned NumBases);
588 base_class_range bases() { function in class:clang::CXXRecordDecl
591 base_class_const_range bases() const { function in class:clang::CXXRecordDecl
1128 /// it contains only public fields, no bases, tag kind is not 'class', etc.
1635 /// Get the indirect primary bases for this class
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
ControlHeightReduction.cpp 1074 // If any of Bases isn't hoistable to the hoist point, split.
1087 std::set<Value *> PrevBases, Bases;
1095 Bases.insert(BaseValues.begin(), BaseValues.end());
1102 dbgs() << " Bases ";
1103 for (Value *V : Bases) {
1108 std::set_intersection(PrevBases.begin(), PrevBases.end(), Bases.begin(),
1109 Bases.end(), std::back_inserter(Intersection));
1191 // Not splitting from the outer. Use the outer bases and insert
1192 // point. Union the bases.
1227 // Not splitting. Union the bases. Keep the hoist point
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
RewriteStatepointsForGC.cpp 460 // duplicate code as needed to construct a parallel vector of bases.
466 // duplicate code as needed to construct a parallel vector of bases.
736 // If bases are different - Conflict.
879 // Known bases won't need new instructions introduced and can be
941 // base state for known bases and expect to find a cached state otherwise.
962 // Only values that do not have known bases or those that have differing
1001 // Only values that do not have known bases or those that have differing
1042 // Only values that do not have known bases or those that have differing
1116 // Only values that do not have known bases or those that have differing
1210 // Only values that do not have known bases or those that have differin
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Serialization/
ASTWriter.cpp 5477 ArrayRef<CXXBaseSpecifier> Bases) {
5480 Writer.push_back(Bases.size());
5482 for (auto &Base : Bases)
5489 void ASTRecordWriter::AddCXXBaseSpecifiers(ArrayRef<CXXBaseSpecifier> Bases) {
5490 AddOffset(EmitCXXBaseSpecifiers(*Writer, Bases));
5554 AddCXXBaseSpecifiers(Data.bases());

Completed in 74 milliseconds

1 2