Home
last modified time | relevance | path

Searched refs:options_ (Results 1 – 25 of 48) sorted by relevance

12

/arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/types/
Dets_string_builder_test.cpp31 options_.SetShouldLoadBootPandaFiles(true); in EtsStringBuilderTest()
32 options_.SetShouldInitializeIntrinsics(false); in EtsStringBuilderTest()
33 options_.SetCompilerEnableJit(false); in EtsStringBuilderTest()
34 options_.SetGcType("epsilon"); in EtsStringBuilderTest()
35 options_.SetLoadRuntimes({"ets"}); in EtsStringBuilderTest()
42 options_.SetBootPandaFiles({stdlib}); in EtsStringBuilderTest()
44 Runtime::Create(options_); in EtsStringBuilderTest()
67 RuntimeOptions options_; member in panda::ets::test::EtsStringBuilderTest
Dets_field_test.cpp31 options_.SetShouldLoadBootPandaFiles(true); in EtsFieldTest()
32 options_.SetShouldInitializeIntrinsics(false); in EtsFieldTest()
33 options_.SetCompilerEnableJit(false); in EtsFieldTest()
34 options_.SetGcType("epsilon"); in EtsFieldTest()
35 options_.SetLoadRuntimes({"ets"}); in EtsFieldTest()
42 options_.SetBootPandaFiles({stdlib}); in EtsFieldTest()
44 Runtime::Create(options_); in EtsFieldTest()
67 RuntimeOptions options_; member in panda::ets::test::EtsFieldTest
Dets_array_test.cpp33 options_.SetShouldLoadBootPandaFiles(true); in EtsArrayTest()
34 options_.SetShouldInitializeIntrinsics(false); in EtsArrayTest()
35 options_.SetCompilerEnableJit(false); in EtsArrayTest()
36 options_.SetGcType("epsilon"); in EtsArrayTest()
37 options_.SetLoadRuntimes({"ets"}); in EtsArrayTest()
44 options_.SetBootPandaFiles({stdlib}); in EtsArrayTest()
46 Runtime::Create(options_); in EtsArrayTest()
69 RuntimeOptions options_; member in panda::ets::test::EtsArrayTest
Dets_object_test.cpp34 options_.SetShouldLoadBootPandaFiles(true); in EtsObjectTest()
35 options_.SetShouldInitializeIntrinsics(false); in EtsObjectTest()
36 options_.SetCompilerEnableJit(false); in EtsObjectTest()
37 options_.SetGcType("epsilon"); in EtsObjectTest()
38 options_.SetLoadRuntimes({"ets"}); in EtsObjectTest()
45 options_.SetBootPandaFiles({stdlib}); in EtsObjectTest()
47 Runtime::Create(options_); in EtsObjectTest()
75 RuntimeOptions options_; member in panda::ets::test::EtsObjectTest
Dets_method_test.cpp33 options_.SetShouldLoadBootPandaFiles(true); in EtsMethodTest()
34 options_.SetShouldInitializeIntrinsics(false); in EtsMethodTest()
35 options_.SetCompilerEnableJit(false); in EtsMethodTest()
36 options_.SetGcType("epsilon"); in EtsMethodTest()
37 options_.SetLoadRuntimes({"ets"}); in EtsMethodTest()
44 options_.SetBootPandaFiles({stdlib}); in EtsMethodTest()
46 Runtime::Create(options_); in EtsMethodTest()
71 RuntimeOptions options_; member in panda::ets::test::EtsMethodTest
/arkcompiler/runtime_core/static_core/tools/sampler/
Dargs_parser.h27 options_.AddOptions(&parser_); in Parse()
34 auto err = options_.Validate(); in Parse()
40 if (options_.GetInput().empty()) { in Parse()
45 if (options_.GetOutput().empty()) { in Parse()
50 if (!panda::os::IsFileExists(options_.GetInput())) { in Parse()
51 std::cerr << "[Error] File \"" << options_.GetInput() << "\" not found." << std::endl; in Parse()
60 return options_; in GetOptions()
76 Options options_ {""};
/arkcompiler/runtime_core/static_core/runtime/tests/
Dpygote_space_allocator_stw_test.cpp28 options_.SetShouldLoadBootPandaFiles(false); in PygoteSpaceAllocatorStwTest()
29 options_.SetShouldInitializeIntrinsics(false); in PygoteSpaceAllocatorStwTest()
30 options_.SetStartAsZygote(true); in PygoteSpaceAllocatorStwTest()
31 options_.SetGcType("stw"); in PygoteSpaceAllocatorStwTest()
32 options_.SetExplicitConcurrentGcEnabled(false); in PygoteSpaceAllocatorStwTest()
33 Runtime::Create(options_); in PygoteSpaceAllocatorStwTest()
Dpygote_space_allocator_gen_test.cpp28 options_.SetShouldLoadBootPandaFiles(false); in PygoteSpaceAllocatorGenTest()
29 options_.SetShouldInitializeIntrinsics(false); in PygoteSpaceAllocatorGenTest()
30 options_.SetStartAsZygote(true); in PygoteSpaceAllocatorGenTest()
31 options_.SetGcType("gen-gc"); in PygoteSpaceAllocatorGenTest()
32 options_.SetExplicitConcurrentGcEnabled(false); in PygoteSpaceAllocatorGenTest()
33 Runtime::Create(options_); in PygoteSpaceAllocatorGenTest()
Darray_test.cpp30 options_.SetShouldLoadBootPandaFiles(false); in ArrayTest()
31 options_.SetShouldInitializeIntrinsics(false); in ArrayTest()
32 Runtime::Create(options_); in ArrayTest()
49 RuntimeOptions options_; member in panda::coretypes::test::ArrayTest
Drem_set_test.cpp42 options_.SetShouldLoadBootPandaFiles(false); in RemSetTest()
43 options_.SetShouldInitializeIntrinsics(false); in RemSetTest()
44 Runtime::Create(options_); in RemSetTest()
46 size_t spaceSize = options_.GetHeapSizeLimit(); in RemSetTest()
79 RuntimeOptions options_; member in panda::mem::test::RemSetTest
/arkcompiler/ets_frontend/ets2panda/compiler/core/
DcompilerContext.h49 …: varbinder_(varbinder), checker_(checker), options_(std::move(options)), codeGenCb_(std::move(cod… in CompilerContext()
106 return &options_; in Options()
111 return options_.isDebug; in IsDebug()
116 return options_.dumpDebugInfo; in DumpDebugInfo()
121 return options_.isDirectEval; in IsDirectEval()
126 return options_.isFunctionEval; in IsFunctionEval()
131 return options_.isEval; in IsEval()
140 CompilerOptions options_; variable
/arkcompiler/runtime_core/static_core/runtime/tests/intrusive-tests/clear_interrupted_intrusive_test/
Dclear_interrupted_intrusive_test.cpp27 options_.SetShouldLoadBootPandaFiles(false); in IntrusiveClearInterruptedThreadTest()
28 options_.SetShouldInitializeIntrinsics(false); in IntrusiveClearInterruptedThreadTest()
29 options_.SetIntrusiveTest(CLEAR_INTERRUPTED_INTRUSIVE_TEST); in IntrusiveClearInterruptedThreadTest()
30 Runtime::Create(options_); in IntrusiveClearInterruptedThreadTest()
46 RuntimeOptions options_; member in panda::test::IntrusiveClearInterruptedThreadTest
/arkcompiler/ets_frontend/es2panda/aot/
DemitFiles.cpp28 auto targetApi = options_->CompilerOptions().targetApiVersion; in Schedule()
32 … auto emitMergedAbcJob = new EmitMergedAbcJob(options_->CompilerOutput(), progsInfo_, targetApi); in Schedule()
38 auto outputCacheIter = options_->CompilerOptions().cacheFiles.find(info.first); in Schedule()
39 if (outputCacheIter != options_->CompilerOptions().cacheFiles.end()) { in Schedule()
53 auto outputFileName = options_->OutputFiles().empty() ? options_->CompilerOutput() : in Schedule()
54 options_->OutputFiles().at(info.first); in Schedule()
Doptions.h105 return (options_ & OptionFlags::PARSE_ONLY) != 0; in ParseOnly()
110 return (options_ & OptionFlags::SIZE_STAT) != 0; in SizeStat()
137 OptionFlags options_ {OptionFlags::DEFAULT};
/arkcompiler/ets_runtime/ecmascript/
Decma_vm.cpp154 options_.SetEnablePGOProfiler(false); in PostFork()
157 options_.SetEnablePGOProfiler(true); in PostFork()
173 options_ = std::move(options); in EcmaVM()
174 icEnabled_ = options_.EnableIC(); in EcmaVM()
175 optionalLogEnabled_ = options_.EnableOptionalLog(); in EcmaVM()
176 options_.ParseAsmInterOption(); in EcmaVM()
177 SetEnableJit(options_.IsEnableJIT() && options_.GetEnableAsmInterpreter()); in EcmaVM()
201 if (options_.IsWorker()) { in IsEnablePGOProfiler()
204 return options_.GetEnableAsmInterpreter() && options_.IsEnablePGOProfiler(); in IsEnablePGOProfiler()
209 if (options_.IsWorker()) { in IsEnableElementsKind()
[all …]
/arkcompiler/runtime_core/static_core/dprof/converter/
Dmain.cpp33 options_.AddOptions(&parser_); in Parse()
38 auto err = options_.Validate(); in Parse()
43 if (options_.GetStorageDir().empty()) { in Parse()
52 return options_; in GetOptionos()
65 Options options_ {""}; member in panda::dprof::ArgsParser
/arkcompiler/ets_frontend/es2panda/compiler/core/
DcompileQueue.cpp81 auto cacheFileIter = options_->cacheFiles.find(src_->fileName); in Run()
82 if (cacheFileIter != options_->cacheFiles.end()) { in Run()
98 es2panda::Compiler compiler(src_->scriptExtension, options_->functionThreadCount); in Run()
99 auto *prog = compiler.CompileFile(*options_, src_, symbolTable_); in Run()
104 if (options_->optLevel != 0) { in Run()
143 for (auto &input: options_->sourceFiles) { in Schedule()
144 auto *fileJob = new CompileFileJob(&input, options_, progsInfo_, symbolTable_, allocator_); in Schedule()
DcompileQueue.h78 …: src_(src), options_(options), progsInfo_(progsInfo), symbolTable_(symbolTable), allocator_(alloc… in CompileFileJob()
88 es2panda::CompilerOptions *options_; variable
114 : util::WorkerQueue(threadCount), options_(options), progsInfo_(progsInfo), in CompileFileQueue()
124 es2panda::CompilerOptions *options_;
/arkcompiler/runtime_core/static_core/compiler/tests/
Dpanda_runner.h41 options_.SetBootPandaFiles(bootPandaFiles); in PandaRunner()
43 options_.SetShouldLoadBootPandaFiles(true); in PandaRunner()
44 options_.SetShouldInitializeIntrinsics(false); in PandaRunner()
45 options_.SetNoAsyncJit(true); in PandaRunner()
122 Runtime::Create(options_); in CreateRuntime()
128 return options_; in GetRuntimeOptions()
155 RuntimeOptions options_;
/arkcompiler/runtime_core/compiler/tests/
Dpanda_runner.h35 options_.SetBootPandaFiles(boot_panda_files); in PandaRunner()
37 options_.SetShouldLoadBootPandaFiles(true); in PandaRunner()
38 options_.SetShouldInitializeIntrinsics(false); in PandaRunner()
39 options_.SetNoAsyncJit(true); in PandaRunner()
113 Runtime::Create(options_); in CreateRuntime()
119 return options_; in GetRuntimeOptions()
181 RuntimeOptions options_;
/arkcompiler/runtime_core/static_core/runtime/
Druntime.cpp82 RuntimeOptions Runtime::options_; // NOLINT(fuchsia-statically-constructed-objects) member in panda::Runtime
464 if (IsEnabled(options_.GetVerificationMode())) { in Destroy()
465 verifier::DestroyService(instance_->verifierService_, options_.IsVerificationUpdateCache()); in Destroy()
482 auto mode = options_.GetVerificationMode(); in InitializeVerifierRuntime()
484 std::string const &cacheFile = options_.GetVerificationCacheFile(); in InitializeVerifierRuntime()
523 Runtime::options_ = options; in Runtime()
547 saveProfilingInfo_ = options_.IsCompilerEnableJit() && options_.IsProfilesaverEnabled(); in Runtime()
559 isZygote_ = options_.IsStartAsZygote(); in Runtime()
615 …return options_.IsLimitStandardAlloc() && (logLevel == Logger::Level::FATAL || logLevel == Logger:… in IsEnableMemoryHooks()
616 (!options_.UseMallocForInternalAllocations()); in IsEnableMemoryHooks()
[all …]
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/
Dllvm_optimizer.cpp120 …: options_(std::move(options)), arkInterface_(arkInterface), targetMachine_(std::move(targetMachin… in LLVMOptimizer()
152 if (options_.dumpModuleBeforeOptimizations) { in OptimizeModule()
161 if (options_.dumpModuleAfterOptimizations) { in OptimizeModule()
198 passParser.RegisterParserCallbacks(passBuilder, options_); in DoOptimizeModule()
201 if (options_.optimize) { in DoOptimizeModule()
202 … cantFail(passBuilder.parsePassPipeline(modulePm, GetOptimizationPipeline(options_.pipelineFile))); in DoOptimizeModule()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dpass_options.h45 options_.enable##NAME##_ = value; \
68 PassOptions Build() { return options_; } in OPTION_LIST()
71 PassOptions options_{};
/arkcompiler/ets_frontend/ets2panda/util/
Doptions.h140 return (options_ & OptionFlags::PARSE_MODULE) != 0; in ParseModule()
145 return (options_ & OptionFlags::PARSE_ONLY) != 0; in ParseOnly()
150 return (options_ & OptionFlags::SIZE_STAT) != 0; in SizeStat()
165 OptionFlags options_ {OptionFlags::DEFAULT};
/arkcompiler/runtime_core/static_core/verification/util/tests/
Denvironment.cpp88 options_[c.name] = c.value; in EnvOptions()
110 auto it = options_.find(name); in operator []()
111 if (it != options_.end()) { in operator []()

12