/* * Copyright (c) 2023 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef MAPLE_IR_INCLUDE_MPL2MPL_OPTION_H #define MAPLE_IR_INCLUDE_MPL2MPL_OPTION_H #include "cl_option.h" #include "cl_parser.h" #include #include namespace opts::mpl2mpl { extern maplecl::Option dumpPhase; extern maplecl::Option skipPhase; extern maplecl::Option skipFrom; extern maplecl::Option skipAfter; extern maplecl::Option dumpFunc; extern maplecl::Option quiet; extern maplecl::Option maplelinker; extern maplecl::Option regnativefunc; extern maplecl::Option inlineWithProfile; extern maplecl::Option inlineOpt; extern maplecl::Option ipaClone; extern maplecl::Option noInlineFunc; extern maplecl::Option importFileList; extern maplecl::Option crossModuleInline; extern maplecl::Option inlineSmallFunctionThreshold; extern maplecl::Option inlineHotFunctionThreshold; extern maplecl::Option inlineRecursiveFunctionThreshold; extern maplecl::Option inlineDepth; extern maplecl::Option inlineModuleGrow; extern maplecl::Option inlineColdFuncThresh; extern maplecl::Option profileHotCount; extern maplecl::Option profileColdCount; extern maplecl::Option profileHotRate; extern maplecl::Option profileColdRate; extern maplecl::Option nativewrapper; extern maplecl::Option regnativeDynamicOnly; extern maplecl::Option staticBindingList; extern maplecl::Option dumpBefore; extern maplecl::Option dumpAfter; extern maplecl::Option dumpMuid; extern maplecl::Option emitVtableImpl; extern maplecl::Option userc; extern maplecl::Option strictNaiveRc; extern maplecl::Option rcOpt1; extern maplecl::Option nativeopt; extern maplecl::Option o0; extern maplecl::Option o2; extern maplecl::Option os; extern maplecl::Option criticalNative; extern maplecl::Option fastNative; extern maplecl::Option nodot; extern maplecl::Option genIrProfile; extern maplecl::Option profileTest; extern maplecl::Option barrier; extern maplecl::Option nativeFuncPropertyFile; extern maplecl::Option maplelinkerNolocal; extern maplecl::Option buildApp; extern maplecl::Option partialAot; extern maplecl::Option decoupleInit; extern maplecl::Option sourceMuid; extern maplecl::Option deferredVisit; extern maplecl::Option deferredVisit2; extern maplecl::Option decoupleSuper; extern maplecl::Option genDecoupleVtab; extern maplecl::Option profileFunc; extern maplecl::Option dumpDevirtual; extern maplecl::Option readDevirtual; extern maplecl::Option usewhiteclass; extern maplecl::Option appPackageName; extern maplecl::Option checkClInvocation; extern maplecl::Option dumpClInvocation; extern maplecl::Option warning; extern maplecl::Option lazyBinding; extern maplecl::Option hotFix; extern maplecl::Option compactMeta; extern maplecl::Option genPGOReport; extern maplecl::Option inlineCache; extern maplecl::Option noComment; extern maplecl::Option rmnousefunc; extern maplecl::Option sideeffect; extern maplecl::Option dumpIPA; extern maplecl::Option wpaa; extern maplecl::Option numOfCloneVersions; extern maplecl::Option numOfImpExprLowBound; extern maplecl::Option numOfImpExprHighBound; extern maplecl::Option numOfCallSiteLowBound; extern maplecl::Option numOfCallSiteUpBound; extern maplecl::Option numOfConstpropValue; } // namespace opts::mpl2mpl #endif /* MAPLE_IR_INCLUDE_MPL2MPL_OPTION_H */