// Copyright 2021 The IREE Authors
//
// Licensed under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#include "iree/compiler/Codegen/Dialect/Codegen/IR/IREECodegenAttrs.h"

#include "mlir/Interfaces/FunctionInterfaces.h"

namespace mlir::iree_compiler {

/// Sets compilation configuration annotated in the incoming IR.
LogicalResult setUserConfig(mlir::FunctionOpInterface entryPointFn,
                            Operation *computeOp,
                            IREE::Codegen::CompilationInfoAttr compilationInfo);

} // namespace mlir::iree_compiler
