Searched refs:VTT (Results 1 - 4 of 4) sorted by relevance

/external/clang/lib/CodeGen/
H A DCGVTT.cpp41 CodeGenVTables::EmitVTTDefinition(llvm::GlobalVariable *VTT, argument
90 VTT->setInitializer(Init);
93 VTT->setLinkage(Linkage);
96 CGM.setTypeVisibility(VTT, RD, CodeGenModule::TVK_ForVTT);
100 assert(RD->getNumVBases() && "Only classes with virtual bases need a VTT");
108 // This will also defer the definition of the VTT.
H A DCGVTables.h81 /// getSubVTTIndex - Return the index of the sub-VTT for the base class of the
85 /// getSecondaryVirtualPointerIndex - Return the index in the VTT where the
111 /// GetAddrOfVTable - Get the address of the VTT for the given record decl.
115 void EmitVTTDefinition(llvm::GlobalVariable *VTT,
124 /// vtable, the RTTI data structure (if RTTI is enabled) and the VTT
H A DCGClass.cpp290 // This constructor/destructor does not need a VTT parameter.
297 llvm::Value *VTT; local
302 // If this is a delegating constructor call, just load the VTT.
308 "doing no-op VTT offset in base dtor/ctor?");
319 assert(SubVTTIndex != 0 && "Sub-VTT index must be greater than zero!");
323 // A VTT parameter was passed to the constructor, use it.
324 VTT = LoadCXXVTT();
325 VTT = Builder.CreateConstInBoundsGEP1_64(VTT, SubVTTIndex);
327 // We're the complete constructor, so get the VTT b
1804 llvm::Value *VTT = GetVTTParameter(GlobalDecl(DD, Type), local
1871 llvm::Value *VTT = LoadCXXVTT(); local
[all...]
H A DItaniumCXXABI.cpp761 /// The generic ABI passes 'this', plus a VTT if it's initializing a
772 // Check if we need to add a VTT parameter (which has type void **).
793 /// The generic ABI passes 'this', plus a VTT if it's destroying a
804 // Check if we need to add a VTT parameter (which has type void **).
834 // Check if we need a VTT parameter as well.
878 llvm::Value *VTT = CGF.GetVTTParameter(GlobalDecl(D, Type), ForVirtualBase, local
885 This, VTT, VTTTy, ArgBeg, ArgEnd);
908 llvm::GlobalVariable *VTT = VTables.GetAddrOfVTT(RD); local
909 VTables.EmitVTTDefinition(VTT, Linkage, RD);
1434 /// Return whether the given global decl needs a VTT paramete
[all...]

Completed in 159 milliseconds