13#ifndef FLANG_OPTIMIZER_OPENACC_FIROPENACCTYPEINTERFACES_H_
14#define FLANG_OPTIMIZER_OPENACC_FIROPENACCTYPEINTERFACES_H_
16#include "flang/Optimizer/Dialect/FIRType.h"
17#include "mlir/Dialect/OpenACC/OpenACC.h"
23 :
public mlir::acc::MappableType::ExternalModel<OpenACCMappableModel<T>,
25 mlir::TypedValue<mlir::acc::PointerLikeType> getVarPtr(::mlir::Type type,
26 mlir::Value var)
const;
28 std::optional<llvm::TypeSize>
29 getSizeInBytes(mlir::Type type, mlir::Value var, mlir::ValueRange accBounds,
30 const mlir::DataLayout &dataLayout)
const;
32 std::optional<int64_t>
33 getOffsetInBytes(mlir::Type type, mlir::Value var, mlir::ValueRange accBounds,
34 const mlir::DataLayout &dataLayout)
const;
37 generateAccBounds(mlir::Type type, mlir::Value var,
38 mlir::OpBuilder &builder)
const;
Definition: FIROpenACCTypeInterfaces.h:24