Searched defs:VTT (Results 1 - 3 of 3) sorted by relevance

/external/clang/lib/CodeGen/
H A DCGVTT.cpp42 CodeGenVTables::EmitVTTDefinition(llvm::GlobalVariable *VTT, argument
92 VTT->setInitializer(Init);
95 VTT->setLinkage(Linkage);
97 if (CGM.supportsCOMDAT() && VTT->isWeakForLinker())
98 VTT->setComdat(CGM.getModule().getOrInsertComdat(VTT->getName()));
101 CGM.setGlobalVisibility(VTT, RD);
105 assert(RD->getNumVBases() && "Only classes with virtual bases need a VTT");
113 // This will also defer the definition of the VTT.
H A DCGClass.cpp429 // This constructor/destructor does not need a VTT parameter.
436 llvm::Value *VTT; local
441 // If this is a delegating constructor call, just load the VTT.
447 "doing no-op VTT offset in base dtor/ctor?");
458 assert(SubVTTIndex != 0 && "Sub-VTT index must be greater than zero!");
462 // A VTT parameter was passed to the constructor, use it.
463 VTT = LoadCXXVTT();
464 VTT = Builder.CreateConstInBoundsGEP1_64(VTT, SubVTTIndex);
466 // We're the complete constructor, so get the VTT b
[all...]
H A DItaniumCXXABI.cpp1347 // All parameters are already in place except VTT, which goes after 'this'.
1350 // Check if we need to add a VTT parameter (which has type void **).
1378 // Check if we need a VTT parameter as well.
1421 llvm::Value *VTT =
1425 CallArg(RValue::get(VTT), VTTTy, /*needscopy=*/false));
1434 llvm::Value *VTT = CGF.GetVTTParameter(GD, ForVirtualBase, Delegating); local
1445 This.getPointer(), VTT, VTTTy, nullptr);
1537 NeedsVTTParameter(CGF.CurGD) && "This class doesn't have VTT");
1543 /// Load the VTT.
1544 llvm::Value *VTT local
1633 llvm::GlobalVariable *VTT = VTables.GetAddrOfVTT(RD); local
[all...]

Completed in 527 milliseconds