Home
last modified time | relevance | path

Searched refs:VBaseOffset (Results 1 – 10 of 10) sorted by relevance

/external/clang/include/clang/AST/
DRecordLayout.h39 CharUnits VBaseOffset; member
52 VBaseInfo(CharUnits VBaseOffset, bool hasVtorDisp) : in VBaseInfo()
53 VBaseOffset(VBaseOffset), HasVtorDisp(hasVtorDisp) {} in VBaseInfo()
231 return CXXInfo->VBaseOffsets[VBase].VBaseOffset; in getVBaseClassOffset()
/external/llvm-project/clang/include/clang/AST/
DRecordLayout.h43 CharUnits VBaseOffset; member
53 VBaseInfo(CharUnits VBaseOffset, bool hasVtorDisp) in VBaseInfo()
54 : VBaseOffset(VBaseOffset), HasVtorDisp(hasVtorDisp) {} in VBaseInfo()
265 return CXXInfo->VBaseOffsets[VBase].VBaseOffset; in getVBaseClassOffset()
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp406 CharUnits VBaseOffset = Offset + Layout.getVBaseClassOffset(VBaseDecl); in CanPlaceFieldSubobjectAtOffset() local
407 if (!CanPlaceFieldSubobjectAtOffset(VBaseDecl, Class, VBaseOffset)) in CanPlaceFieldSubobjectAtOffset()
511 CharUnits VBaseOffset = Offset + Layout.getVBaseClassOffset(VBaseDecl); in UpdateEmptyFieldSubobjects() local
512 UpdateEmptyFieldSubobjects(VBaseDecl, Class, VBaseOffset); in UpdateEmptyFieldSubobjects()
3257 CharUnits VBaseOffset = Offset + Layout.getVBaseClassOffset(VBase); in DumpRecordLayout() local
3260 PrintOffset(OS, VBaseOffset - CharUnits::fromQuantity(4), IndentLevel); in DumpRecordLayout()
3264 DumpRecordLayout(OS, VBase, C, VBaseOffset, IndentLevel, in DumpRecordLayout()
DVTableBuilder.cpp576 void AddVCallOffsets(BaseSubobject Base, CharUnits VBaseOffset);
673 CharUnits VBaseOffset) { in AddVCallOffsets() argument
688 VBaseOffset); in AddVCallOffsets()
713 Offset = Overrider.Offset - VBaseOffset; in AddVCallOffsets()
734 VBaseOffset); in AddVCallOffsets()
2858 CharUnits OffsetOfVBaseWithVFPtr = VBaseMapEntry->second.VBaseOffset; in CalculateVtordispAdjustment()
/external/llvm-project/clang/lib/AST/
DRecordLayoutBuilder.cpp407 CharUnits VBaseOffset = Offset + Layout.getVBaseClassOffset(VBaseDecl); in CanPlaceFieldSubobjectAtOffset() local
408 if (!CanPlaceFieldSubobjectAtOffset(VBaseDecl, Class, VBaseOffset)) in CanPlaceFieldSubobjectAtOffset()
518 CharUnits VBaseOffset = Offset + Layout.getVBaseClassOffset(VBaseDecl); in UpdateEmptyFieldSubobjects() local
519 UpdateEmptyFieldSubobjects(VBaseDecl, Class, VBaseOffset, in UpdateEmptyFieldSubobjects()
3546 CharUnits VBaseOffset = Offset + Layout.getVBaseClassOffset(VBase); in DumpRecordLayout() local
3549 PrintOffset(OS, VBaseOffset - CharUnits::fromQuantity(4), IndentLevel); in DumpRecordLayout()
3553 DumpRecordLayout(OS, VBase, C, VBaseOffset, IndentLevel, in DumpRecordLayout()
DVTableBuilder.cpp577 void AddVCallOffsets(BaseSubobject Base, CharUnits VBaseOffset);
680 CharUnits VBaseOffset) { in AddVCallOffsets() argument
695 VBaseOffset); in AddVCallOffsets()
720 Offset = Overrider.Offset - VBaseOffset; in AddVCallOffsets()
741 VBaseOffset); in AddVCallOffsets()
2879 CharUnits OffsetOfVBaseWithVFPtr = VBaseMapEntry->second.VBaseOffset; in CalculateVtordispAdjustment()
/external/llvm-project/clang/lib/CodeGen/
DMicrosoftCXXABI.cpp1206 llvm::Value *VBaseOffset = in initializeHiddenVirtualInheritanceMembers() local
1208 uint64_t ConstantVBaseOffset = I->second.VBaseOffset.getQuantity(); in initializeHiddenVirtualInheritanceMembers()
1212 VBaseOffset, llvm::ConstantInt::get(CGM.PtrDiffTy, ConstantVBaseOffset), in initializeHiddenVirtualInheritanceMembers()
1219 llvm::Value *VtorDispPtr = Builder.CreateInBoundsGEP(Int8This, VBaseOffset); in initializeHiddenVirtualInheritanceMembers()
1455 llvm::Value *VBaseOffset = in adjustThisArgumentForVirtualFunctionCall() local
1458 CGF.Builder.CreateInBoundsGEP(Result.getPointer(), VBaseOffset); in adjustThisArgumentForVirtualFunctionCall()
1690 Offset = VBI->second.VBaseOffset; in emitVTableTypeMetadata()
2207 llvm::Value *VBaseOffset = in performThisAdjustment() local
2211 V = CGF.Builder.CreateInBoundsGEP(VBPtr, VBaseOffset); in performThisAdjustment()
2240 llvm::Value *VBaseOffset = in performReturnAdjustment() local
[all …]
DItaniumCXXABI.cpp1577 llvm::Value *VBaseOffset; in GetVirtualBaseClassOffset() local
1581 VBaseOffset = CGF.Builder.CreateAlignedLoad( in GetVirtualBaseClassOffset()
1586 VBaseOffset = CGF.Builder.CreateAlignedLoad( in GetVirtualBaseClassOffset()
1589 return VBaseOffset; in GetVirtualBaseClassOffset()
/external/clang/lib/CodeGen/
DMicrosoftCXXABI.cpp1152 llvm::Value *VBaseOffset = in initializeHiddenVirtualInheritanceMembers() local
1159 VBaseOffset, llvm::ConstantInt::get(CGM.PtrDiffTy, ConstantVBaseOffset), in initializeHiddenVirtualInheritanceMembers()
1166 llvm::Value *VtorDispPtr = Builder.CreateInBoundsGEP(Int8This, VBaseOffset); in initializeHiddenVirtualInheritanceMembers()
1342 llvm::Value *VBaseOffset = in adjustThisArgumentForVirtualFunctionCall() local
1345 CGF.Builder.CreateInBoundsGEP(Result.getPointer(), VBaseOffset); in adjustThisArgumentForVirtualFunctionCall()
1539 Offset = VBI->second.VBaseOffset; in emitVTableTypeMetadata()
2076 llvm::Value *VBaseOffset = in performThisAdjustment() local
2080 V = CGF.Builder.CreateInBoundsGEP(VBPtr, VBaseOffset); in performThisAdjustment()
2109 llvm::Value *VBaseOffset = in performReturnAdjustment() local
2112 V = CGF.Builder.CreateInBoundsGEP(VBPtr, VBaseOffset); in performReturnAdjustment()
DItaniumCXXABI.cpp1319 llvm::Value *VBaseOffset = in GetVirtualBaseClassOffset() local
1323 return VBaseOffset; in GetVirtualBaseClassOffset()