MLIR 23.0.0git
Passes.h File Reference
#include "mlir/Dialect/Arith/IR/Arith.h"
#include "mlir/Dialect/MemRef/IR/MemRef.h"
#include "mlir/Dialect/OpenACC/OpenACC.h"
#include "mlir/Dialect/SCF/IR/SCF.h"
#include "mlir/Pass/Pass.h"
#include "mlir/Dialect/OpenACC/Transforms/Passes.h.inc"

Go to the source code of this file.

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::func
namespace  mlir::acc

Macros

#define GEN_PASS_DECL
#define GEN_PASS_REGISTRATION
 Generate the code for registering conversion passes.

Functions

void mlir::acc::populateACCSpecializeForDevicePatterns (RewritePatternSet &patterns)
 Populates all patterns for device specialization.
void mlir::acc::populateACCOrphanToHostPatterns (RewritePatternSet &patterns, OpenACCSupport &accSupport, bool enableLoopConversion=true)
 Populates patterns for converting orphan ACC operations to host.
void mlir::acc::populateACCHostFallbackPatterns (RewritePatternSet &patterns, OpenACCSupport &accSupport, bool enableLoopConversion=true)
 Populates all patterns for host fallback path (when if clause evaluates to false).

Macro Definition Documentation

◆ GEN_PASS_DECL

#define GEN_PASS_DECL

Definition at line 28 of file Passes.h.

◆ GEN_PASS_REGISTRATION

#define GEN_PASS_REGISTRATION

Generate the code for registering conversion passes.

Definition at line 61 of file Passes.h.