Home
last modified time | relevance | path

Searched refs:VTable (Results 1 – 12 of 12) sorted by relevance

/external/clang/lib/CodeGen/
DCGCXX.cpp297 llvm::Value *VTable = CGF.GetVTablePtr(This, Ty); in BuildVirtualCall() local
299 CGF.Builder.CreateConstInBoundsGEP1_64(VTable, VTableIndex, "vfn"); in BuildVirtualCall()
319 llvm::Value *VTable = 0; in BuildAppleKextVirtualCall() local
332 VTable = CGM.getVTables().GetAddrOfVTable(RD); in BuildAppleKextVirtualCall()
334 VTable = Builder.CreateBitCast(VTable, Ty); in BuildAppleKextVirtualCall()
335 assert(VTable && "BuildVirtualCall = kext vtbl pointer is null"); in BuildAppleKextVirtualCall()
343 Builder.CreateConstInBoundsGEP1_64(VTable, VTableIndex, "vfnkxt"); in BuildAppleKextVirtualCall()
366 llvm::Value *VTable = CGM.getVTables().GetAddrOfVTable(RD); in BuildAppleKextVirtualDestructorCall() local
368 VTable = Builder.CreateBitCast(VTable, Ty); in BuildAppleKextVirtualDestructorCall()
377 Builder.CreateConstInBoundsGEP1_64(VTable, VTableIndex, "vfnkxt"); in BuildAppleKextVirtualDestructorCall()
DCGVTT.cpp23 const VTTVTable &VTable, in GetAddrOfVTTVTable() argument
26 if (VTable.getBase() == MostDerivedClass) { in GetAddrOfVTTVTable()
27 assert(VTable.getBaseOffset().isZero() && in GetAddrOfVTTVTable()
34 VTable.getBaseSubobject(), in GetAddrOfVTTVTable()
35 VTable.isVirtual(), in GetAddrOfVTTVTable()
63 llvm::Constant *VTable = VTables[i->VTableIndex]; in EmitVTTDefinition() local
81 llvm::ConstantExpr::getInBoundsGetElementPtr(VTable, Idxs); in EmitVTTDefinition()
DCGVTables.cpp618 llvm::GlobalVariable *&VTable = VTables[RD]; in GetAddrOfVTable() local
619 if (VTable) in GetAddrOfVTable()
620 return VTable; in GetAddrOfVTable()
636 VTable = in GetAddrOfVTable()
639 VTable->setUnnamedAddr(true); in GetAddrOfVTable()
640 return VTable; in GetAddrOfVTable()
644 CodeGenVTables::EmitVTableDefinition(llvm::GlobalVariable *VTable, in EmitVTableDefinition() argument
656 VTable->setInitializer(Init); in EmitVTableDefinition()
659 VTable->setLinkage(Linkage); in EmitVTableDefinition()
662 CGM.setTypeVisibility(VTable, RD, CodeGenModule::TVK_ForVTable); in EmitVTableDefinition()
[all …]
DCGRTTI.cpp481 llvm::Constant *VTable = in BuildVTablePointer() local
489 VTable = llvm::ConstantExpr::getInBoundsGetElementPtr(VTable, Two); in BuildVTablePointer()
490 VTable = llvm::ConstantExpr::getBitCast(VTable, CGM.Int8PtrTy); in BuildVTablePointer()
492 Fields.push_back(VTable); in BuildVTablePointer()
DItaniumCXXABI.cpp265 llvm::Value *VTable = Builder.CreateBitCast(This, VTableTy->getPointerTo()); in EmitLoadOfMemberFunctionPointer() local
266 VTable = Builder.CreateLoad(VTable, "memptr.vtable"); in EmitLoadOfMemberFunctionPointer()
271 VTable = Builder.CreateGEP(VTable, VTableOffset); in EmitLoadOfMemberFunctionPointer()
274 VTable = Builder.CreateBitCast(VTable, FTy->getPointerTo()->getPointerTo()); in EmitLoadOfMemberFunctionPointer()
275 llvm::Value *VirtualFn = Builder.CreateLoad(VTable, "memptr.virtualfn"); in EmitLoadOfMemberFunctionPointer()
DCGExprConstant.cpp56 void AppendVTablePointer(BaseSubobject Base, llvm::Constant *VTable,
75 llvm::Constant *VTable, const CXXRecordDecl *VTableClass,
92 llvm::Constant *VTable, in AppendVTablePointer() argument
102 llvm::ConstantExpr::getInBoundsGetElementPtr(VTable, Indices); in AppendVTablePointer()
446 bool IsPrimaryBase, llvm::Constant *VTable, in Build() argument
454 AppendVTablePointer(BaseSubobject(CD, Offset), VTable, VTableClass); in Build()
475 VTable, VTableClass, Offset + Base.Offset); in Build()
596 llvm::Constant *VTable = 0; in BuildStruct() local
598 VTable = CGM.getVTables().GetAddrOfVTable(CD); in BuildStruct()
600 Builder.Build(Val, RD, false, VTable, CD, CharUnits::Zero()); in BuildStruct()
DCGClass.cpp1482 llvm::Constant *VTable, in InitializeVTablePointer() argument
1507 Builder.CreateConstInBoundsGEP2_64(VTable, 0, AddressPoint); in InitializeVTablePointer()
1546 llvm::Constant *VTable, in InitializeVTablePointers() argument
1554 VTable, VTableClass); in InitializeVTablePointers()
1597 VTable, VTableClass, VBases); in InitializeVTablePointers()
1607 llvm::Constant *VTable = CGM.getVTables().GetAddrOfVTable(RD); in InitializeVTablePointers() local
1615 VTable, RD, VBases); in InitializeVTablePointers()
1621 llvm::Instruction *VTable = Builder.CreateLoad(VTablePtrSrc, "vtable"); in GetVTablePtr() local
1622 CGM.DecorateInstruction(VTable, CGM.getTBAAInfoForVTablePtr()); in GetVTablePtr()
1623 return VTable; in GetVTablePtr()
DCGVTables.h106 void EmitVTableDefinition(llvm::GlobalVariable *VTable,
DCGExprCXX.cpp1712 llvm::Value *VTable = CGF.GetVTablePtr(Value, PtrDiffLTy->getPointerTo()); in EmitDynamicCastCall() local
1716 CGF.Builder.CreateConstInBoundsGEP1_64(VTable, -2ULL); in EmitDynamicCastCall()
DCodeGenFunction.h1427 llvm::Constant *VTable,
1435 llvm::Constant *VTable,
/external/sqlite/dist/orig/
Dsqlite3.c8161 typedef struct VTable VTable; typedef
8479 VTable *pVtab; /* Used when p4type is P4_VTAB */
9788 VTable **aVTrans; /* Virtual tables with open transactions */
9789 VTable *pDisconnect; /* Disconnect these in next sqlite3_prepare() */
10134 struct VTable { struct
10141 VTable *pNext; /* Next in linked list (see above) */ argument
10195 VTable *pVTable; /* List of VTable objects. */
12002 # define sqlite3GetVTable(X,Y) ((VTable*)0)
12008 SQLITE_PRIVATE void sqlite3VtabLock(VTable *);
12009 SQLITE_PRIVATE void sqlite3VtabUnlock(VTable *);
[all …]
/external/sqlite/dist/
Dsqlite3.c8161 typedef struct VTable VTable; typedef
8479 VTable *pVtab; /* Used when p4type is P4_VTAB */
9788 VTable **aVTrans; /* Virtual tables with open transactions */
9789 VTable *pDisconnect; /* Disconnect these in next sqlite3_prepare() */
10134 struct VTable { struct
10141 VTable *pNext; /* Next in linked list (see above) */ argument
10195 VTable *pVTable; /* List of VTable objects. */
12002 # define sqlite3GetVTable(X,Y) ((VTable*)0)
12008 SQLITE_PRIVATE void sqlite3VtabLock(VTable *);
12009 SQLITE_PRIVATE void sqlite3VtabUnlock(VTable *);
[all …]