Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:VTT

290     // This constructor/destructor does not need a VTT parameter.
297 llvm::Value *VTT;
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 by name.
328 VTT = CGM.getVTables().GetAddrOfVTT(RD);
329 VTT = Builder.CreateConstInBoundsGEP2_64(VTT, 0, SubVTTIndex);
332 return VTT;
1729 // vtt
1730 if (llvm::Value *VTT = GetVTTParameter(GlobalDecl(Ctor, CtorType),
1734 DelegateArgs.add(RValue::get(VTT), VoidPP);
1737 assert(I != E && "cannot skip vtt parameter, already done with args");
1738 assert((*I)->getType() == VoidPP && "skipping parameter not of vtt type");
1804 llvm::Value *VTT = GetVTTParameter(GlobalDecl(DD, Type),
1816 VTT, getContext().getPointerType(getContext().VoidPtrTy),
1864 // Check if we need to use a vtable from the VTT.
1870 /// Load the VTT.
1871 llvm::Value *VTT = LoadCXXVTT();
1873 VTT = Builder.CreateConstInBoundsGEP1_64(VTT, VirtualPointerIndex);
1875 // And load the address point from the VTT.
1876 VTableAddressPoint = Builder.CreateLoad(VTT);