9#ifndef MLIR_DIALECT_OPENACC_TRANSFORMS_PASSES_H
10#define MLIR_DIALECT_OPENACC_TRANSFORMS_PASSES_H
18#include "llvm/ADT/SetVector.h"
31#include "mlir/Dialect/OpenACC/Transforms/Passes.h.inc"
59 bool enableLoopConversion =
true);
66 bool enableLoopConversion =
true);
69#define GEN_PASS_REGISTRATION
70#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.