clang 24.0.0git
clang::CIRGen::CIRGenFunction::DeferredLoopConditionCleanup Class Reference

Captures the destructor cleanup for a loop's condition variable so that it can be emitted into the loop op's per-iteration cleanup region. More...

#include "/work/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CIR/CodeGen/CIRGenFunction.h"

Classes

class  CaptureScope
 An RAII class that suppresses cir.cleanup.scope creation for cleanups pushed onto the EH stack while a loop condition variable is being emitted and instead captures these cleanups so that they can be emitted into the loop op's cleanup region after the condition region is built. More...

Public Member Functions

 DeferredLoopConditionCleanup (CIRGenFunction &cgf, bool active)
void emitIntoLoopCleanupRegion (mlir::Location loc)
 Emit the captured condition-variable cleanups into the current insertion point (the loop's cleanup region).

Detailed Description

Captures the destructor cleanup for a loop's condition variable so that it can be emitted into the loop op's per-iteration cleanup region.

Definition at line 1334 of file CIRGenFunction.h.

Constructor & Destructor Documentation

◆ DeferredLoopConditionCleanup()

clang::CIRGen::CIRGenFunction::DeferredLoopConditionCleanup::DeferredLoopConditionCleanup ( CIRGenFunction & cgf,
bool active )
inline

Member Function Documentation

◆ emitIntoLoopCleanupRegion()

void clang::CIRGen::CIRGenFunction::DeferredLoopConditionCleanup::emitIntoLoopCleanupRegion ( mlir::Location loc)
inline

Emit the captured condition-variable cleanups into the current insertion point (the loop's cleanup region).

Definition at line 1368 of file CIRGenFunction.h.


The documentation for this class was generated from the following file: