HomeSort by relevance Sort by last modified time
    Searched refs:VTT (Results 1 - 6 of 6) sorted by null

  /external/clang/lib/CodeGen/
CGVTT.cpp 43 CodeGenVTables::EmitVTTDefinition(llvm::GlobalVariable *VTT,
93 VTT->setInitializer(Init);
96 VTT->setLinkage(Linkage);
99 CGM.setTypeVisibility(VTT, RD, CodeGenModule::TVK_ForVTT);
103 assert(RD->getNumVBases() && "Only classes with virtual bases need a VTT");
111 // This will also defer the definition of the VTT.
CGVTables.h 84 /// needsVTTParameter - Return whether the given global decl needs a VTT
89 /// getSubVTTIndex - Return the index of the sub-VTT for the base class of the
93 /// getSecondaryVirtualPointerIndex - Return the index in the VTT where the
119 /// GetAddrOfVTable - Get the address of the VTT for the given record decl.
123 void EmitVTTDefinition(llvm::GlobalVariable *VTT,
132 /// rtti data structure and the VTT.
134 /// \param Linkage - The desired linkage of the vtable, the RTTI and the VTT.
CGClass.cpp 276 /// GetVTTParameter - Return the VTT parameter that should be passed to a
281 // This constructor/destructor does not need a VTT parameter.
288 llvm::Value *VTT;
296 "doing no-op VTT offset in base dtor/ctor?");
308 assert(SubVTTIndex != 0 && "Sub-VTT index must be greater than zero!");
312 // A VTT parameter was passed to the constructor, use it.
313 VTT = CGF.LoadCXXVTT();
314 VTT = CGF.Builder.CreateConstInBoundsGEP1_64(VTT, SubVTTIndex);
316 // We're the complete constructor, so get the VTT by name
    [all...]
CGVTables.cpp 722 llvm::GlobalVariable *VTT = GetAddrOfVTT(RD);
723 EmitVTTDefinition(VTT, Linkage, RD);
CGExprCXX.cpp 30 llvm::Value *VTT,
43 // If there is a VTT parameter, emit it.
44 if (VTT) {
46 Args.add(RValue::get(VTT), T);
280 return EmitCXXMemberCall(MD, Callee, ReturnValue, This, /*VTT=*/0,
347 return EmitCXXMemberCall(MD, Callee, ReturnValue, This, /*VTT=*/0,
    [all...]
CodeGenFunction.h     [all...]

Completed in 79 milliseconds