1# Copyright (c) 2021-2022 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14module: 15 name: paoc 16 namespace: panda::paoc 17 descritpition: Application to compile panda files 18 19options: 20 - name: paoc-panda-files 21 type: arg_list_t 22 default: [] 23 description: Set list of panda files to compile 24 delimiter: "," 25 26 - name: paoc-location 27 type: std::string 28 default: "" 29 description: Location path of the input panda file, that will be written into the AOT file. 30 31 - name: paoc-boot-location 32 type: std::string 33 default: "" 34 description: Location path of the boot panda files, that will be written into the AOT file. 35 36 - name: paoc-skip-until 37 type: std::string 38 default: "" 39 description: Set first method to complie and skip all previous 40 41 - name: paoc-compile-until 42 type: std::string 43 default: "" 44 description: Set last method to complie and skip all following 45 46 - name: paoc-mode 47 type: std::string 48 default: aot 49 possible_values: 50 - aot 51 - jit 52 - osr 53 description: Specify compiler mode 54 55 - name: paoc-clusters 56 type: std::string 57 default: none 58 description: Path to `paoc-clusters` file 59 60 - name: paoc-dump-stats-csv 61 type: std::string 62 default: none 63 description: Dump allocator usage statistics, less verbose than `--compiler-dump-stats-csv` 64 65 - name: paoc-output 66 type: std::string 67 default: out.an 68 description: Output file path 69 70 - name: paoc-boot-output 71 type: std::string 72 default: boot.an 73 description: Output boot file path. CHA will not be validated. Incompatible with --paoc-output 74 75 - name: paoc-arch 76 type: std::string 77 default: arm64 78 possible_values: 79 - arm 80 - arm64 81 - x86 82 - x86_64 83 description: Target architecture for output file 84 85 - name: paoc-methods-from-file 86 type: std::string 87 default: "" 88 description: Path to a file which contains methods to compile 89 90 - name: paoc-generate-symbols 91 type: bool 92 default: false 93 description: Generate symbols for compiled methods (always true in debug builds) 94 95 - name: paoc-use-cha 96 type: bool 97 default: true 98 description: Use class hierarchy during compilation 99 100 - name: paoc-verbose 101 type: bool 102 default: false 103 description: Enable all logs, related to the paoc 104 105 - name: paoc-boot-panda-locations 106 type: arg_list_t 107 default: [] 108 description: Location paths of the each boot panda file, including file names, that will be written into the AOT file. 109 delimiter: ":"