Lines Matching refs:Local
301 llvm::DenseMap<const ValueDecl *, Scope::Local> Locals;
339 void add(const Scope::Local &Local, bool IsExtended) { in add() argument
341 this->addExtended(Local); in add()
343 this->addLocal(Local); in add()
346 virtual void addLocal(const Scope::Local &Local) { in addLocal() argument
348 this->Parent->addLocal(Local); in addLocal()
351 virtual void addExtended(const Scope::Local &Local) { in addExtended() argument
353 this->Parent->addExtended(Local); in addExtended()
388 void addLocal(const Scope::Local &Local) override { in addLocal() argument
394 this->Ctx->Descriptors[*Idx].emplace_back(Local); in addLocal()
402 for (Scope::Local &Local : this->Ctx->Descriptors[*Idx]) { in emitDestructors()
403 if (!Local.Desc->isPrimitive() && !Local.Desc->isPrimitiveArray()) { in emitDestructors()
404 this->Ctx->emitGetPtrLocal(Local.Offset, SourceInfo{}); in emitDestructors()
405 this->Ctx->emitRecordDestruction(Local.Desc); in emitDestructors()
443 void addExtended(const Scope::Local &Local) override { in addExtended() argument
447 this->addLocal(Local); in addExtended()
457 void addExtended(const Scope::Local &Local) override { in addExtended() argument
459 this->Parent->addLocal(Local); in addExtended()