Home
last modified time | relevance | path

Searched refs:VBase (Results 1 – 25 of 29) sorted by relevance

12

/external/clang/test/CodeGenCXX/
Dconstructors.cpp4 struct VBase { int x; VBase(); VBase(int); VBase(const VBase &); }; argument
Dms_struct.cpp8 struct ATTR VBase { struct
12 struct ATTR Base : virtual VBase {
Dmicrosoft-abi-virtual-inheritance.cpp8 struct VBase { struct
9 virtual ~VBase();
15 struct B : virtual VBase { argument
Ddestructors.cpp80 struct VBase { ~VBase(); }; struct
101 struct B : Base, virtual VBase {
/external/clang/include/clang/AST/
DVTableBuilder.h388 const CXXRecordDecl *VBase);
472 const CXXRecordDecl *VBase; member
482 : VBTableIndex(0), VBase(nullptr), VFPtrOffset(CharUnits::Zero()), in MethodVFTableLocation()
485 MethodVFTableLocation(uint64_t VBTableIndex, const CXXRecordDecl *VBase, in MethodVFTableLocation()
487 : VBTableIndex(VBTableIndex), VBase(VBase), in MethodVFTableLocation()
492 assert(VBase != other.VBase);
557 const CXXRecordDecl *VBase);
DRecordLayout.h227 CharUnits getVBaseClassOffset(const CXXRecordDecl *VBase) const { in getVBaseClassOffset() argument
229 assert(CXXInfo->VBaseOffsets.count(VBase) && "Did not find base!"); in getVBaseClassOffset()
231 return CXXInfo->VBaseOffsets[VBase].VBaseOffset; in getVBaseClassOffset()
/external/harfbuzz_ng/src/
Dhb-ot-shaper-hangul.cc101 #define VBase 0x1161u macro
111 #define isCombiningV(u) (hb_in_range<hb_codepoint_t> ((u), VBase, VBase+VCount-1))
273 hb_codepoint_t s = SBase + (l - LBase) * NCount + (v - VBase) * TCount + tindex; in preprocess_text_hangul()
343 VBase + vindex, in preprocess_text_hangul()
/external/clang/test/CXX/basic/basic.types/
Dp10.cpp92 struct VBase {}; struct
93 struct HasVBase : virtual VBase {}; // expected-note 2{{virtual base class declared here}}
/external/clang/lib/AST/
DCXXInheritance.cpp328 CXXRecordDecl *VBase = nullptr; in lookupInBases() local
330 VBase = cast<CXXRecordDecl>(Record->getDecl()); in lookupInBases()
331 if (!VBase) in lookupInBases()
346 if (HidingClass->isVirtuallyDerivedFrom(VBase)) in lookupInBases()
DRecordLayoutBuilder.cpp2755 for (const CXXBaseSpecifier &VBase : RD->vbases()) { in layoutVirtualBases() local
2756 const CXXRecordDecl *BaseDecl = VBase.getType()->getAsCXXRecordDecl(); in layoutVirtualBases()
2767 for (const CXXBaseSpecifier &VBase : RD->vbases()) { in layoutVirtualBases() local
2768 const CXXRecordDecl *BaseDecl = VBase.getType()->getAsCXXRecordDecl(); in layoutVirtualBases()
3255 const CXXRecordDecl *VBase = Base.getType()->getAsCXXRecordDecl(); in DumpRecordLayout() local
3257 CharUnits VBaseOffset = Offset + Layout.getVBaseClassOffset(VBase); in DumpRecordLayout()
3259 if (VtorDisps.find(VBase)->second.hasVtorDisp()) { in DumpRecordLayout()
3261 OS << "(vtordisp for vbase " << *VBase << ")\n"; in DumpRecordLayout()
3264 DumpRecordLayout(OS, VBase, C, VBaseOffset, IndentLevel, in DumpRecordLayout()
3265 VBase == Layout.getPrimaryBase() ? in DumpRecordLayout()
DVTableBuilder.cpp2257 const CXXRecordDecl *VBase) { in getVirtualBaseOffsetOffset() argument
2258 ClassPairTy ClassPair(RD, VBase); in getVirtualBaseOffsetOffset()
2319 const CXXRecordDecl *VBase = in computeVTableRelatedInformation() local
2322 if (VirtualBaseClassOffsetOffsets.count(std::make_pair(RD, VBase))) in computeVTableRelatedInformation()
3712 const CXXRecordDecl *VBase) { in getVBTableIndex() argument
3714 assert(VBInfo->VBTableIndices.count(VBase)); in getVBTableIndex()
3715 return VBInfo->VBTableIndices.find(VBase)->second; in getVBTableIndex()
DDeclCXX.cpp217 for (const auto &VBase : BaseClassDecl->vbases()) { in setBases() local
219 if (SeenVBaseTypes.insert(C.getCanonicalType(VBase.getType())).second) { in setBases()
220 VBases.push_back(&VBase); in setBases()
227 if (CXXRecordDecl *VBaseDecl = VBase.getType()->getAsCXXRecordDecl()) in setBases()
/external/clang/test/CXX/special/class.copy/
Dp25-0x.cpp43 struct VBase : virtual Trivial {}; struct
44 using _ = not_trivially_assignable<VBase>;
Dp12-0x.cpp40 struct VBase : virtual Trivial {}; struct
41 using _ = not_trivially_copyable<VBase>;
/external/clang/lib/CodeGen/
DCGRecordLayoutBuilder.cpp80 enum InfoKind { VFPtr, VBPtr, Field, Base, VBase, Scissor } Kind; enumerator
503 Members.push_back(MemberInfo(Offset, MemberInfo::VBase, nullptr, in accumulateVBases()
511 Members.push_back(MemberInfo(Offset, MemberInfo::VBase, in accumulateVBases()
536 Member->Kind == MemberInfo::VBase) { in calculateZeroInit()
641 else if (Member->Kind == MemberInfo::VBase) in fillOutputFields()
DCGClass.cpp273 const CXXRecordDecl *VBase = nullptr; in GetAddressOfBaseClass() local
280 VBase = in GetAddressOfBaseClass()
289 VBase ? VBase : Derived, Start, PathEnd); in GetAddressOfBaseClass()
294 if (VBase && Derived->hasAttr<FinalAttr>()) { in GetAddressOfBaseClass()
296 CharUnits vBaseOffset = layout.getVBaseClassOffset(VBase); in GetAddressOfBaseClass()
298 VBase = nullptr; // we no longer have a virtual step in GetAddressOfBaseClass()
310 if (NonVirtualOffset.isZero() && !VBase) { in GetAddressOfBaseClass()
334 EmitTypeCheck(VBase ? TCK_UpcastToVirtualBase : TCK_Upcast, Loc, in GetAddressOfBaseClass()
340 if (VBase) { in GetAddressOfBaseClass()
342 CGM.getCXXABI().GetVirtualBaseClassOffset(*this, Value, Derived, VBase); in GetAddressOfBaseClass()
[all …]
DMicrosoftCXXABI.cpp228 if (ML.VBase || !ML.VFPtrOffset.isZero()) in getThisArgumentTypeForMethod()
329 const CXXRecordDecl *VBase = I.getType()->getAsCXXRecordDecl(); in getAddrOfVirtualDisplacementMap() local
330 if (!DstRD->isVirtuallyDerivedFrom(VBase)) in getAddrOfVirtualDisplacementMap()
333 unsigned SrcVBIndex = VTContext.getVBTableIndex(SrcRD, VBase); in getAddrOfVirtualDisplacementMap()
334 unsigned DstVBIndex = VTContext.getVBTableIndex(DstRD, VBase); in getAddrOfVirtualDisplacementMap()
1287 if (ML.VBase) { in getVirtualFunctionPrologueThisAdjustment()
1290 Adjustment += DerivedLayout.getVBaseClassOffset(ML.VBase); in getVirtualFunctionPrologueThisAdjustment()
1337 if (ML.VBase) { in adjustThisArgumentForVirtualFunctionCall()
1341 const CXXRecordDecl *VBase = ML.VBase; in adjustThisArgumentForVirtualFunctionCall() local
1343 GetVirtualBaseClassOffset(CGF, Result, Derived, VBase); in adjustThisArgumentForVirtualFunctionCall()
[all …]
DCodeGenModule.h739 const CXXRecordDecl *VBase);
/external/python/cpython2/Modules/
Dunicodedata.c488 #define VBase 0x1161 macro
542 int V = VBase + (SIndex % NCount) / TCount; in nfd_nfkd()
667 VBase <= i[1] && i[1] < (VBase+VCount)) { in nfc_nfkc()
672 VIndex = i[1] - VBase; in nfc_nfkc()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DNormalizerBuilder.java238 second = (char)(VBase + (SIndex % NCount) / TCount); in buildDecompositionTables()
252 SBase = 0xAC00, LBase = 0x1100, VBase = 0x1161, TBase = 0x11A7, field in NormalizerBuilder
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DNormalizerBuilder.java237 second = (char)(VBase + (SIndex % NCount) / TCount); in buildDecompositionTables()
251 SBase = 0xAC00, LBase = 0x1100, VBase = 0x1161, TBase = 0x11A7, field in NormalizerBuilder
/external/python/cpython3/Modules/
Dunicodedata.c490 #define VBase 0x1161 macro
555 int V = VBase + (SIndex % NCount) / TCount; in nfd_nfkd()
696 VBase <= PyUnicode_READ(kind, data, i+1) && in nfc_nfkc()
697 PyUnicode_READ(kind, data, i+1) < (VBase+VCount)) { in nfc_nfkc()
702 VIndex = PyUnicode_READ(kind, data, i+1) - VBase; in nfc_nfkc()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopRerollPass.cpp1027 DenseSet<Instruction*> VBase; in collectUsedInstructions() local
1028 collectInLoopUserSet(DRS.BaseInst, Exclude, PossibleRedSet, VBase); in collectUsedInstructions()
1029 for (auto *I : VBase) { in collectUsedInstructions()
1039 if (V.size() != VBase.size()) { in collectUsedInstructions()
/external/llvm/lib/Transforms/Scalar/
DLoopRerollPass.cpp1019 DenseSet<Instruction*> VBase; in collectUsedInstructions() local
1020 collectInLoopUserSet(DRS.BaseInst, Exclude, PossibleRedSet, VBase); in collectUsedInstructions()
1021 for (auto *I : VBase) { in collectUsedInstructions()
1031 if (V.size() != VBase.size()) { in collectUsedInstructions()
/external/clang/lib/Sema/
DSemaDeclCXX.cpp3911 for (auto &VBase : ClassDecl->vbases()) { in SetCtorInitializers() local
3913 = Info.AllBaseFields.lookup(VBase.getType()->getAs<RecordType>())) { in SetCtorInitializers()
3922 << VBase.getType() << ClassDecl; in SetCtorInitializers()
3932 bool IsInheritedVirtualBase = !DirectVBases.count(&VBase); in SetCtorInitializers()
3935 &VBase, IsInheritedVirtualBase, in SetCtorInitializers()
4077 for (const auto &VBase : ClassDecl->vbases()) in DiagnoseBaseOrMemInitializerOrder() local
4078 IdealInitKeys.push_back(GetKeyForBase(SemaRef.Context, VBase.getType())); in DiagnoseBaseOrMemInitializerOrder()
4354 for (const auto &VBase : ClassDecl->vbases()) { in MarkBaseAndMemberDestructorsReferenced() local
4356 const RecordType *RT = VBase.getType()->castAs<RecordType>(); in MarkBaseAndMemberDestructorsReferenced()
4374 << Context.getTypeDeclType(ClassDecl) << VBase.getType(), in MarkBaseAndMemberDestructorsReferenced()
[all …]

12