Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:VTable

83     // Load the adjustment offset from the vtable.
549 llvm_unreachable("Unexpected vtable component kind");
617 llvm::GlobalVariable *&VTable = VTables[RD];
618 if (VTable)
619 return VTable;
634 VTable =
637 VTable->setUnnamedAddr(true);
638 return VTable;
642 CodeGenVTables::EmitVTableDefinition(llvm::GlobalVariable *VTable,
654 VTable->setInitializer(Init);
657 VTable->setLinkage(Linkage);
660 CGM.setTypeVisibility(VTable, RD, CodeGenModule::TVK_ForVTable);
677 // Get the mangled construction vtable name.
689 // Construction vtable symbols are not part of the Itanium ABI, so we cannot
692 // linkage construction vtable. The ABI only requires complete-object vtables
697 // Create the variable that will hold the construction vtable.
698 llvm::GlobalVariable *VTable =
700 CGM.setTypeVisibility(VTable, RD, CodeGenModule::TVK_ForConstructionVTable);
703 VTable->setUnnamedAddr(true);
712 VTable->setInitializer(Init);
714 return VTable;
729 // linkage of the vtable.
808 llvm::GlobalVariable *VTable = GetAddrOfVTable(RD);
809 if (VTable->hasInitializer())
813 EmitVTableDefinition(VTable, Linkage, RD);
838 /// rely on the vtable being defined elsewhere in the program?
848 assert(RD->isDynamicClass() && "Non dynamic classes have no VTable.");