Lines Matching full:desc
43 /// │ sizeof(Block) │ Desc->getMetadataSize() │ Desc->getSize() │
46 /// Desc->getAllocSize() describes the size after the Block, i.e.
53 const Descriptor *Desc, bool IsStatic = false, bool IsExtern = false)
55 IsDynamic(false), Desc(Desc) { in EvalID()
56 assert(Desc); in EvalID()
59 Block(unsigned EvalID, const Descriptor *Desc, bool IsStatic = false,
62 IsExtern(IsExtern), IsDynamic(false), Desc(Desc) { in EvalID()
63 assert(Desc); in EvalID()
67 const Descriptor *getDescriptor() const { return Desc; } in getDescriptor()
75 bool isTemporary() const { return Desc->IsTemporary; } in isTemporary()
78 unsigned getSize() const { return Desc->getAllocSize(); } in getSize()
88 /// You are allowed to read Desc->getSize() bytes from this address.
91 size_t DataOffset = Desc->getMetadataSize(); in data()
96 size_t DataOffset = Desc->getMetadataSize(); in data()
101 /// You are allowed to read Desc->getAllocSize() bytes from this address.
112 std::memset(rawData(), 0, Desc->getAllocSize()); in invokeCtor()
113 if (Desc->CtorFn) in invokeCtor()
114 Desc->CtorFn(this, data(), Desc->IsConst, Desc->IsMutable, in invokeCtor()
115 /*isActive=*/true, Desc); in invokeCtor()
122 if (Desc->DtorFn) in invokeDtor()
123 Desc->DtorFn(this, data(), Desc); in invokeDtor()
136 Block(unsigned EvalID, const Descriptor *Desc, bool IsExtern, bool IsStatic, in Block() argument
139 IsDynamic(false), Desc(Desc) { in Block()
140 assert(Desc); in Block()
173 const Descriptor *Desc; variable