Home
last modified time | relevance | path

Searched full:vbptroffset (Results 1 – 25 of 31) sorted by relevance

12

/llvm-project/clang/lib/AST/
H A DRecordLayout.cpp49 CharUnits vbptroffset, CharUnits datasize, ArrayRef<uint64_t> fieldoffsets, in ASTRecordLayout() argument
72 CXXInfo->VBPtrOffset = vbptroffset; in ASTRecordLayout()
H A DRecordLayoutBuilder.cpp2625 CharUnits VBPtrOffset;
2882 VBPtrOffset = Bases[BaseDecl] + BaseLayout.getNonVirtualSize(); in layoutNonVirtualBases()
2893 VBPtrOffset = Bases[BaseDecl] + BaseLayout.getNonVirtualSize(); in layoutNonVirtualBases()
2895 // Set our VBPtroffset if we know it at this point. in layoutNonVirtualBases()
2897 VBPtrOffset = CharUnits::fromQuantity(-1); in layoutNonVirtualBases()
2900 VBPtrOffset = Bases[SharedVBPtrBase] + Layout.getVBPtrOffset(); in layoutNonVirtualBases()
3086 CharUnits InjectionSite = VBPtrOffset; in layoutZeroWidthBitField()
3088 VBPtrOffset = VBPtrOffset.alignTo(PointerInfo.Alignment); in layoutZeroWidthBitField()
3090 CharUnits FieldStart = VBPtrOffset in layoutZeroWidthBitField()
2639 CharUnits VBPtrOffset; global() member
[all...]
H A DMicrosoftMangle.cpp182 int32_t VBPtrOffset, uint32_t VBIndex,
188 uint32_t NVOffset, int32_t VBPtrOffset,
827 uint64_t VBPtrOffset = 0; in mangleMemberFunctionPointer()
850 VBPtrOffset = Layout.getVBPtrOffset().getQuantity(); in mangleFunctionPointer()
873 mangleNumber(VBPtrOffset); in mangleVarDecl()
3812 if (Adjustment.Virtual.Microsoft.VBPtrOffset) {
3815 static_cast<uint32_t>(Adjustment.Virtual.Microsoft.VBPtrOffset)); in mangleCXXDtorThunk()
4005 uint32_t NVOffset, int32_t VBPtrOffset, uint32_t VBIndex, in mangleCXXRTTICompleteObjectLocator()
4037 if (VBPtrOffset == -1) {
4043 Mangler.getStream() << VBPtrOffset; in mangleSEHFinallyBlock()
793 uint64_t VBPtrOffset = 0; mangleMemberFunctionPointer() local
3928 mangleCXXCatchableType(QualType T,const CXXConstructorDecl * CD,CXXCtorType CT,uint32_t Size,uint32_t NVOffset,int32_t VBPtrOffset,uint32_t VBIndex,raw_ostream & Out) mangleCXXCatchableType() argument
3972 mangleCXXRTTIBaseClassDescriptor(const CXXRecordDecl * Derived,uint32_t NVOffset,int32_t VBPtrOffset,uint32_t VBTableOffset,uint32_t Flags,raw_ostream & Out) mangleCXXRTTIBaseClassDescriptor() argument
[all...]
H A DMicrosoftCXXABI.cpp272 // int VBPtrOffset;
H A DVTableBuilder.cpp2988 TA.Virtual.Microsoft.VBPtrOffset = in CalculateVtordispAdjustment()
3183 ReturnAdjustment.Virtual.Microsoft.VBPtrOffset = in AddMethods()
3215 if (R.Virtual.Microsoft.VBPtrOffset) in dumpMicrosoftThunkAdjustment()
3216 Out << "vbptr at offset " << R.Virtual.Microsoft.VBPtrOffset << ", "; in dumpMicrosoftThunkAdjustment()
3231 if (T.Virtual.Microsoft.VBPtrOffset) { in dumpMicrosoftThunkAdjustment()
3232 Out << "vbptr at " << T.Virtual.Microsoft.VBPtrOffset in dumpMicrosoftThunkAdjustment()
/llvm-project/clang/include/clang/AST/
H A DRecordLayout.h109 /// VBPtrOffset - Virtual base table offset (Microsoft-only).
110 CharUnits VBPtrOffset; member
162 bool hasExtendableVFPtr, CharUnits vbptroffset,
308 return !CXXInfo->VBPtrOffset.isNegative(); in hasVBPtr()
326 return CXXInfo->VBPtrOffset; in getVBPtrOffset()
H A DMangle.h271 uint32_t NVOffset, int32_t VBPtrOffset,
275 const CXXRecordDecl *Derived, uint32_t NVOffset, int32_t VBPtrOffset,
/llvm-project/llvm/test/tools/llvm-cxxdump/
H A Dtrivial.test33 COFF-I386-NEXT: ??_R1A@33FA@A@@8[VBPtrOffset]: 4
40 COFF-I386-NEXT: ??_R1A@?0A@EA@A@@8[VBPtrOffset]: -1
47 COFF-I386-NEXT: ??_R1A@?0A@EA@S@@8[VBPtrOffset]: -1
/llvm-project/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp613 llvm::Value *VBPtrOffset,
619 int32_t VBPtrOffset,
623 llvm::Value *VBPOffset = llvm::ConstantInt::get(CGM.IntTy, VBPtrOffset), in GetVBaseOffsetFromVBPtr()
637 llvm::Value *VBPtrOffset /* optional */);
791 int32_t VBPtrOffset = -1,
1072 llvm::Value *VBPtrOffset = llvm::ConstantInt::get(CGM.PtrDiffTy, VBPtrChars); in GetVirtualBaseClassOffset()
1081 GetVBaseOffsetFromVBPtr(CGF, This, VBPtrOffset, VBTableOffset); in GetVirtualBaseClassOffset()
1084 return CGF.Builder.CreateNSWAdd(VBPtrOffset, VBPtrToNewBase); in GetVirtualBaseClassOffset()
2190 CharUnits VBPtrOffset = BaseLayout.getVBPtrOffset(); in emitVBTableDefinition()
2191 Offsets[0] = llvm::ConstantInt::get(CGM.IntTy, -VBPtrOffset in emitVBTableDefinition()
624 GetVBaseOffsetFromVBPtr(CodeGenFunction & CGF,Address Base,int32_t VBPtrOffset,int32_t VBTableOffset,llvm::Value ** VBPtr=nullptr) GetVBaseOffsetFromVBPtr() argument
1078 llvm::Value *VBPtrOffset = llvm::ConstantInt::get(CGM.PtrDiffTy, VBPtrChars); GetVirtualBaseClassOffset() local
2196 CharUnits VBPtrOffset = BaseLayout.getVBPtrOffset(); emitVBTableDefinition() local
3140 GetVBaseOffsetFromVBPtr(CodeGenFunction & CGF,Address This,llvm::Value * VBPtrOffset,llvm::Value * VBTableOffset,llvm::Value ** VBPtrOut) GetVBaseOffsetFromVBPtr() argument
3177 AdjustVirtualBase(CodeGenFunction & CGF,const Expr * E,const CXXRecordDecl * RD,Address Base,llvm::Value * VBTableOffset,llvm::Value * VBPtrOffset) AdjustVirtualBase() argument
3244 llvm::Value *VBPtrOffset = nullptr; EmitMemberDataPointerAddress() local
3349 llvm::Value *VBPtrOffset = getZeroInt(); EmitNonNullMemberPointerConversion() local
3531 llvm::Value *VBPtrOffset = nullptr; EmitLoadOfMemberFunctionPointer() local
3839 int32_t VBPtrOffset = -1; getBaseClassDescriptor() local
4187 getCatchableType(QualType T,uint32_t NVOffset,int32_t VBPtrOffset,uint32_t VBIndex) getCatchableType() argument
4313 int32_t VBPtrOffset = -1; getCatchableTypeArray() local
[all...]
H A DCGExprCXX.cpp534 for (CharUnits VBPtrOffset : VBPtrOffsets) { in EmitNullBaseClassInitialization()
536 if (VBPtrOffset >= NVSize) in EmitNullBaseClassInitialization()
543 CharUnits SplitBeforeSize = VBPtrOffset - SplitBeforeOffset; in EmitNullBaseClassInitialization()
548 CharUnits SplitAfterOffset = VBPtrOffset + VBPtrWidth; in EmitNullBaseClassInitialization()
528 for (CharUnits VBPtrOffset : VBPtrOffsets) { EmitNullBaseClassInitialization() local
/llvm-project/clang/include/clang/Basic/
H A DThunk.h46 uint32_t VBPtrOffset; member
113 int32_t VBPtrOffset; member
/llvm-project/llvm/test/DebugInfo/COFF/
H A Dinheritance.ll24 ; CHECK-NEXT: VBPtrOffset: 0x8
42 ; CHECK-NEXT: VBPtrOffset: 0x8
67 ; CHECK-NEXT: VBPtrOffset: 0x8
H A Dtypes-data-members.ll286 ; CHECK: VBPtrOffset: 0x0
621 ; ASM: .short 0x0 # VBPtrOffset
/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecord.h892 VBPtrType(VBPtrType), VBPtrOffset(Offset), VTableIndex(Index) {} in VirtualBaseClassRecord()
897 VBPtrType(VBPtrType), VBPtrOffset(Offset), VTableIndex(Index) {} in VirtualBaseClassRecord()
902 uint64_t getVBPtrOffset() const { return VBPtrOffset; } in getVBPtrType()
908 uint64_t VBPtrOffset = 0;
909 uint64_t VBPtrOffset = 0; global() variable
/llvm-project/llvm/include/llvm/Demangle/
H A DMicrosoftDemangleNodes.h451 int32_t VBPtrOffset = 0;
572 int32_t VBPtrOffset = 0;
449 int32_t VBPtrOffset = 0; global() member
570 int32_t VBPtrOffset = 0; global() member
/llvm-project/llvm/bindings/ocaml/debuginfo/
H A Ddebuginfo_ocaml.c666 value VBPtrOffset, value Flags) { in llvm_dibuild_create_inheritance_native()
669 (uint64_t)Int_val(BaseOffset), Int_val(VBPtrOffset), DIFlags_val(Flags)); in llvm_dibuild_create_inheritance_native()
678 argv[4], // VBPtrOffset in llvm_dibuild_create_inheritance_bytecode()
665 llvm_dibuild_create_inheritance_native(value Builder,value Ty,value BaseTy,value BaseOffset,value VBPtrOffset,value Flags) llvm_dibuild_create_inheritance_native() argument
/llvm-project/llvm/lib/Demangle/
H A DMicrosoftDemangleNodes.cpp468 OB << "`vtordispex{" << ThisAdjust.VBPtrOffset << ", " in outputPost()
637 OB << NVOffset << ", " << VBPtrOffset << ", " << VBTableOffset << ", " in output()
/llvm-project/llvm/test/DebugInfo/PDB/Inputs/
H A Devery-type.yaml223 VBPtrOffset: 0
/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DTypeRecordMapping.cpp717 error(IO.mapEncodedInteger(Record.VBPtrOffset, "VBPtrOffset")); in visitKnownMember()
H A DTypeDumpVisitor.cpp541 W->printHex("VBPtrOffset", Base.getVBPtrOffset()); in visitKnownMember()
/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypes.cpp665 IO.mapRequired("VBPtrOffset", Record.VBPtrOffset); in map()
/llvm-project/llvm/include/llvm-c/
H A DDebugInfo.h936 * \param VBPtrOffset Virtual base pointer offset.
942 uint64_t BaseOffset, uint32_t VBPtrOffset,
/llvm-project/llvm/include/llvm/IR/
H A DDIBuilder.h343 /// \param VBPtrOffset Virtual base pointer offset.
347 uint64_t BaseOffset, uint32_t VBPtrOffset,
/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp380 uint32_t VBPtrOffset, in createInheritance() argument
384 ConstantInt::get(IntegerType::get(VMContext, 32), VBPtrOffset)); in createInheritance()
/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalTypeDumper.cpp582 Base.BaseType, Base.VBPtrType, Base.VBPtrOffset, Base.VTableIndex); in visitKnownMember()

12