MLIR
20.0.0git
|
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 () | |
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 1242 of file OpenMPToLLVMIRTranslation.cpp.
|
inline |
Definition at line 1244 of file OpenMPToLLVMIRTranslation.cpp.
References mlir::replaceAllUsesInRegionWith().
|
inline |
Definition at line 1256 of file OpenMPToLLVMIRTranslation.cpp.
References mlir::replaceAllUsesInRegionWith().