1/** 2 * Copyright 2023 Huawei Technologies Co., Ltd 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16// INLINE_REASON_KIND (kind, description) 17INLINE_REASON_KIND(InlineUnknown, "Unknown") 18INLINE_REASON_KIND(Inline, "Inline") 19INLINE_REASON_KIND(InlinePartial, "InlinePartial") 20INLINE_REASON_KIND(InlineDisabledInCfg, "DisabledInCfg") 21INLINE_REASON_KIND(InlineTooDeep, "TooDeep") 22INLINE_REASON_KIND(InlineInfer_Fail, "Infer_Fail") 23INLINE_REASON_KIND(InlineCFunction_Unsupported, "CFunction_Unsupported") 24INLINE_REASON_KIND(InlineGraphSupportedByMS, "GraphSupportedByMS") 25INLINE_REASON_KIND(InlineFunc_ArgType_Unsupported, "Func_ArgType_Unsupported") 26INLINE_REASON_KIND(InlineFunc_ArgHandle_Unsupported, "Func_ArgHandle_Unsupported") 27INLINE_REASON_KIND(InlineFunc_ArgType_IsClass, "Func_ArgType_IsClass") 28INLINE_REASON_KIND(InlineFunc_Type_Unsupported, "Func_Type_Unsupported") 29INLINE_REASON_KIND(InlineFuncSpecialize, "FuncSpecialize") 30INLINE_REASON_KIND(InlineRecurse_Unsupported, "Recurse_Unsupported") 31INLINE_REASON_KIND(InlineFunc_NoneTensor, "InlineFunc_NoneTensor") 32INLINE_REASON_KIND(InlinePolicyDisabled, "InlinePolicyDisabled") 33INLINE_REASON_KIND(Inline_Reason_Count, "Inline_Reason_Count")