Home | History | Annotate | Download | only in AST

Lines Matching defs:Offsets

110   /// as a record decl and a subobject number) and its offsets in the most
117 /// ComputeBaseOffsets - Compute the offsets for all base subobjects of the
164 // Compute base offsets.
252 // even change the base offsets in ASTRecordLayout to be specified in
441 offsets when building a vtable.
446 /// Offsets - Keeps track of methods and their offsets.
448 SmallVector<MethodAndOffsetPairTy, 16> Offsets;
466 bool empty() const { return Offsets.empty(); }
515 for (unsigned I = 0, E = Offsets.size(); I != E; ++I) {
516 if (MethodsCanShareVCallOffset(Offsets[I].first, MD))
521 Offsets.push_back(MethodAndOffsetPairTy(MD, OffsetOffset));
527 for (unsigned I = 0, E = Offsets.size(); I != E; ++I) {
528 if (MethodsCanShareVCallOffset(Offsets[I].first, MD))
529 return Offsets[I].second;
535 /// VCallAndVBaseOffsetBuilder - Class for building vcall and vbase offsets.
543 /// and vbase offsets.
561 /// VCallOffsets - Keeps track of vcall offsets.
565 /// VBaseOffsetOffsets - Contains the offsets of the virtual base offsets,
573 /// AddVCallAndVBaseOffsets - Add vcall offsets and vbase offsets for the
578 /// AddVCallOffsets - Add vcall offsets for the given base subobject.
581 /// AddVBaseOffsets - Add vbase offsets for the given class.
598 // Add vcall and vbase offsets.
621 // and vbase offsets added by the derived class all come before the vcall
622 // and vbase offsets required by the base class, so that the latter may be
626 // (Since we're emitting the vcall and vbase offsets in reverse order, we'll
657 // We only want to add vcall offsets for virtual bases.
683 // We only want to add vcall offsets if the base is non-virtual; a virtual
684 // primary base will have its vcall and vbase offsets emitted already.
694 // Add the vcall offsets.
746 // Add vbase offsets.
767 // Check the base class looking for more vbase offsets.
815 /// VCallOffsetsForVBases - Keeps track of vcall offsets for the virtual
819 /// VBaseOffsetOffsets - Contains the offsets of the virtual base offsets for
923 /// vcall offsets are allocated in the A-in-B and A-in-C vtables, no this
1296 // We don't have vcall offsets for this virtual base, go ahead and
1372 // offsets, then this overrider will be used.
1661 // Add vcall and vbase offsets for this vtable.
1667 // Check if we need to add these vcall offsets.
1676 // virtual base class offset offsets.
1828 // the base offsets are different.
2098 // We store the virtual base class names and their offsets in a map to get
2110 Out << "Virtual base offset offsets for '";