HomeSort by relevance Sort by last modified time
    Searched defs:VTable (Results 1 - 10 of 10) 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 297 llvm::Value *VTable = CGF.GetVTablePtr(This, Ty);
299 CGF.Builder.CreateConstInBoundsGEP1_64(VTable, VTableIndex, "vfn");
314 /// into the vtable.
319 llvm::Value *VTable = 0;
332 VTable = CGM.getVTables().GetAddrOfVTable(RD);
334 VTable = Builder.CreateBitCast(VTable, Ty);
335 assert(VTable && "BuildVirtualCall = kext vtbl pointer is null");
343 Builder.CreateConstInBoundsGEP1_64(VTable, VTableIndex, "vfnkxt");
347 /// BuildVirtualCall - This routine makes indirect vtable call fo
    [all...]
CGVTables.cpp 35 assert(RD->isDynamicClass() && "Non dynamic classes have no VTable.");
109 // Load the adjustment offset from the vtable.
557 llvm_unreachable("Unexpected vtable component kind");
615 llvm::GlobalVariable *&VTable = VTables[RD];
616 if (VTable)
617 return VTable;
619 // We may need to generate a definition for this vtable.
633 VTable =
636 VTable->setUnnamedAddr(true);
637 return VTable;
    [all...]
CGRTTI.cpp 40 /// BuildVTablePointer - Build the vtable pointer for the given type.
482 llvm::Constant *VTable =
488 // The vtable address point is 2.
490 VTable = llvm::ConstantExpr::getInBoundsGetElementPtr(VTable, Two);
491 VTable = llvm::ConstantExpr::getBitCast(VTable, CGM.Int8PtrTy);
493 Fields.push_back(VTable);
513 // forces the vtable to be generated, we need to change the linkage of the
580 // Add the vtable pointer
    [all...]
ItaniumCXXABI.cpp 204 /// to a vtable pointer from which the virtual offset is applied.
259 // vtable of the correct base subobject. The "function pointer" is an
260 // offset within the vtable (+1 for the virtual flag on non-ARM).
263 // Cast the adjusted this to a pointer to vtable pointer and load.
265 llvm::Value *VTable = Builder.CreateBitCast(This, VTableTy->getPointerTo());
266 VTable = Builder.CreateLoad(VTable, "memptr.vtable");
271 VTable = Builder.CreateGEP(VTable, VTableOffset)
    [all...]
CGClass.cpp 345 /// way which requires the vtable to be properly set.
357 // external code might potentially access the vtable.
861 /// any vtable pointers before calling this destructor.
    [all...]
CGExprCXX.cpp 114 // When building with -fapple-kext, all calls must go through the vtable since
    [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.
446 bool IsPrimaryBase, llvm::Constant *VTable,
452 // Add a vtable pointer, if we need one and it hasn't already been added.
454 AppendVTablePointer(BaseSubobject(CD, Offset), VTable, VTableClass)
    [all...]
  /external/sqlite/dist/orig/
sqlite3.c     [all...]
  /external/sqlite/dist/
sqlite3.c     [all...]

Completed in 617 milliseconds