add_flang_library(FortranSemantics assignment.cpp attr.cpp canonicalize-acc.cpp canonicalize-do.cpp canonicalize-omp.cpp check-acc-structure.cpp check-allocate.cpp check-arithmeticif.cpp check-call.cpp check-case.cpp check-coarray.cpp check-cuda.cpp check-data.cpp check-deallocate.cpp check-declarations.cpp check-do-forall.cpp check-if-stmt.cpp check-io.cpp check-namelist.cpp check-nullify.cpp check-omp-structure.cpp check-purity.cpp check-return.cpp check-select-rank.cpp check-select-type.cpp check-stop.cpp compute-offsets.cpp data-to-inits.cpp definable.cpp expression.cpp mod-file.cpp pointer-assignment.cpp program-tree.cpp resolve-labels.cpp resolve-directives.cpp resolve-names-utils.cpp resolve-names.cpp rewrite-directives.cpp rewrite-parse-tree.cpp runtime-type-info.cpp scope.cpp semantics.cpp symbol.cpp tools.cpp type.cpp unparse-with-symbols.cpp DEPENDS acc_gen omp_gen LINK_LIBS FortranCommon FortranParser FortranEvaluate LINK_COMPONENTS Support FrontendOpenMP FrontendOpenACC TargetParser )