Lines Matching defs:VTable
237 /// to a vtable pointer from which the virtual offset is applied.
292 // vtable of the correct base subobject. The "function pointer" is an
293 // offset within the vtable (+1 for the virtual flag on non-ARM).
296 // Cast the adjusted this to a pointer to vtable pointer and load.
298 llvm::Value *VTable = Builder.CreateBitCast(This, VTableTy->getPointerTo());
299 VTable = Builder.CreateLoad(VTable, "memptr.vtable");
304 VTable = Builder.CreateGEP(VTable, VTableOffset);
307 VTable = Builder.CreateBitCast(VTable, FTy->getPointerTo()->getPointerTo());
308 llvm::Value *VirtualFn = Builder.CreateLoad(VTable, "memptr.virtualfn");
714 /// at entry -2 in the vtable.
718 // Grab the vtable pointer as an intptr_t*.
719 llvm::Value *vtable = CGF.GetVTablePtr(ptr, CGF.IntPtrTy->getPointerTo());
723 CGF.Builder.CreateConstInBoundsGEP1_64(vtable, -2, "complete-offset.ptr");