MLIR  22.0.0git
Classes | Typedefs | Functions
mlir::omp Namespace Reference

Classes

struct  DeviceTypeClauseOps
 
struct  OffloadModuleDefaultModel
 
struct  DeclareTargetDefaultModel
 

Typedefs

using HostEvaluatedOperands = detail::Clauses< LoopRelatedClauseOps, NumTeamsClauseOps, NumThreadsClauseOps, ThreadLimitClauseOps >
 Clauses that correspond to operations other than omp.target, but might have to be evaluated outside of a parent target region. More...
 
using DeclareTargetOperands = detail::Clauses< DeviceTypeClauseOps >
 
using TargetEnterExitUpdateDataOperands = TargetEnterDataOperands
 omp.target_enter_data, omp.target_exit_data and omp.target_update take the same clauses, so we give the structure to be shared by all of them a representative name. More...
 

Functions

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

Typedef Documentation

◆ DeclareTargetOperands

using mlir::omp::DeclareTargetOperands = typedef detail::Clauses<DeviceTypeClauseOps>

Definition at line 47 of file OpenMPClauseOperands.h.

◆ HostEvaluatedOperands

using mlir::omp::HostEvaluatedOperands = typedef detail::Clauses<LoopRelatedClauseOps, NumTeamsClauseOps, NumThreadsClauseOps, ThreadLimitClauseOps>

Clauses that correspond to operations other than omp.target, but might have to be evaluated outside of a parent target region.

Definition at line 42 of file OpenMPClauseOperands.h.

◆ TargetEnterExitUpdateDataOperands

using mlir::omp::TargetEnterExitUpdateDataOperands = typedef TargetEnterDataOperands

omp.target_enter_data, omp.target_exit_data and omp.target_update take the same clauses, so we give the structure to be shared by all of them a representative name.

Definition at line 52 of file OpenMPClauseOperands.h.

Function Documentation

◆ decodeCli()

std::tuple< NewCliOp, OpOperand *, OpOperand * > mlir::omp::decodeCli ( mlir::Value  cli)

Find the omp.new_cli, generator, and consumer of a canonical loop info.

Definition at line 3037 of file OpenMPDialect.cpp.

References mlir::get(), mlir::Value::getContext(), mlir::Value::getDefiningOp(), mlir::Value::getType(), and mlir::Value::getUses().