|
MLIR 24.0.0git
|
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"#include "mlir/Dialect/OpenACC/OpenACC.h"#include "mlir/IR/Builders.h"#include "mlir/IR/BuiltinOps.h"#include "llvm/ADT/ArrayRef.h"#include "llvm/ADT/DenseMap.h"#include "llvm/ADT/StringRef.h"#include <cstdint>#include <functional>#include <string>#include "mlir/Dialect/OpenACC/OpenACCRuntimeFunctions.def"Go to the source code of this file.
Classes | |
| class | mlir::acc::ACCRuntimeCallConfig |
| Optional overrides for OpenACC to LLVM runtime lowering. More... | |
Namespaces | |
| namespace | mlir |
| Include the generated interface declarations. | |
| namespace | mlir::acc |
Macros | |
| #define | ACC_RTL(Enum, ...) |
Enumerations | |
| enum class | mlir::acc::RuntimeFunction |
| IDs for OpenACC compiler-to-runtime entry points (__tgt_acc_*). More... | |
Functions | |
| StringRef | mlir::acc::getRuntimeFunctionName (RuntimeFunction fn) |
Returns the default runtime symbol name for fn. | |
| LLVM::LLVMFunctionType | mlir::acc::getRuntimeFunctionType (MLIRContext *ctx, RuntimeFunction fn) |
Builds the LLVM function type for fn in ctx. | |
| void | mlir::acc::populateDialectIdentityDeviceTypeMapping (ACCRuntimeCallConfig &config) |
| Install a device-type mapping that uses OpenACC dialect enum ordinals as the runtime encoding. | |
| FailureOr< LLVM::CallOp > | mlir::acc::createRuntimeCall (Location loc, OpBuilder &builder, ModuleOp module, RuntimeFunction fn, const ACCRuntimeCallConfig &config, ArrayRef< Value > arguments) |
Declares (if needed) and returns a call to the runtime function identified by fn using the name from config. | |
| #define ACC_RTL | ( | Enum, | |
| ... ) |
Definition at line 34 of file OpenACCRuntimeUtils.h.