Searched refs:VTable (Results 1 - 21 of 21) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DPDBSymbolTypeVTable.h1 //===- PDBSymbolTypeVTable.h - VTable type info -----------------*- C++ -*-===//
21 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::VTable)
H A DUDTLayout.h101 std::unique_ptr<PDBSymbolTypeVTable> VTable);
107 std::unique_ptr<PDBSymbolTypeVTable> VTable; member in class:llvm::pdb::VTableLayoutItem
144 VTableLayoutItem *VTable = nullptr; member in class:llvm::pdb::UDTLayoutBase
H A DPDBTypes.h267 VTable, member in class:llvm::pdb::PDB_Checksum::PDB_SymType
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGVTT.cpp23 const VTTVTable &VTable,
26 if (VTable.getBase() == MostDerivedClass) {
27 assert(VTable.getBaseOffset().isZero() &&
34 VTable.getBaseSubobject(),
35 VTable.isVirtual(),
63 llvm::GlobalVariable *VTable = VTables[i->VTableIndex]; local
83 VTable->getValueType(), VTable, Idxs, /*InBounds=*/true,
21 GetAddrOfVTTVTable(CodeGenVTables &CGVT, CodeGenModule &CGM, const CXXRecordDecl *MostDerivedClass, const VTTVTable &VTable, llvm::GlobalVariable::LinkageTypes Linkage, VTableLayout::AddressPointsMapTy &AddressPoints) argument
H A DCGCXX.cpp254 llvm::Value *VTable = CGM.getCXXABI().getAddrOfVTable(RD, CharUnits()); local
256 VTable = CGF.Builder.CreateBitCast(VTable, Ty);
257 assert(VTable && "BuildVirtualCall = kext vtbl pointer is null");
265 CGF.Builder.CreateConstInBoundsGEP1_64(VTable, VTableIndex, "vfnkxt");
H A DCGVTables.cpp798 llvm::GlobalVariable *VTable = local
802 VTable->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
811 components.finishAndSetAsInitializer(VTable);
815 assert(!VTable->isDeclaration() && "Shouldn't set properties on declaration");
816 CGM.setGVProperties(VTable, RD);
818 CGM.EmitVTableTypeMetadata(RD, VTable, *VTLayout.get());
820 return VTable;
951 assert(RD->isDynamicClass() && "Non-dynamic classes have no VTable.");
1074 llvm::GlobalVariable *VTable,
1118 AddVTableTypeMetadata(VTable, PointerWidt
1073 EmitVTableTypeMetadata(const CXXRecordDecl *RD, llvm::GlobalVariable *VTable, const VTableLayout &VTLayout) argument
[all...]
H A DItaniumCXXABI.cpp651 llvm::Value *VTable = local
687 llvm::Value *VFPAddr = Builder.CreateGEP(VTable, VTableOffset);
736 CGM.getIntrinsic(llvm::Intrinsic::type_test), {VTable, AllVtables});
739 {VTable, ValidVtable});
1199 llvm::Value *VTable = local
1204 VTable, -2, "complete-offset.ptr");
1469 llvm::Value *VTable = CGF.GetVTablePtr(ThisAddr, PtrDiffLTy->getPointerTo(), local
1474 CGF.Builder.CreateConstInBoundsGEP1_64(VTable, -2ULL);
1652 llvm::GlobalVariable *VTable = getAddrOfVTable(RD, CharUnits()); local
1653 if (VTable
1714 llvm::GlobalValue *VTable = getAddrOfVTable(VTableClass, CharUnits()); local
1761 llvm::GlobalVariable *&VTable = VTables[RD]; local
1798 llvm::Value *VTable = CGF.GetVTablePtr(This, Ty, MethodDecl->getParent()); local
3280 llvm::Constant *VTable = local
[all...]
H A DMicrosoftCXXABI.cpp267 llvm::GlobalVariable *VTable);
1620 llvm::GlobalVariable *VTable) {
1634 CGM.AddVTableTypeMetadata(VTable, AddressPoint, RD);
1639 CGM.AddVTableTypeMetadata(VTable, AddressPoint,
1658 CGM.AddVTableTypeMetadata(VTable, AddressPoint, DerivedRD);
1663 CGM.AddVTableTypeMetadata(VTable, AddressPoint, RD);
1672 llvm::GlobalVariable *VTable = getAddrOfVTable(RD, Info->FullOffsetInMDC); local
1673 if (VTable->hasInitializer())
1687 Components.finishAndSetAsInitializer(VTable);
1689 emitVTableTypeMetadata(*Info, RD, VTable);
1618 emitVTableTypeMetadata(const VPtrInfo &Info, const CXXRecordDecl *RD, llvm::GlobalVariable *VTable) argument
1880 llvm::Value *VTable = CGF.GetVTablePtr(VPtr, Ty, MethodDecl->getParent()); local
1904 CGF.EmitTypeMetadataCodeForVCall(getObjectWithVPtr(), VTable, Loc); local
2036 llvm::Value *VTable = CGF.GetVTablePtr( local
[all...]
H A DCGClass.cpp2592 llvm::Instruction *VTable = Builder.CreateLoad(VTablePtrSrc, "vtable"); local
2594 CGM.DecorateInstructionWithTBAA(VTable, TBAAInfo);
2598 CGM.DecorateInstructionWithInvariantGroup(VTable, RD);
2600 return VTable;
2639 llvm::Value *VTable,
2642 EmitVTablePtrCheckForCall(RD, VTable, CodeGenFunction::CFITCK_VCall, Loc);
2650 llvm::Value *CastedVTable = Builder.CreateBitCast(VTable, Int8PtrTy);
2659 llvm::Value *VTable,
2665 EmitVTablePtrCheck(RD, VTable, TCK, Loc);
2702 llvm::Value *VTable; local
2638 EmitTypeMetadataCodeForVCall(const CXXRecordDecl *RD, llvm::Value *VTable, SourceLocation Loc) argument
2658 EmitVTablePtrCheckForCall(const CXXRecordDecl *RD, llvm::Value *VTable, CFITypeCheckKind TCK, SourceLocation Loc) argument
2714 EmitVTablePtrCheck(const CXXRecordDecl *RD, llvm::Value *VTable, CFITypeCheckKind TCK, SourceLocation Loc) argument
2805 EmitVTableTypeCheckedLoad( const CXXRecordDecl *RD, llvm::Value *VTable, uint64_t VTableByteOffset) argument
[all...]
H A DCodeGenModule.h1304 llvm::GlobalVariable *VTable,
1332 void AddVTableTypeMetadata(llvm::GlobalVariable *VTable, CharUnits Offset,
H A DCGExprCXX.cpp398 llvm::Value *VTable; local
400 std::tie(VTable, RD) = CGM.getCXXABI().LoadVTablePtr(
402 EmitVTablePtrCheckForCall(RD, VTable, CFITCK_NVCall, CE->getBeginLoc());
H A DCodeGenFunction.h1957 /// EmitVTablePtrCheckForCall - Virtual method MD is being called via VTable.
1958 /// If vptr CFI is enabled, emit a check that VTable is valid.
1959 void EmitVTablePtrCheckForCall(const CXXRecordDecl *RD, llvm::Value *VTable,
1962 /// EmitVTablePtrCheck - Emit a check that VTable is a valid virtual table for
1964 void EmitVTablePtrCheck(const CXXRecordDecl *RD, llvm::Value *VTable,
1968 /// that VTable is a member of RD's type identifier. Or, if vptr CFI is
1969 /// enabled, emit a check that VTable is a member of RD's type identifier.
1971 llvm::Value *VTable, SourceLocation Loc);
1979 llvm::Value *EmitVTableTypeCheckedLoad(const CXXRecordDecl *RD, llvm::Value *VTable,
H A DCodeGenModule.cpp5894 void CodeGenModule::AddVTableTypeMetadata(llvm::GlobalVariable *VTable, argument
5899 VTable->addTypeMetadata(Offset.getQuantity(), MD);
5903 VTable->addTypeMetadata(Offset.getQuantity(),
5908 VTable->addTypeMetadata(Offset.getQuantity(), MD);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalDCE.cpp208 GlobalVariable *VTable = VTableInfo.first; local
212 getPointerAtOffset(VTable->getInitializer(), VTableOffset + CallOffset,
216 VFESafeVTables.erase(VTable);
223 VFESafeVTables.erase(VTable);
275 for (auto *VTable : VFESafeVTables)
276 dbgs() << " " << VTable->getName() << "\n";
H A DWholeProgramDevirt.cpp308 // A virtual call site. VTable is the loaded virtual table pointer, and CS is
311 Value *VTable; member in struct:__anon2608::VirtualCallSite
417 void addCallSite(Value *VTable, CallSite CS, unsigned *NumUnsafeUses);
437 void VTableSlotInfo::addCallSite(Value *VTable, CallSite CS, argument
441 CSI.CallSites.push_back({VTable, CS, NumUnsafeUses});
1134 Args.push_back(IRB.CreateBitCast(VCallSite.VTable, Int8PtrTy));
1319 B.CreateBitCast(Call.VTable, Int8PtrTy), UniqueMemberAddr);
1387 B.CreateGEP(Int8Ty, B.CreateBitCast(Call.VTable, Int8PtrTy), Byte);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DUDTLayout.cpp99 VTable(std::move(VT)) {
100 auto VTableType = cast<PDBSymbolTypePointer>(VTable->getType());
221 VTable = VTLayout.get();
H A DPDBSymbol.cpp90 FACTORY_SYMTAG_CASE(VTable, PDBSymbolTypeVTable)
H A DPDBExtras.cpp250 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, VTable, OS)
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp286 case PDB_SymType::VTable: {
/freebsd-11-stable/crypto/heimdal/lib/sqlite/
H A Dsqlite3.c7906 typedef struct VTable VTable; typedef in typeref:struct:VTable
8225 VTable *pVtab; /* Used when p4type is P4_VTAB */
9521 VTable **aVTrans; /* Virtual tables with open transactions */
9523 VTable *pDisconnect; /* Disconnect these in next sqlite3_prepare() */
9856 ** All VTable objects that correspond to a single table in a shared
9860 ** table, it searches the list for the VTable that corresponds to the
9865 ** schema is being reloaded for some reason), the VTable objects are not
9877 ** sqlite3DbMalloc(), using the connection handle stored in VTable.db as
9880 struct VTable { struct
[all...]
/freebsd-11-stable/contrib/sqlite3/
H A Dsqlite3.c14824 typedef struct VTable VTable; typedef in typeref:struct:VTable
15590 VTable *pVtab; /* Used when p4type is P4_VTAB */
17071 VTable **aVTrans; /* Virtual tables with open transactions */
17072 VTable *pDisconnect; /* Disconnect these in next sqlite3_prepare() */
17608 ** All VTable objects that correspond to a single table in a shared
17612 ** table, it searches the list for the VTable that corresponds to the
17617 ** schema is being reloaded for some reason), the VTable objects are not
17629 ** sqlite3DbMalloc(), using the connection handle stored in VTable.db as
17632 struct VTable { struct
[all...]

Completed in 1345 milliseconds