//===- mlir-src-sharder.cpp - A tool for sharder generated source files ---===// // // Part of the LLVM Project, 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 "mlir/Support/FileUtilities.h" #include "mlir/Support/LLVM.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/InitLLVM.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/ToolOutputFile.h" usingnamespacemlir; /// Create a dependency file for `-d` option. /// /// This functionality is generally only for the benefit of the build system, /// and is modeled after the same option in TableGen. static LogicalResult createDependencyFile(StringRef outputFilename, StringRef dependencyFile) { … } int main(int argc, char **argv) { … }