Lines Matching refs:Ctx
31 LabelScope(ByteCodeStmtGen<Emitter> *Ctx) : Ctx(Ctx) {} in LabelScope() argument
33 ByteCodeStmtGen<Emitter> *Ctx; member in clang::interp::LabelScope
42 LoopScope(ByteCodeStmtGen<Emitter> *Ctx, LabelTy BreakLabel, in LoopScope() argument
44 : LabelScope<Emitter>(Ctx), OldBreakLabel(Ctx->BreakLabel), in LoopScope()
45 OldContinueLabel(Ctx->ContinueLabel) { in LoopScope()
46 this->Ctx->BreakLabel = BreakLabel; in LoopScope()
47 this->Ctx->ContinueLabel = ContinueLabel; in LoopScope()
51 this->Ctx->BreakLabel = OldBreakLabel; in ~LoopScope()
52 this->Ctx->ContinueLabel = OldContinueLabel; in ~LoopScope()
67 SwitchScope(ByteCodeStmtGen<Emitter> *Ctx, CaseMap &&CaseLabels, in SwitchScope() argument
69 : LabelScope<Emitter>(Ctx), OldBreakLabel(Ctx->BreakLabel), in SwitchScope()
70 OldDefaultLabel(this->Ctx->DefaultLabel), in SwitchScope()
71 OldCaseLabels(std::move(this->Ctx->CaseLabels)) { in SwitchScope()
72 this->Ctx->BreakLabel = BreakLabel; in SwitchScope()
73 this->Ctx->DefaultLabel = DefaultLabel; in SwitchScope()
74 this->Ctx->CaseLabels = std::move(CaseLabels); in SwitchScope()
78 this->Ctx->BreakLabel = OldBreakLabel; in ~SwitchScope()
79 this->Ctx->DefaultLabel = OldDefaultLabel; in ~SwitchScope()
80 this->Ctx->CaseLabels = std::move(OldCaseLabels); in ~SwitchScope()