|
MLIR 24.0.0git
|
#include "mlir/Conversion/OpenACCToLLVM/ACCDataRuntime.h"#include "mlir/Conversion/OpenACCToLLVM/ACCToLLVMUtils.h"#include "mlir/Dialect/LLVMIR/LLVMDialect.h"#include "mlir/Dialect/OpenACC/Analysis/OpenACCSupport.h"#include "mlir/Dialect/OpenACC/OpenACC.h"#include "mlir/Dialect/OpenACC/OpenACCUtils.h"#include "mlir/Dialect/OpenACC/OpenACCUtilsCG.h"#include "mlir/Dialect/OpenACC/OpenACCUtilsType.h"#include "mlir/Transforms/DialectConversion.h"#include "llvm/ADT/STLExtras.h"#include "llvm/ADT/SmallVectorExtras.h"#include "llvm/Support/Debug.h"#include "llvm/Support/raw_ostream.h"#include <algorithm>Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "acc-data-runtime" |
Functions | |
| static Value | getPointer (Location loc, Value value, ConversionPatternRewriter &rewriter) |
| static Value | getIndirectPointer (Location loc, Value value, ConversionPatternRewriter &rewriter) |
Returns the address of a slot holding value, so that the runtime reads the value from memory rather than receiving it directly. | |
| static std::optional< MapFlags > | computePackedMapFlags (Operation *mapOp) |
| static Value | getElementSize (Operation *mapOp, OpenACCSupport &accSupport, ConversionPatternRewriter &rewriter) |
| static Value | getBoundValue (Value value, Location loc, ConversionPatternRewriter &rewriter) |
| #define DEBUG_TYPE "acc-data-runtime" |
Definition at line 30 of file ACCDataRuntime.cpp.
|
static |
Definition at line 160 of file ACCDataRuntime.cpp.
References mlir::acc::computeDataClauseMapFlags(), and mlir::acc::hasAttachPoint().
Referenced by mlir::emitACCDataRuntimeArgs().
Definition at line 236 of file ACCDataRuntime.cpp.
References mlir::acc::castToI64(), mlir::acc::constantI64(), and mlir::acc::remapOrSelf().
Referenced by mlir::createACCDataDescriptor().
|
static |
Definition at line 218 of file ACCDataRuntime.cpp.
References mlir::acc::constantI64(), mlir::Operation::getLoc(), mlir::acc::getMapElementSize(), mlir::Operation::getParentOfType(), mlir::acc::getTypeSizeAndAlignment(), and mlir::acc::getVarType().
Referenced by mlir::createACCArgumentDescriptor().
Returns the address of a slot holding value, so that the runtime reads the value from memory rather than receiving it directly.
Definition at line 55 of file ACCDataRuntime.cpp.
References mlir::Value::getType().
Definition at line 35 of file ACCDataRuntime.cpp.
References mlir::acc::castPointerLikeTypeIfNeeded(), and mlir::Value::getType().
Referenced by mlir::createACCArgumentDescriptor(), mlir::createACCMemRefDescriptorWrapperArg(), and mlir::emitACCDataRuntimeArgs().