|
MLIR 24.0.0git
|
#include "mlir/Conversion/OpenACCToLLVM/ACCDataRuntime.h"#include "mlir/Conversion/OpenACCToLLVM/ACCToLLVM.h"#include "mlir/Conversion/OpenACCToLLVM/ACCToLLVMUtils.h"#include "mlir/Conversion/LLVMCommon/Pattern.h"#include "mlir/Dialect/LLVMIR/LLVMDialect.h"#include "mlir/Dialect/OpenACC/Analysis/OpenACCSupport.h"#include "mlir/Dialect/OpenACC/OpenACC.h"#include "mlir/Dialect/OpenACC/OpenACCUtilsCG.h"#include "mlir/Interfaces/FunctionInterfaces.h"Go to the source code of this file.
Functions | |
| static LogicalResult | emitDataRuntimeCall (Location loc, RuntimeFunction fn, ValueRange mappingOperands, ValueRange convertedOperands, ACCDataCallKind callKind, ConversionPatternRewriter &rewriter, OpenACCSupport &accSupport, Region &globalSymbolRegion, SymbolTable &symbolTable, const ACCRuntimeCallConfig &config, ArrayRef< Value > trailingArguments) |
Emits the call to the mapping entry point fn for mappingOperands, the data-clause operands of a data construct, paired with their type converted values in convertedOperands. | |
| static DeclareActionAttr | getEnclosingDeclareAction (Operation *op) |
Returns the action that the declare-action recipe holding op carries out, which the recipe states by naming itself in the matching slot of its acc.declare_action attribute. | |
| static Value | getDeclareAsyncQueue (Location loc, ConversionPatternRewriter &rewriter, const ACCRuntimeCallConfig &config) |
|
static |
Emits the call to the mapping entry point fn for mappingOperands, the data-clause operands of a data construct, paired with their type converted values in convertedOperands.
Definition at line 36 of file ACCDataDirectivePatterns.cpp.
References mlir::emitACCDataRuntimeCall(), and options.
|
static |
Definition at line 62 of file ACCDataDirectivePatterns.cpp.
References mlir::acc::ACCRuntimeCallConfig::getAsyncSyncRuntimeValue().
|
static |
Returns the action that the declare-action recipe holding op carries out, which the recipe states by naming itself in the matching slot of its acc.declare_action attribute.
Returns a null attribute when op is not in such a recipe.
Definition at line 53 of file ACCDataDirectivePatterns.cpp.
References mlir::acc::getDeclareActionAttrName(), and mlir::Operation::getParentOfType().