1//===--- CodeGenOptions.def - Code generation option database ----- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file defines the code generation options. Users of this file
10// must define the CODEGENOPT macro to make use of this information.
11//
12//===----------------------------------------------------------------------===//
13#ifndef CODEGENOPT
14#  error Define the CODEGENOPT macro to handle language options
15#endif
16
17CODEGENOPT(OptimizationLevel, 2, 0) ///< The -O[0-3] option specified.
18
19CODEGENOPT(DebugPassManager, 1, 0) ///< Prints debug information for the new
20                                   ///< pass manager.
21
22#undef CODEGENOPT
23