38class FIROpenACCSupportAnalysis {
40 FIROpenACCSupportAnalysis() =
default;
42 std::string getVariableName(mlir::Value v,
43 mlir::acc::VariableNameConfig config);
45 std::string getRecipeName(mlir::acc::RecipeKind kind, mlir::Type type,
48 mlir::InFlightDiagnostic emitNYI(mlir::Location loc,
49 const mlir::Twine &message);
51 bool isValidSymbolUse(mlir::Operation *user, mlir::SymbolRefAttr symbol,
52 mlir::Operation **definingOpPtr);
54 bool isValidValueUse(mlir::Value v, mlir::Region ®ion);
56 std::optional<mlir::acc::TypeSizeAndAlignment>
57 getTypeSizeAndAlignment(mlir::Type ty, mlir::ModuleOp module,
58 mlir::acc::OpenACCSupport &support);