/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
H A D | cg_option.cpp | 104 if (opts::cg::supportFuncSymbol.IsEnabledByUser()) { in SolveOptions() 105 opts::cg::supportFuncSymbol ? EnableSupportFuncSymbol() : DisableSupportFuncSymbol(); in SolveOptions() 108 if (opts::cg::verboseAsm.IsEnabledByUser()) { in SolveOptions() 109 opts::cg::verboseAsm ? SetOption(CGOptions::kVerboseAsm) : ClearOption(CGOptions::kVerboseAsm); in SolveOptions() 113 if (opts::cg::verboseCg.IsEnabledByUser()) { in SolveOptions() 114 opts::cg::verboseCg ? SetOption(CGOptions::kVerboseCG) : ClearOption(CGOptions::kVerboseCG); in SolveOptions() 117 if (opts::cg::spillRange.IsEnabledByUser()) { in SolveOptions() 119 SetRange(opts::cg::spillRange, "--pill-range", GetSpillRanges()); in SolveOptions() 123 if (opts::cg::range.IsEnabledByUser()) { in SolveOptions() 125 SetRange(opts in SolveOptions() [all...] |
/arkcompiler/runtime_core/static_core/tests/cts-generator/ |
H A D | generate-cts.rb | 54 optparser = OptionParser.new do |opts| 55 opts.banner = 'Usage: generate-cts.rb [options]' 56 opts.on('-t', '--template FILE', 'Path to template yaml file to generate tests (required)') 57 opts.on('-s', '--schema FILE', 'Path to json schema for template yaml (required)') 58 opts.on('-k', '--skip', 'Skip yaml schema validation') 59 opts.on('-o', '--output DIR', 'Path to directory where tests will be generated (required)') 60 opts.on('--skip-header', 'Do not generate test headers') 61 opts.on('-f', '--file FILE', 'Generate tests from the specified yaml file only, for example: fmod2.64.yaml') 62 opts.on('--chunk INTEGER', Integer, 'Chunk to process, starting from 0 (0 by default)') 63 opts [all...] |
H A D | test-runner.rb | 69 optparser = OptionParser.new do |opts| 70 opts.banner = 'Usage: test-runner.rb [options]' 71 opts.on('-p', '--panda-build DIR', 'Path to panda build directory (required)') 72 opts.on('-t', '--test-dir DIR', 'Path to test directory to search tests recursively, or path to single test (required)') 73 opts.on('-x', '--temp-dir DIR', 'Temporary files location, defaults to /tmp') 74 opts.on('-v', '--verbose LEVEL', Integer, 'Set verbose level 1..5') 75 opts.on('--verbose-verifier', 'Allow verifier to produce extended checking log') 76 opts.on('--aot-mode', 'Perform AOT compilation on test sources') 77 opts.on('--timeout SECONDS', Integer, 'Set process timeout, default is 30 seconds') 78 opts [all...] |
/arkcompiler/runtime_core/tests/cts-generator/ |
H A D | generate-cts.rb | 54 optparser = OptionParser.new do |opts| 55 opts.banner = 'Usage: generate-cts.rb [options]' 56 opts.on('-t', '--template FILE', 'Path to template yaml file to generate tests (required)') 57 opts.on('-s', '--schema FILE', 'Path to json schema for template yaml (required)') 58 opts.on('-k', '--skip', 'Skip yaml schema validation') 59 opts.on('-o', '--output DIR', 'Path to directory where tests will be generated (required)') 60 opts.on('--skip-header', 'Do not generate test headers') 61 opts.on('-f', '--file FILE', 'Generate tests from the specified yaml file only, for example: fmod2.64.yaml') 62 opts.on('--chunk INTEGER', Integer, 'Chunk to process, starting from 0 (0 by default)') 63 opts [all...] |
H A D | test-runner.rb | 69 optparser = OptionParser.new do |opts| 70 opts.banner = 'Usage: test-runner.rb [options]' 71 opts.on('-p', '--panda-build DIR', 'Path to panda build directory (required)') 72 opts.on('-t', '--test-dir DIR', 'Path to test directory to search tests recursively, or path to single test (required)') 73 opts.on('-x', '--temp-dir DIR', 'Temporary files location, defaults to /tmp') 74 opts.on('-v', '--verbose LEVEL', Integer, 'Set verbose level 1..5') 75 opts.on('--verbose-verifier', 'Allow verifier to produce extended checking log') 76 opts.on('--aot-mode', 'Perform AOT compilation on test sources') 77 opts.on('--timeout SECONDS', Integer, 'Set process timeout, default is 30 seconds') 78 opts [all...] |
/arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/bin/ |
H A D | spectrac.rb | 41 optparser = OptionParser.new do |opts| 42 opts.banner = 'Usage: spectrac.rb [options]' 43 opts.on('-r', '--report [FILE]', 'Output the test coverage summary report in yaml') 44 opts.on('-d', '--testdir DIR', 'Directory with the test files (required)') 45 opts.on('-g', '--testglob GLOB', 'Glob for finding test files in testdir (required)') 46 opts.on('-s', '--spec FILE1,FILE2,FILE3', Array, 'ISA spec file(s) (at least one required)') 47 opts.on('-n', '--non_testable [FILE]', 'Non testable assertions') 48 opts.on('-u', '--uncovered [FILE]', 'Output yaml document with ISA spec areas not covered by tests') 49 opts.on('-U', '--uncovered_md [FILE]', 'Output markdown document with ISA spec areas not covered by tests') 50 opts [all...] |
/arkcompiler/runtime_core/tests/cts-coverage-tool/bin/ |
H A D | spectrac.rb | 41 optparser = OptionParser.new do |opts| 42 opts.banner = 'Usage: spectrac.rb [options]' 43 opts.on('-r', '--report [FILE]', 'Output the test coverage summary report in yaml') 44 opts.on('-d', '--testdir DIR', 'Directory with the test files (required)') 45 opts.on('-g', '--testglob GLOB', 'Glob for finding test files in testdir (required)') 46 opts.on('-s', '--spec FILE1,FILE2,FILE3', Array, 'ISA spec file(s) (at least one required)') 47 opts.on('-n', '--non_testable [FILE]', 'Non testable assertions') 48 opts.on('-u', '--uncovered [FILE]', 'Output yaml document with ISA spec areas not covered by tests') 49 opts.on('-U', '--uncovered_md [FILE]', 'Output markdown document with ISA spec areas not covered by tests') 50 opts [all...] |
/arkcompiler/runtime_core/static_core/tests/irtoc-interpreter-tests/irtoc-tag/ |
H A D | generate-tag.rb | 29 optparser = OptionParser.new do |opts| 30 opts.banner = 'Usage: generate-tag.rb [options]' 31 opts.on('-t', '--template FILE', 'Path to template erb file to generate tests (required)') 32 opts.on('-y', '--yaml FILE', 'Path to template yaml file to generate tests (required)') 33 opts.on('-i', '--isapi ISAPI_FILE', 'Path to isapi.rb file to use isapi (required)') 34 opts.on('-o', '--output DIR', 'Path to directory where tests will be generated (required)') 35 opts.on('-s', '--isa FILE', 'Path to isa.rb file to connect with api (required)') 36 opts.on('-h', '--help', 'Prints this help') do 37 puts opts
|
/arkcompiler/runtime_core/isa/ |
H A D | gen.rb | 64 optparser = OptionParser.new do |opts| 65 opts.banner = 'Usage: gen.rb [options]' 67 opts.on('-t', '--template FILE', 'Template for file generation (required)') 68 opts.on('-d', '--data FILE', 'Source data in YAML format (required)') 69 opts.on('-o', '--output FILE', 'Output file (default is stdout)') 70 opts.on('-a', '--assert FILE', 'Go through assertions on data provided and exit') 71 opts.on('-r', '--require foo,bar,baz', Array, 'List of files to be required for generation') 73 opts.on('-h', '--help', 'Prints this help') do 74 puts opts
|
H A D | combine.rb | 26 optparser = OptionParser.new do |opts| 27 opts.banner = 'Usage: combine.rb [options]' 29 opts.on('-d', '--data FILE1,FILE2,...', Array, 'List of source data files in YAML format') 30 opts.on('-o', '--output FILE', 'Output file (default is stdout)') 32 opts.on('-h', '--help', 'Prints this help') do 33 puts opts
|
/arkcompiler/runtime_core/static_core/runtime/templates/ |
H A D | gen_intrinsics_data.rb | 59 optparser = OptionParser.new do |opts| 60 opts.banner = 'Usage: gen.rb [options]' 62 opts.on('-t', '--template FILE', 'Template for file generation (required)') 63 opts.on('-d', '--datafiles FILE1,FILE2,FILE3', Array, 'Source data files in YAML format (required)') 64 opts.on('-o', '--output FILE', 'Output file (required)') 65 opts.on('-r', '--require foo,bar,baz', Array, 'List of files to be required for generation') 67 opts.on('-h', '--help', 'Prints this help') do 68 puts opts
|
/arkcompiler/runtime_core/static_core/isa/ |
H A D | gen.rb | 77 optparser = OptionParser.new do |opts| 78 opts.banner = 'Usage: gen.rb [options]' 80 opts.on('-t', '--template FILE', 'Template for file generation (required)') 81 opts.on('-d', '--data FILE1,FILE2,...', Array, 'Source data files in YAML format') 82 opts.on('-q', '--api FILE1,FILE2,...', Array, 'Ruby files providing api for data in YAML format') 83 opts.on('-o', '--output FILE', 'Output file (default is stdout)') 84 opts.on('-a', '--assert FILE', 'Go through assertions on data provided and exit') 85 opts.on('-r', '--require foo,bar,baz', Array, 'List of additional Ruby files to be required for generation') 87 opts.on('-h', '--help', 'Prints this help') do 88 puts opts [all...] |
H A D | combine.rb | 26 optparser = OptionParser.new do |opts| 27 opts.banner = 'Usage: combine.rb [options]' 29 opts.on('-d', '--data FILE1,FILE2,...', Array, 'List of source data files in YAML format') 30 opts.on('-o', '--output FILE', 'Output file (default is stdout)') 32 opts.on('-h', '--help', 'Prints this help') do 33 puts opts
|
/arkcompiler/runtime_core/static_core/irtoc/lang/ |
H A D | options.rb | 26 OptionParser.new do |opts| 27 opts.banner = "Usage: irtoc.rb [options] INPUT_FILE" 29 opts.on("--ark_source_dir=PATH", "Path to panda source code") { |v| self.ark_source_dir = v } 30 opts.on("--output=PATH", "Output file") { |v| self.output_files = v.split(':') } 31 opts.on("--input=PATH", "Input files, separated by ':' symbol") { |v| self.input_files = v.split(':') } 32 opts.on('-D=STR', 'C++ definitions that will be used for compiling output file') { |v| (self.definitions ||= []) << v } 33 opts.on("--arch=ARCH", "Target architecture") { |v| self.arch = v } 34 opts.on('--ir-api=API', 'API to emit during C++ code generation') { |v| self.ir_api = v } 35 opts.on('--isa=PATH', 'ISA YAML file') { |v| self.isa = v } 36 opts [all...] |
/arkcompiler/runtime_core/static_core/templates/ |
H A D | merge.rb | 39 optparser = OptionParser.new do |opts| 40 opts.banner = 'Usage: merge.rb [options]' 42 opts.on('-d', '--data foo.yaml,bar.yaml,baz.yaml', Array, 'List of source data in YAML format (required)') 43 opts.on('-o', '--output FILE', 'Output file (default is stdout)') 45 opts.on('-h', '--help', 'Prints this help') do 46 puts opts
|
/arkcompiler/runtime_core/templates/ |
H A D | merge.rb | 39 optparser = OptionParser.new do |opts| 40 opts.banner = 'Usage: merge.rb [options]' 42 opts.on('-d', '--data foo.yaml,bar.yaml,baz.yaml', Array, 'List of source data in YAML format (required)') 43 opts.on('-o', '--output FILE', 'Output file (default is stdout)') 45 opts.on('-h', '--help', 'Prints this help') do 46 puts opts
|
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/plugins/tools/ |
H A D | paoc.py | 55 '--load-runtimes=ets {opts} ' \ 74 opts = self.panda_files(libs) 76 opts += ' ' + bu_opts 80 opts=opts) 86 res = self.run_paoc(abc, an, opts=opts) 99 opts: str = '', 101 return self.x_run(self.cmd.format(abc=abc, an=an, opts=opts), [all...] |
H A D | es2panda.py | 75 self.opts = '--gen-stdlib=false --extension=sts --opt-level=2 ' \ 102 opts = '--ets-module ' + self.opts 103 self.run_es2panda(lib, abc, opts, bu) 106 res = self.run_es2panda(src, abc, self.opts, bu) 115 opts: str, 120 f'{self.es2panda} {opts} '
|
H A D | ark.py | 44 opts = '--gc-trigger-type=heap-trigger ' 52 opts += '--compiler-enable-jit=false ' 54 opts += '--print-gc-statistics --log-components=gc ' \ 58 opts += '--compiler-dump-jit-stats-csv={abc}.dump.csv ' 62 opts += '--enable-an:force --aot-files=' + \ 66 f'--load-runtimes=ets {opts} {self.custom} ' \
|
H A D | v_8.py | 29 opts = self.custom 31 opts += ' --no-opt --jitless --use-ic --no-expose_wasm ' 34 self.d_8 = f'{binpath} {opts}' 36 self.d_8 = f'{self.dev_dir}/v_8/{self.binname} {opts}' 39 f'roid {self.dev_dir}/v_8/{self.binname} {opts}' 54 opts = '--max-inlined-bytecode-size=0 ' \ 57 res = self.x_run(f'{self.d_8} {opts}{mjs}')
|
/arkcompiler/runtime_core/static_core/tests/checked/ |
H A D | checker.rb | 22 OptionParser.new do |opts| 23 opts.banner = 'Usage: checker.rb [options] TEST_FILE' 25 opts.on('--run-prefix=PREFIX', 'Prefix that will be inserted before panda run command') do |v| 28 opts.on('--source=FILE', 'Path to source file') 29 opts.on('--test-file=FILE', 'Path to test file') do |v| 32 opts.on('--panda=PANDA', 'Path to panda') 33 opts.on('--paoc=PAOC', 'Path to paoc') do |v| 36 opts.on('--frontend=FRONTEND', 'Path to frontend binary') 37 opts.on('--panda-options=OPTIONS', 'Default options for panda run') do |v| 40 opts [all...] |
/arkcompiler/runtime_core/tests/checked/ |
H A D | checker.rb | 22 OptionParser.new do |opts| 23 opts.banner = 'Usage: checker.rb [options] TEST_FILE' 25 opts.on('--run-prefix=PREFIX', 'Prefix that will be inserted before panda run command') do |v| 28 opts.on('--source=FILE', 'Path to source file') 29 opts.on('--test-file=FILE', 'Path to test file') do |v| 32 opts.on('--panda=PANDA', 'Path to panda') 33 opts.on('--paoc=PAOC', 'Path to paoc') do |v| 36 opts.on('--panda-options=OPTIONS', 'Default options for panda run') do |v| 39 opts.on('--paoc-options=OPTIONS', 'Default options for paoc run') do |v| 42 opts [all...] |
/arkcompiler/runtime_core/static_core/scripts/ |
H A D | compiler_bisect.py | 183 self.opts = Runner.Options(*map(Option, [compiled_methods, inline, passes])) 187 self.opts = self.opts._replace(**{name: value}) 190 return run(self.opts.compiled.values, self.opts.inline.neg_values, 191 self.opts.passes.values, verbose=verbose).returncode != 0 206 opt = getattr(self.opts, option_name) 282 run(runner.opts.compiled.values, [], None, dump=True) 293 *[f'{name}: {opt.values}' for name, opt in runner.opts._asdict().items()], sep='\n')
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
H A D | target_registry.h | 30 using CGCtorFnTy = CG *(*)(MIRModule &mod, const CGOptions &opts, const std::vector<std::string> &nameVec, 52 CG *createCG(MIRModule &mod, const CGOptions &opts, const std::vector<std::string> &nameVec, in createCG() argument 58 return CGCtorFn(mod, opts, nameVec, patternMap); in createCG() 150 static CG *Allocator(MIRModule &mod, const CGOptions &opts, const std::vector<std::string> &nameVec, in Allocator() 153 return new CGImpl(mod, opts, nameVec, patternMap); in Allocator()
|
/arkcompiler/runtime_core/static_core/verification/ |
H A D | public.cpp | 30 result->opts.Initialize(); in NewConfig() 41 config->opts.Destroy(); in DestroyConfig() 48 return config->opts.IsEnabled(); in IsEnabled() 54 return config->opts.IsOnlyVerify(); in IsOnlyVerify() 107 if (service->config->opts.show.status) { in ReportStatus() 203 auto const &methodOptions = service->config->opts.debug.GetMethodOptions(); in Verify()
|