Lines Matching defs:Desc

56   Descriptor *Desc =
65 unsigned Sz = Desc->getAllocSize();
66 auto *G = new (Allocator, Sz) Global(Ctx.getEvalID(), Desc, /*isStatic=*/true,
70 new (G->block()->rawData()) InlineDescriptor(Desc);
156 Descriptor *Desc;
158 Desc = createDescriptor(VD, *T, std::nullopt, true, false);
160 Desc = createDescriptor(VD, QT.getTypePtr(), std::nullopt, true, false);
161 if (!Desc)
162 Desc = allocateDescriptor(VD);
164 assert(Desc);
165 Desc->makeDummy();
167 assert(Desc->isDummy());
172 auto *G = new (Allocator, Desc->getAllocSize())
173 Global(Ctx.getEvalID(), getCurrentDecl(), Desc, /*IsStatic=*/true,
219 Descriptor *Desc;
223 Desc = createDescriptor(D, *T, Descriptor::GlobalMD, IsConst, IsTemporary);
225 Desc = createDescriptor(D, Ty.getTypePtr(), Descriptor::GlobalMD, IsConst,
228 if (!Desc)
234 auto *G = new (Allocator, Desc->getAllocSize())
235 Global(Ctx.getEvalID(), getCurrentDecl(), Desc, IsStatic, IsExtern);
302 const Descriptor *Desc = GetBaseDesc(BD, BR);
303 if (!Desc)
307 Bases.push_back({BD, BaseSize, Desc, BR});
319 const Descriptor *Desc = GetBaseDesc(BD, BR);
320 if (!Desc)
324 VirtBases.push_back({BD, VirtSize, Desc, BR});
343 const Descriptor *Desc;
345 Desc = createDescriptor(FD, *T, std::nullopt, IsConst,
348 Desc = createDescriptor(FD, FT.getTypePtr(), std::nullopt, IsConst,
351 if (!Desc)
353 Fields.push_back({FD, BaseSize, Desc});
354 BaseSize += align(Desc->getAllocSize());
413 const Descriptor *Desc = createDescriptor(D, ElemTy.getTypePtr(),
415 if (!Desc)
417 return allocateDescriptor(D, Desc, MDSize, IsTemporary,