HomeSort by relevance Sort by last modified time
    Searched refs:VTable (Results 1 - 20 of 20) sorted by null

  /external/clang/lib/CodeGen/
CGVTT.cpp 10 // This contains code dealing with C++ code generation of VTTs (vtable tables).
23 const VTTVTable &VTable,
26 if (VTable.getBase() == MostDerivedClass) {
27 assert(VTable.getBaseOffset().isZero() &&
28 "Most derived class vtable must have a zero offset!");
29 // This is a regular vtable.
34 VTable.getBaseSubobject(),
35 VTable.isVirtual(),
63 llvm::Constant *VTable = VTables[i->VTableIndex];
66 // Just get the address point for the regular vtable
    [all...]
CGCXX.cpp 282 llvm::Value *VTable = GetVTablePtr(This, Ty);
284 Builder.CreateConstInBoundsGEP1_64(VTable, VTableIndex, "vfn");
294 llvm::Value *VTable = CGM.getVTables().GetAddrOfVTable(RD);
296 VTable = CGF.Builder.CreateBitCast(VTable, Ty);
297 assert(VTable && "BuildVirtualCall = kext vtbl pointer is null");
304 CGF.Builder.CreateConstInBoundsGEP1_64(VTable, VTableIndex, "vfnkxt");
310 /// into the vtable.
330 /// BuildVirtualCall - This routine makes indirect vtable call for
CGVTables.cpp 90 // Load the adjustment offset from the vtable.
568 llvm_unreachable("Unexpected vtable component kind");
636 llvm::GlobalVariable *&VTable = VTables[RD];
637 if (VTable)
638 return VTable;
653 VTable =
656 VTable->setUnnamedAddr(true);
657 return VTable;
661 CodeGenVTables::EmitVTableDefinition(llvm::GlobalVariable *VTable,
673 VTable->setInitializer(Init)
    [all...]
CGVTables.h 40 /// VTableAddressPointsMapTy - Address points for a single vtable.
66 /// CreateVTableInitializer - Create a vtable initializer for the given record
68 /// \param Components - The vtable components; this is really an array of
94 /// GetAddrOfVTable - Get the address of the vtable for the given record decl.
97 /// EmitVTableDefinition - Emit the definition of the given vtable.
98 void EmitVTableDefinition(llvm::GlobalVariable *VTable,
102 /// GenerateConstructionVTable - Generate a construction vtable for the given
114 /// EmitVTTDefinition - Emit the definition of the given vtable.
124 /// vtable, the RTTI data structure (if RTTI is enabled) and the VTT
CGRTTI.cpp 40 /// BuildVTablePointer - Build the vtable pointer for the given type.
497 llvm::Constant *VTable =
503 // The vtable address point is 2.
505 VTable = llvm::ConstantExpr::getInBoundsGetElementPtr(VTable, Two);
506 VTable = llvm::ConstantExpr::getBitCast(VTable, CGM.Int8PtrTy);
508 Fields.push_back(VTable);
542 // Add the vtable pointer.
    [all...]
CGExprConstant.cpp 56 void AppendVTablePointer(BaseSubobject Base, llvm::Constant *VTable,
75 llvm::Constant *VTable, const CXXRecordDecl *VTableClass,
92 llvm::Constant *VTable,
94 // Find the appropriate vtable within the vtable group.
102 llvm::ConstantExpr::getInBoundsGetElementPtr(VTable, Indices);
104 // Add the vtable at the start of the object.
427 bool IsPrimaryBase, llvm::Constant *VTable,
433 // Add a vtable pointer, if we need one and it hasn't already been added.
435 AppendVTablePointer(BaseSubobject(CD, Offset), VTable, VTableClass)
    [all...]
ItaniumCXXABI.cpp 262 /// to a vtable pointer from which the virtual offset is applied.
316 // vtable of the correct base subobject. The "function pointer" is an
317 // offset within the vtable (+1 for the virtual flag on non-ARM).
320 // Cast the adjusted this to a pointer to vtable pointer and load.
322 llvm::Value *VTable = Builder.CreateBitCast(This, VTableTy->getPointerTo());
323 VTable = Builder.CreateLoad(VTable, "memptr.vtable");
329 VTable = Builder.CreateGEP(VTable, VTableOffset)
727 llvm::Value *vtable = CGF.GetVTablePtr(ptr, CGF.IntPtrTy->getPointerTo()); local
    [all...]
CGClass.cpp 186 // Skip over the offset (and the vtable load) if we're supposed to
358 /// way which requires the vtable to be properly set.
370 // external code might potentially access the vtable.
    [all...]
CGExprCXX.cpp 96 // When building with -fapple-kext, all calls must go through the vtable since
    [all...]
CodeGenFunction.h     [all...]
  /external/chromium_org/third_party/sqlite/src/src/
vtab.c 94 void sqlite3VtabLock(VTable *pVTab){
101 ** Return a pointer to the VTable object used by connection db to access
104 VTable *sqlite3GetVTable(sqlite3 *db, Table *pTab){
105 VTable *pVtab;
115 void sqlite3VtabUnlock(VTable *pVTab){
139 static VTable *vtabDisconnectAll(sqlite3 *db, Table *p){
140 VTable *pRet = 0;
141 VTable *pVTable = p->pVTable;
154 VTable *pNext = pVTable->pNext;
183 ** 2) By function vtabDisconnectAll(), when it adds a VTable entry t
    [all...]
vdbe.h 60 VTable *pVtab; /* Used when p4type is P4_VTAB */
sqliteInt.h 634 typedef struct VTable VTable;
    [all...]
alter.c 409 VTable *pVTab = 0; /* Non-zero if this is a v-tab with an xRename() */
vdbeaux.c 627 if( db->pnBytesFreed==0 ) sqlite3VtabUnlock((VTable *)p4);
758 sqlite3VtabLock((VTable *)zP4);
759 assert( ((VTable *)zP4)->db==p->db );
    [all...]
insert.c 141 VTable *pVTab = IsVirtual(pTab) ? sqlite3GetVTable(p->db, pTab) : 0;
    [all...]
vdbe.c     [all...]
  /external/sqlite/dist/orig/
sqlite3.c     [all...]
  /external/sqlite/dist/
sqlite3.c     [all...]
  /external/chromium_org/third_party/sqlite/amalgamation/
sqlite3.c     [all...]

Completed in 755 milliseconds