|
MLIR 23.0.0git
|
Classes | |
| struct | DeclareTargetDefaultModel |
| struct | DeviceTypeClauseOps |
| struct | OffloadModuleDefaultModel |
| struct | OffloadModuleOpts |
Typedefs | |
| using | HostEvaluatedOperands |
| Clauses that correspond to operations other than omp.target, but might have to be evaluated outside of a parent target region. | |
| 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. | |
Functions | |
| std::tuple< NewCliOp, OpOperand *, OpOperand * > | decodeCli (mlir::Value cli) |
| Find the omp.new_cli, generator, and consumer of a canonical loop info. | |
| static void | setOffloadModuleInterfaceAttributes (ModuleOp module, OffloadModuleOpts opts) |
| Sets OpenMP offload module interface attributes on a ModuleOp, shared between Flang and Clang (CIR) frontends. | |
| static void | setOpenMPVersionAttribute (ModuleOp module, int64_t version) |
| static int64_t | getOpenMPVersionAttribute (ModuleOp module, int64_t fallback=-1) |
| using mlir::omp::DeclareTargetOperands = detail::Clauses<DeviceTypeClauseOps> |
Definition at line 47 of file OpenMPClauseOperands.h.
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.
| using mlir::omp::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.
Definition at line 52 of file OpenMPClauseOperands.h.
| 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 3578 of file OpenMPDialect.cpp.
References mlir::Value::getContext(), mlir::Value::getDefiningOp(), mlir::Value::getType(), and mlir::Value::getUses().
Referenced by checkApplyeesNesting().
Definition at line 97 of file OpenMPOffloadUtils.h.
|
static |
Sets OpenMP offload module interface attributes on a ModuleOp, shared between Flang and Clang (CIR) frontends.
Definition at line 66 of file OpenMPOffloadUtils.h.
References mlir::omp::OffloadModuleOpts::NoGPULib, mlir::omp::OffloadModuleOpts::OMPHostIRFile, mlir::omp::OffloadModuleOpts::OMPTargetTriples, mlir::omp::OffloadModuleOpts::OpenMPForceUSM, mlir::omp::OffloadModuleOpts::OpenMPIsGPU, mlir::omp::OffloadModuleOpts::OpenMPIsTargetDevice, mlir::omp::OffloadModuleOpts::OpenMPNoNestedParallelism, mlir::omp::OffloadModuleOpts::OpenMPNoThreadState, mlir::omp::OffloadModuleOpts::OpenMPTargetDebug, mlir::omp::OffloadModuleOpts::OpenMPTeamSubscription, mlir::omp::OffloadModuleOpts::OpenMPThreadSubscription, and mlir::omp::OffloadModuleOpts::OpenMPVersion.
Definition at line 89 of file OpenMPOffloadUtils.h.