clang 24.0.0git
clang::CIRGen::CIRGenFunction::OMPHostEvalBoundsRAII Struct Reference

An RAII object to set (and then restore) ompHostEvalBounds for the extent of a nested loop directive's emission. More...

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

Public Member Functions

 OMPHostEvalBoundsRAII (CIRGenFunction &cgf, std::optional< OMPHostEvalBounds > newBounds)
 ~OMPHostEvalBoundsRAII ()

Public Attributes

CIRGenFunction & cgf
std::optional< OMPHostEvalBounds > oldBounds

Detailed Description

An RAII object to set (and then restore) ompHostEvalBounds for the extent of a nested loop directive's emission.

Definition at line 3001 of file CIRGenFunction.h.

Constructor & Destructor Documentation

◆ OMPHostEvalBoundsRAII()

clang::CIRGen::CIRGenFunction::OMPHostEvalBoundsRAII::OMPHostEvalBoundsRAII ( CIRGenFunction & cgf,
std::optional< OMPHostEvalBounds > newBounds )
inline

◆ ~OMPHostEvalBoundsRAII()

clang::CIRGen::CIRGenFunction::OMPHostEvalBoundsRAII::~OMPHostEvalBoundsRAII ( )
inline

Definition at line 3010 of file CIRGenFunction.h.

References cgf, and oldBounds.

Member Data Documentation

◆ cgf

CIRGenFunction& clang::CIRGen::CIRGenFunction::OMPHostEvalBoundsRAII::cgf

Definition at line 3002 of file CIRGenFunction.h.

Referenced by OMPHostEvalBoundsRAII(), and ~OMPHostEvalBoundsRAII().

◆ oldBounds

std::optional<OMPHostEvalBounds> clang::CIRGen::CIRGenFunction::OMPHostEvalBoundsRAII::oldBounds

Definition at line 3003 of file CIRGenFunction.h.

Referenced by OMPHostEvalBoundsRAII(), and ~OMPHostEvalBoundsRAII().


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