Searched refs:VTT (Results 1 - 6 of 6) 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.h84 /// 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.
H A DCGClass.cpp282 /// GetVTTParameter - Return the VTT parameter that should be passed to a
287 // This constructor/destructor does not need a VTT parameter.
294 llvm::Value *VTT; local
302 "doing no-op VTT offset in base dtor/ctor?");
314 assert(SubVTTIndex != 0 && "Sub-VTT index must be greater than zero!");
318 // A VTT parameter was passed to the constructor, use it.
319 VTT = CGF.LoadCXXVTT();
320 VTT = CGF.Builder.CreateConstInBoundsGEP1_64(VTT, SubVTTIndex);
322 // We're the complete constructor, so get the VTT b
1268 llvm::Value *VTT = GetVTTParameter(*this, GlobalDecl(D, Type), ForVirtualBase); local
1413 llvm::Value *VTT = GetVTTParameter(*this, GlobalDecl(DD, Type), local
1497 llvm::Value *VTT = LoadCXXVTT(); local
[all...]
H A DCGVTables.cpp721 llvm::GlobalVariable *VTT = GetAddrOfVTT(RD); local
722 EmitVTTDefinition(VTT, Linkage, RD);
H A DCGExprCXX.cpp30 llvm::Value *VTT,
47 // If there is a VTT parameter, emit it.
48 if (VTT) {
50 Args.add(RValue::get(VTT), T);
315 return EmitCXXMemberCall(MD, Callee, ReturnValue, This, /*VTT=*/0,
386 return EmitCXXMemberCall(MD, Callee, ReturnValue, This, /*VTT=*/0,
1398 CGF.EmitCXXMemberCall(Dtor, Callee, ReturnValueSlot(), Ptr, /*VTT=*/0,
26 EmitCXXMemberCall(const CXXMethodDecl *MD, llvm::Value *Callee, ReturnValueSlot ReturnValue, llvm::Value *This, llvm::Value *VTT, CallExpr::const_arg_iterator ArgBeg, CallExpr::const_arg_iterator ArgEnd) argument
H A DCodeGenFunction.h1180 /// VTT parameter.
1746 /// LoadCXXVTT - Load the VTT parameter to base constructors/destructors have
1749 assert(CXXVTTValue && "no VTT value for this function");
2255 llvm::Value *VTT,

Completed in 2693 milliseconds