Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:VTable

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);
332 VTable = Builder.CreateBitCast(VTable, FTy->getPointerTo()->getPointerTo());
333 llvm::Value *VirtualFn = Builder.CreateLoad(VTable, "memptr.virtualfn");
722 /// at entry -2 in the vtable.
726 // Grab the vtable pointer as an intptr_t*.
727 llvm::Value *vtable = CGF.GetVTablePtr(ptr, CGF.IntPtrTy->getPointerTo());
731 CGF.Builder.CreateConstInBoundsGEP1_64(vtable, -2, "complete-offset.ptr");