9#ifndef MLIR_DIALECT_OPENACC_TRANSFORMS_PASSES_H
10#define MLIR_DIALECT_OPENACC_TRANSFORMS_PASSES_H
17#include "llvm/ADT/SetVector.h"
30#include "mlir/Dialect/OpenACC/Transforms/Passes.h.inc"
58 bool enableLoopConversion =
true);
65 bool enableLoopConversion =
true);
68#define GEN_PASS_REGISTRATION
69#include "mlir/Dialect/OpenACC/Transforms/Passes.h.inc"
llvm::SmallSetVector< int64_t, 3 > TypesForDevice
Holds information for which integers represent a device type in the runtime.
void populateACCOrphanToHostPatterns(RewritePatternSet &patterns, OpenACCSupport &accSupport, bool enableLoopConversion=true)
Populates patterns for converting orphan ACC operations to host.
void populateACCHostFallbackPatterns(RewritePatternSet &patterns, OpenACCSupport &accSupport, bool enableLoopConversion=true)
Populates all patterns for host fallback path (when if clause evaluates to false).
void populateACCSpecializeForDevicePatterns(RewritePatternSet &patterns, const TypesForDevice &theDeviceTypes)
Populates all patterns for device specialization.
Include the generated interface declarations.