1 | //===-- lib/Support/Flags.cpp ---------------------------------*- 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 | #include "flang/Support/Flags.h" |
10 | |
11 | llvm::cl::opt<bool> enableDelayedPrivatization("enable-delayed-privatization" , |
12 | llvm::cl::desc( |
13 | "Emit private/local variables as clauses/specifiers on MLIR ops." ), |
14 | llvm::cl::init(true)); |
15 | |
16 | llvm::cl::opt<bool> enableDelayedPrivatizationStaging( |
17 | "enable-delayed-privatization-staging" , |
18 | llvm::cl::desc("For partially supported constructs, emit private/local " |
19 | "variables as clauses/specifiers on MLIR ops." ), |
20 | llvm::cl::init(false)); |
21 | |