/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
|
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...] |
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...] |
CGExprCXX.cpp | 96 // 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. 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...] |
/external/chromium_org/third_party/sqlite/src/src/ |
sqliteInt.h | 634 typedef struct VTable VTable; [all...] |
/external/chromium_org/third_party/sqlite/amalgamation/ |
sqlite3.c | [all...] |
/external/sqlite/dist/orig/ |
sqlite3.c | [all...] |
/external/sqlite/dist/ |
sqlite3.c | [all...] |