xref: /llvm-project/llvm/utils/TableGen/llvm-min-tblgen.cpp (revision 27f30029741ecf023baece7b3dde1ff9011ffefc)
1*27f30029SMichael Kruse //===- llvm-min-tblgen.cpp ------------------------------------------------===//
2*27f30029SMichael Kruse //
3*27f30029SMichael Kruse // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*27f30029SMichael Kruse // See https://llvm.org/LICENSE.txt for license information.
5*27f30029SMichael Kruse // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*27f30029SMichael Kruse //
7*27f30029SMichael Kruse //===----------------------------------------------------------------------===//
8*27f30029SMichael Kruse //
9*27f30029SMichael Kruse // This file contains the main function for LLVM's TableGen.
10*27f30029SMichael Kruse //
11*27f30029SMichael Kruse //===----------------------------------------------------------------------===//
12*27f30029SMichael Kruse 
13*27f30029SMichael Kruse #include "Basic/TableGen.h"
14*27f30029SMichael Kruse 
15*27f30029SMichael Kruse /// Command line parameters are shared between llvm-tblgen and llvm-min-tblgen.
16*27f30029SMichael Kruse /// The indirection to tblgen_main exists to ensure that the static variables
17*27f30029SMichael Kruse /// for the llvm::cl:: mechanism are linked into both executables.
18*27f30029SMichael Kruse int main(int argc, char **argv) { return tblgen_main(argc, argv); }
19