MLIR  19.0.0git
Public Member Functions | List of all members
OmpParallelOpConversionManager Class Reference

A RAII class that on construction replaces the region arguments of the parallel op (which correspond to private variables) with the actual private variables they correspond to. More...

Public Member Functions

 OmpParallelOpConversionManager (omp::ParallelOp opInst)
 
 ~OmpParallelOpConversionManager ()
 

Detailed Description

A RAII class that on construction replaces the region arguments of the parallel op (which correspond to private variables) with the actual private variables they correspond to.

This prepares the parallel op so that it matches what is expected by the OMPIRBuilder.

On destruction, it restores the original state of the operation so that on the MLIR side, the op is not affected by conversion to LLVM IR.

Definition at line 1135 of file OpenMPToLLVMIRTranslation.cpp.

Constructor & Destructor Documentation

◆ OmpParallelOpConversionManager()

OmpParallelOpConversionManager::OmpParallelOpConversionManager ( omp::ParallelOp  opInst)
inline

◆ ~OmpParallelOpConversionManager()

OmpParallelOpConversionManager::~OmpParallelOpConversionManager ( )
inline

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