MLIR 24.0.0git
ACCToLLVM.h File Reference
#include "mlir/Dialect/OpenACC/OpenACCRuntimeUtils.h"
#include <functional>
#include <memory>
#include "mlir/Conversion/Passes.h.inc"

Go to the source code of this file.

Namespaces

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

Macros

#define GEN_PASS_DECL_CONVERTACCTOLLVMPASS

Typedefs

using mlir::ACCAtomicLoadAddressCallback = std::function<Value(Operation *)>
 Returns the address operand of a dialect-specific load operation.

Functions

void mlir::configureACCExecutableDirectiveConversionLegality (ConversionTarget &target)
 Configure conversion legality for OpenACC executable directives lowered to runtime calls.
void mlir::populateACCExecutableDirectivePatterns (LLVMTypeConverter &converter, RewritePatternSet &patterns, const acc::ACCRuntimeCallConfig &config={})
 Populate patterns that lower OpenACC executable directives (init, shutdown, wait, set) to LLVM runtime calls.
void mlir::configureACCAtomicConversionLegality (ConversionTarget &target)
 Configure conversion legality for OpenACC atomic operations.
void mlir::populateACCAtomicPatterns (const LLVMTypeConverter &converter, RewritePatternSet &patterns, acc::OpenACCSupport &accSupport, ACCAtomicLoadAddressCallback getLoadAddress={})
 Populate patterns that lower OpenACC atomic operations to LLVM dialect.

Macro Definition Documentation

◆ GEN_PASS_DECL_CONVERTACCTOLLVMPASS

#define GEN_PASS_DECL_CONVERTACCTOLLVMPASS

Definition at line 29 of file ACCToLLVM.h.