9#ifndef FORTRAN_SEMANTICS_CHECK_CUDA_H_
10#define FORTRAN_SEMANTICS_CHECK_CUDA_H_
12#include "flang/Semantics/semantics.h"
31namespace Fortran::semantics {
55 void Enter(
const parser::ScalarExpr &);
56 void Leave(
const parser::ScalarExpr &);
57 void Enter(
const parser::ScalarIntExpr &);
58 void Leave(
const parser::ScalarIntExpr &);
59 void Enter(
const parser::ScalarLogicalExpr &);
60 void Leave(
const parser::ScalarLogicalExpr &);
63 template <
typename A>
void EnterHostScalarExpr(
const A &);
66 int deviceConstructDepth_{0};
67 int hostScalarExprDepth_{0};
70bool CanonicalizeCUDA(parser::Program &);
Definition char-block.h:27
Definition semantics.h:71
Definition check-expression.h:19
Definition parse-tree.h:501
Definition parse-tree.h:2059
Definition parse-tree.h:6021
Definition parse-tree.h:2379
Definition parse-tree.h:534
Definition parse-tree.h:559
Definition parse-tree.h:3377
Definition parse-tree.h:2413
Definition parse-tree.h:592
Definition parse-tree.h:5934
Definition parse-tree.h:5956
Definition parse-tree.h:5975
Definition parse-tree.h:2836
Definition parse-tree.h:298
Definition parse-tree.h:3403
Definition parse-tree.h:3387
Definition semantics.h:511