MLIR 24.0.0git
ACCDataDirectivePatterns.cpp File Reference

Go to the source code of this file.

Functions

static LogicalResult emitDataRuntimeCall (Location loc, RuntimeFunction fn, ValueRange mappingOperands, ValueRange convertedOperands, Value asyncQueue, ACCDataCallKind callKind, ConversionPatternRewriter &rewriter, OpenACCSupport &accSupport, Region &globalSymbolRegion, SymbolTable &symbolTable, const ACCRuntimeCallConfig &config)
 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.

Function Documentation

◆ emitDataRuntimeCall()

LogicalResult emitDataRuntimeCall ( Location loc,
RuntimeFunction fn,
ValueRange mappingOperands,
ValueRange convertedOperands,
Value asyncQueue,
ACCDataCallKind callKind,
ConversionPatternRewriter & rewriter,
OpenACCSupport & accSupport,
Region & globalSymbolRegion,
SymbolTable & symbolTable,
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 34 of file ACCDataDirectivePatterns.cpp.

References mlir::acc::createRuntimeCall(), mlir::emitACCDataRuntimeArgs(), mlir::ACCDataRuntimeArgs::getCallArgs(), and success().