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

/freebsd-current/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DPDBSymbolTypeVTable.h1 //===- PDBSymbolTypeVTable.h - VTable type info -----------------*- C++ -*-===//
20 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::VTable)
H A DUDTLayout.h100 std::unique_ptr<PDBSymbolTypeVTable> VTable);
106 std::unique_ptr<PDBSymbolTypeVTable> VTable; member in class:llvm::pdb::VTableLayoutItem
143 VTableLayoutItem *VTable = nullptr; member in class:llvm::pdb::UDTLayoutBase
H A DPDBTypes.h269 VTable, member in class:llvm::pdb::PDB_Checksum::PDB_SymType
/freebsd-current/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(),
61 llvm::GlobalVariable *VTable = VTables[i->VTableIndex]; local
81 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 DCGVTables.cpp929 llvm::GlobalVariable *VTable = local
933 VTable->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
942 VTable->hasLocalLinkage());
943 components.finishAndSetAsInitializer(VTable);
947 assert(!VTable->isDeclaration() && "Shouldn't set properties on declaration");
948 CGM.setGVProperties(VTable, RD);
950 CGM.EmitVTableTypeMetadata(RD, VTable, *VTLayout.get());
953 RemoveHwasanMetadata(VTable);
954 if (!VTable->isDSOLocal())
955 GenerateRelativeVTableAlias(VTable, OutNam
985 GenerateRelativeVTableAlias(llvm::GlobalVariable *VTable, llvm::StringRef AliasNameRef) argument
1305 EmitVTableTypeMetadata(const CXXRecordDecl *RD, llvm::GlobalVariable *VTable, const VTableLayout &VTLayout) argument
[all...]
H A DCGCXX.cpp253 llvm::Value *VTable = CGM.getCXXABI().getAddrOfVTable(RD, CharUnits()); local
255 assert(VTable && "BuildVirtualCall = kext vtbl pointer is null");
263 CGF.Builder.CreateConstInBoundsGEP1_64(Ty, VTable, VTableIndex, "vfnkxt");
H A DItaniumCXXABI.cpp676 llvm::Value *VTable = CGF.GetVTablePtr( local
719 Builder.CreateGEP(CGF.Int8Ty, VTable, VTableOffset);
736 Builder.CreateGEP(CGF.Int8Ty, VTable, VTableOffset);
749 {VTable, VTableOffset});
752 CGF.Builder.CreateGEP(CGF.Int8Ty, VTable, VTableOffset);
780 CGM.getIntrinsic(llvm::Intrinsic::type_test), {VTable, AllVtables});
783 {VTable, ValidVtable});
1239 llvm::Value *VTable = CGF.GetVTablePtr(Ptr, CGF.UnqualPtrTy, ClassDecl); local
1243 CGF.IntPtrTy, VTable, -2, "complete-offset.ptr");
1590 llvm::Value *VTable local
1603 llvm::Value *VTable = local
1800 llvm::GlobalVariable *VTable = getAddrOfVTable(RD, CharUnits()); local
1883 llvm::GlobalValue *VTable = getAddrOfVTable(VTableClass, CharUnits()); local
1955 llvm::GlobalVariable *&VTable = VTables[RD]; local
2013 llvm::Value *VTable = CGF.GetVTablePtr(This, PtrTy, MethodDecl->getParent()); local
3666 llvm::Constant *VTable = nullptr; local
[all...]
H A DCGVTables.h149 void GenerateRelativeVTableAlias(llvm::GlobalVariable *VTable,
H A DMicrosoftCXXABI.cpp308 llvm::GlobalVariable *VTable);
1681 llvm::GlobalVariable *VTable) {
1696 VTable->setVCallVisibilityMetadata(TypeVis);
1709 CGM.AddVTableTypeMetadata(VTable, AddressPoint, RD);
1714 CGM.AddVTableTypeMetadata(VTable, AddressPoint,
1733 CGM.AddVTableTypeMetadata(VTable, AddressPoint, DerivedRD);
1738 CGM.AddVTableTypeMetadata(VTable, AddressPoint, RD);
1747 llvm::GlobalVariable *VTable = getAddrOfVTable(RD, Info->FullOffsetInMDC); local
1748 if (VTable->hasInitializer())
1762 VTable
1679 emitVTableTypeMetadata(const VPtrInfo &Info, const CXXRecordDecl *RD, llvm::GlobalVariable *VTable) argument
1954 llvm::Value *VTable = CGF.GetVTablePtr(VPtr, Ty->getPointerTo(), local
1981 CGF.EmitTypeMetadataCodeForVCall(getObjectWithVPtr(), VTable, Loc); local
2116 llvm::Value *VTable = CGF.GetVTablePtr( local
[all...]
H A DCGClass.cpp2672 llvm::Instruction *VTable = Builder.CreateLoad(VTablePtrSrc, "vtable"); local
2674 CGM.DecorateInstructionWithTBAA(VTable, TBAAInfo);
2678 CGM.DecorateInstructionWithInvariantGroup(VTable, RD);
2680 return VTable;
2719 llvm::Value *VTable,
2722 EmitVTablePtrCheckForCall(RD, VTable, CodeGenFunction::CFITCK_VCall, Loc);
2740 Builder.CreateCall(CGM.getIntrinsic(IID), {VTable, TypeId});
2746 llvm::Value *VTable,
2752 EmitVTablePtrCheck(RD, VTable, TCK, Loc);
2788 llvm::Value *VTable; local
2718 EmitTypeMetadataCodeForVCall(const CXXRecordDecl *RD, llvm::Value *VTable, SourceLocation Loc) argument
2745 EmitVTablePtrCheckForCall(const CXXRecordDecl *RD, llvm::Value *VTable, CFITypeCheckKind TCK, SourceLocation Loc) argument
2800 EmitVTablePtrCheck(const CXXRecordDecl *RD, llvm::Value *VTable, CFITypeCheckKind TCK, SourceLocation Loc) argument
2890 EmitVTableTypeCheckedLoad( const CXXRecordDecl *RD, llvm::Value *VTable, llvm::Type *VTableTy, uint64_t VTableByteOffset) argument
[all...]
H A DCodeGenModule.h1448 llvm::GlobalVariable *VTable,
1492 void AddVTableTypeMetadata(llvm::GlobalVariable *VTable, CharUnits Offset,
H A DCGExprCXX.cpp407 llvm::Value *VTable; local
409 std::tie(VTable, RD) = CGM.getCXXABI().LoadVTablePtr(
411 EmitVTablePtrCheckForCall(RD, VTable, CFITCK_NVCall, CE->getBeginLoc());
H A DCodeGenFunction.h2382 /// EmitVTablePtrCheckForCall - Virtual method MD is being called via VTable.
2383 /// If vptr CFI is enabled, emit a check that VTable is valid.
2384 void EmitVTablePtrCheckForCall(const CXXRecordDecl *RD, llvm::Value *VTable,
2387 /// EmitVTablePtrCheck - Emit a check that VTable is a valid virtual table for
2389 void EmitVTablePtrCheck(const CXXRecordDecl *RD, llvm::Value *VTable,
2393 /// that VTable is a member of RD's type identifier. Or, if vptr CFI is
2394 /// enabled, emit a check that VTable is a member of RD's type identifier.
2396 llvm::Value *VTable, SourceLocation Loc);
2405 llvm::Value *VTable,
H A DCodeGenModule.cpp7453 void CodeGenModule::AddVTableTypeMetadata(llvm::GlobalVariable *VTable, argument
7458 VTable->addTypeMetadata(Offset.getQuantity(), MD);
7462 VTable->addTypeMetadata(Offset.getQuantity(),
7467 VTable->addTypeMetadata(Offset.getQuantity(), MD);
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalDCE.cpp161 GlobalVariable *VTable = VTableInfo.first; local
165 getPointerAtOffset(VTable->getInitializer(), VTableOffset + CallOffset,
166 *Caller->getParent(), VTable);
169 VFESafeVTables.erase(VTable);
176 VFESafeVTables.erase(VTable);
244 for (auto *VTable : VFESafeVTables)
245 dbgs() << " " << VTable->getName() << "\n";
H A DWholeProgramDevirt.cpp404 // A virtual call site. VTable is the loaded virtual table pointer, and CS is
407 Value *VTable = nullptr; member in struct:__anon2856::VirtualCallSite
513 void addCallSite(Value *VTable, CallBase &CB, unsigned *NumUnsafeUses);
533 void VTableSlotInfo::addCallSite(Value *VTable, CallBase &CB, argument
537 CSI.CallSites.push_back({VTable, CB, NumUnsafeUses});
1502 Args.push_back(VCallSite.VTable);
1702 B.CreateICmp(IsOne ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE, Call.VTable,
1703 B.CreateBitCast(UniqueMemberAddr, Call.VTable->getType()));
1772 Value *Addr = B.CreatePtrAdd(Call.VTable, Byte);
/freebsd-current/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DUDTLayout.cpp102 VTable(std::move(VT)) {
103 auto VTableType = cast<PDBSymbolTypePointer>(VTable->getType());
224 VTable = VTLayout.get();
H A DPDBSymbol.cpp90 FACTORY_SYMTAG_CASE(VTable, PDBSymbolTypeVTable)
H A DPDBExtras.cpp267 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, VTable, OS)
/freebsd-current/contrib/googletest/googletest/include/gtest/
H A Dgtest-matchers.h316 struct VTable { struct in class:testing::internal::MatcherBase
373 const VTable* GetVTable() {
374 static constexpr VTable kVTable = {&MatchAndExplainImpl<P>,
452 const VTable* vtable_;
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp295 case PDB_SymType::VTable: {
/freebsd-current/contrib/sqlite3/
H A Dsqlite3.c15392 typedef struct VTable VTable; typedef in typeref:struct:VTable
16503 VTable *pVtab; /* Used when p4type is P4_VTAB */
17743 VTable **aVTrans; /* Virtual tables with open transactions */
17744 VTable *pDisconnect; /* Disconnect these in next sqlite3_prepare() */
18345 ** All VTable objects that correspond to a single table in a shared
18349 ** table, it searches the list for the VTable that corresponds to the
18354 ** schema is being reloaded for some reason), the VTable objects are not
18366 ** sqlite3DbMalloc(), using the connection handle stored in VTable.db as
18369 struct VTable { struct
[all...]

Completed in 642 milliseconds