9#ifndef FORTRAN_TOOLS_POINTER_MODELS_H
10#define FORTRAN_TOOLS_POINTER_MODELS_H
12#include "mlir/Dialect/OpenACC/OpenACC.h"
13#include "mlir/Dialect/OpenMP/OpenMPDialect.h"
20 :
public mlir::omp::PointerLikeType::ExternalModel<
21 OpenMPPointerLikeModel<T>, T> {
22 mlir::Type getElementType(mlir::Type pointer)
const {
23 return mlir::cast<T>(pointer).getElementType();
29 :
public mlir::acc::PointerLikeType::ExternalModel<
30 OpenACCPointerLikeModel<T>, T> {
31 mlir::Type getElementType(mlir::Type pointer)
const {
32 return mlir::cast<T>(pointer).getElementType();
Definition: PointerModels.h:30
Definition: PointerModels.h:21