MLIR 23.0.0git
OpenMPDialect.h File Reference
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
#include "mlir/Dialect/OpenACCMPCommon/Interfaces/AtomicInterfaces.h"
#include "mlir/Dialect/OpenACCMPCommon/Interfaces/OpenACCMPOpsInterfaces.h"
#include "mlir/Dialect/OpenMP/OpenMPInterfaces.h"
#include "mlir/IR/Dialect.h"
#include "mlir/IR/OpDefinition.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/IR/SymbolTable.h"
#include "mlir/Interfaces/ControlFlowInterfaces.h"
#include "mlir/Interfaces/SideEffectInterfaces.h"
#include "llvm/Frontend/OpenMP/OMPDeviceConstants.h"
#include "mlir/Dialect/OpenMP/OpenMPOpsTypes.h.inc"
#include "mlir/Dialect/OpenMP/OpenMPOpsDialect.h.inc"
#include "mlir/Dialect/OpenMP/OpenMPClauseOperands.h"
#include "mlir/Dialect/OpenMP/OpenMPTypeInterfaces.h.inc"
#include "mlir/Dialect/OpenMP/OpenMPOps.h.inc"

Go to the source code of this file.

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::omp

Macros

#define GET_TYPEDEF_CLASSES
#define GET_OP_CLASSES
#define OMP_LOOP_WRAPPER_OPS
 Operations implementing LoopWrapperInterface.
#define OMP_OUTLINEABLE_OPS
 Operations implementing OutlineableOpenMPOpInterface.

Functions

std::tuple< NewCliOp, OpOperand *, OpOperand * > mlir::omp::decodeCli (mlir::Value cli)
 Find the omp.new_cli, generator, and consumer of a canonical loop info.

Macro Definition Documentation

◆ GET_OP_CLASSES

#define GET_OP_CLASSES

Definition at line 37 of file OpenMPDialect.h.

◆ GET_TYPEDEF_CLASSES

#define GET_TYPEDEF_CLASSES

Definition at line 28 of file OpenMPDialect.h.

◆ OMP_LOOP_WRAPPER_OPS

#define OMP_LOOP_WRAPPER_OPS
Value:
mlir::omp::WorkshareLoopWrapperOp, mlir::omp::LoopOp, mlir::omp::WsloopOp, \
mlir::omp::SimdOp, mlir::omp::DistributeOp, mlir::omp::TaskloopOp

Operations implementing LoopWrapperInterface.

Definition at line 41 of file OpenMPDialect.h.

◆ OMP_OUTLINEABLE_OPS

#define OMP_OUTLINEABLE_OPS
Value:
mlir::omp::ParallelOp, mlir::omp::TeamsOp, mlir::omp::TaskOp, \
mlir::omp::TargetOp

Operations implementing OutlineableOpenMPOpInterface.

Definition at line 46 of file OpenMPDialect.h.