Lines Matching defs:VTable
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);
676 VTable->setLinkage(Linkage);
679 CGM.setTypeVisibility(VTable, RD, CodeGenModule::TVK_ForVTable);
696 // Get the mangled construction vtable name.
708 // Construction vtable symbols are not part of the Itanium ABI, so we cannot
711 // linkage construction vtable. The ABI only requires complete-object vtables
716 // Create the variable that will hold the construction vtable.
717 llvm::GlobalVariable *VTable =
719 CGM.setTypeVisibility(VTable, RD, CodeGenModule::TVK_ForConstructionVTable);
722 VTable->setUnnamedAddr(true);
731 VTable->setInitializer(Init);
733 return VTable;
748 // linkage of the vtable.
833 llvm::GlobalVariable *VTable = GetAddrOfVTable(RD);
834 if (VTable->hasInitializer())
838 EmitVTableDefinition(VTable, Linkage, RD);
857 /// rely on the vtable being defined elsewhere in the program?
867 assert(RD->isDynamicClass() && "Non dynamic classes have no VTable.");