/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/ |
H A D | sampling_processor.cpp | 36 SamplesRecord *generator = params.generator_; in Run() local 41 uint64_t startTime = generator->GetThreadStartTime(); in Run() 43 generator->AddStartTraceEvent(); in Run() 44 while (generator->GetIsStart()) { in Run() 64 SamplingProcessor::AddSample(generator); in Run() 65 generator->AddTraceEvent(false); in Run() 74 if (generator->SemWait(0) != 0) { in Run() 78 if (generator->GetMethodNodeCount() + generator->GetframeStackLength() >= MAX_NODE_COUNT) { in Run() 82 SamplingProcessor::AddSample(generator); in Run() 90 AddSample(SamplesRecord *generator) AddSample() argument 103 PostSemAndLogEnd(SamplesRecord *generator, pthread_t tid) PostSemAndLogEnd() argument [all...] |
H A D | sampling_processor.h | 31 static void AddSample(SamplesRecord *generator);
33 static void *PostSemAndLogEnd(SamplesRecord *generator, pthread_t tid);
48 RunParams(SamplesRecord *generator, uint32_t interval, pthread_t tid, void *taskHandle)
in RunParams() 49 :generator_(generator), interval_(interval), tid_(tid), taskHandle_(taskHandle) {};
in RunParams()
|
/arkcompiler/ets_runtime/ecmascript/compiler/pgo_type/ |
H A D | pgo_type_parser.cpp | 21 const PGOHClassGenerator &generator, uint32_t methodOffset) in Parse() 27 [this, jsPandaFile, &typeRecorder, &generator, methodOffset]( in Parse() 39 GenerateHClass(generator, loc); in Parse() 67 void ClassParser::GenerateHClass(const PGOHClassGenerator &generator, const PGOTypeLocation &loc) in GenerateHClass() argument 84 if (generator.FindHClassLayoutDesc(ctorSampleType) && generator.FindHClassLayoutDesc(protoSampleType)) { in GenerateHClass() 85 generator.GenerateHClass(ctorSampleType, false); in GenerateHClass() 86 generator.GenerateHClass(protoSampleType, false); in GenerateHClass() 91 generator.GenerateIHClass(iSampleType, prototype); in GenerateHClass() 120 void ObjectLiteralParser::GenerateHClass(const PGOHClassGenerator &generator, cons argument 20 Parse(const BytecodeInfoCollector &collector, const PGOTypeRecorder &typeRecorder, const PGOHClassGenerator &generator, uint32_t methodOffset) Parse() argument 154 GenerateHClass(const PGOHClassGenerator &generator, const PGOTypeLocation &loc) GenerateHClass() argument 229 GenerateHClassForClassType(ProfileType rootType, ProfileType protoPt, const PGOHClassGenerator &generator, bool isCache) GenerateHClassForClassType() argument 251 GenerateHClassForPrototype(ProfileType rootType, const PGOHClassGenerator &generator, bool isCache) GenerateHClassForPrototype() argument [all...] |
H A D | pgo_type_parser.h | 33 const PGOHClassGenerator &generator, uint32_t methodOffset); 38 [[maybe_unused]] const PGOHClassGenerator &generator, [[maybe_unused]] const PGOTypeLocation &loc) {}; in GenerateHClass() 50 virtual void GenerateHClass(const PGOHClassGenerator &generator, const PGOTypeLocation &loc) override; 77 virtual void GenerateHClass(const PGOHClassGenerator &generator, const PGOTypeLocation &loc) override; 86 virtual void GenerateHClass(const PGOHClassGenerator &generator, const PGOTypeLocation &loc) override; 97 void GenerateHClassForClassType(ProfileType rootType, ProfileType protoPt, const PGOHClassGenerator &generator, 99 void GenerateHClassForPrototype(ProfileType rootType, const PGOHClassGenerator &generator, bool isCache); 37 GenerateHClass( [[maybe_unused]] const PGOHClassGenerator &generator, [[maybe_unused]] const PGOTypeLocation &loc) GenerateHClass() argument
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_generator_object.cpp | 26 // 1.Perform ? RequireInternalSlot(generator, [[GeneratorState]]). in GeneratorValidate() 27 // 2.Assert: generator also has a [[GeneratorContext]] internal slot. in GeneratorValidate() 34 THROW_TYPE_ERROR_AND_RETURN(thread, "Is not generator object", JSGeneratorState::UNDEFINED); in GeneratorValidate() 37 // 3.Let state be generator.[[GeneratorState]]. in GeneratorValidate() 38 JSHandle<JSGeneratorObject> generator(thread, JSGeneratorObject::Cast(*(toObj))); in GeneratorValidate() 39 JSGeneratorState state = generator->GetGeneratorState(); in GeneratorValidate() 48 JSHandle<JSObject> JSGeneratorObject::GeneratorResume(JSThread *thread, const JSHandle<JSGeneratorObject> &generator, in GeneratorResume() argument 51 // 1.Let state be ? GeneratorValidate(generator). in GeneratorResume() 52 JSHandle<JSTaggedValue> gen(thread, generator.GetTaggedValue()); in GeneratorResume() 67 // 4.Let genContext be generator in GeneratorResume() 86 GeneratorResumeAbrupt(JSThread *thread, const JSHandle<JSGeneratorObject> &generator, const JSHandle<CompletionRecord> &abruptCompletion) GeneratorResumeAbrupt() argument [all...] |
H A D | js_async_generator_object.cpp | 27 // AsyncGeneratorValidate ( generator, generatorBrand ) 31 // 1. Perform ? RequireInternalSlot(generator, [[AsyncGeneratorContext]]). in AsyncGeneratorValidate() 32 // 2. Perform ? RequireInternalSlot(generator, [[AsyncGeneratorState]]). in AsyncGeneratorValidate() 33 // 3. Perform ? RequireInternalSlot(generator, [[AsyncGeneratorQueue]]). in AsyncGeneratorValidate() 37 // 4. If generator.[[GeneratorBrand]] is not the same value as generatorBrand, throw a TypeError exception. in AsyncGeneratorValidate() 40 JSHandle<JSAsyncGeneratorObject> generator = JSHandle<JSAsyncGeneratorObject>::Cast(obj); in AsyncGeneratorValidate() local 41 if (!JSTaggedValue::SameValue(generator->GetGeneratorBrand(), val)) { in AsyncGeneratorValidate() 47 const JSHandle<JSAsyncGeneratorObject> &generator, in AsyncGeneratorResolve() 50 // 1. Assert: generator is an AsyncGenerator instance. in AsyncGeneratorResolve() 51 ASSERT(generator in AsyncGeneratorResolve() 46 AsyncGeneratorResolve(JSThread *thread, const JSHandle<JSAsyncGeneratorObject> &generator, const JSHandle<JSTaggedValue> value, bool done) AsyncGeneratorResolve() argument 84 AsyncGeneratorReject(JSThread *thread, const JSHandle<JSAsyncGeneratorObject> &generator, const JSHandle<JSTaggedValue> value) AsyncGeneratorReject() argument 118 AsyncGeneratorResumeNext(JSThread *thread, const JSHandle<JSAsyncGeneratorObject> &generator) AsyncGeneratorResumeNext() argument 278 JSHandle<JSAsyncGeneratorObject> generator = JSHandle<JSAsyncGeneratorObject>::Cast(obj); AsyncGeneratorEnqueue() local [all...] |
H A D | js_async_generator_object.h | 77 // AsyncGeneratorValidate ( generator, generatorBrand ) 80 // AsyncGeneratorResolve ( generator, value, done ) 81 static JSTaggedValue AsyncGeneratorResolve(JSThread *thread, const JSHandle<JSAsyncGeneratorObject> &generator, 84 static JSTaggedValue AsyncGeneratorReject(JSThread *thread, const JSHandle<JSAsyncGeneratorObject> &generator, 87 // AsyncGeneratorResumeNext ( generator ) 88 static JSTaggedValue AsyncGeneratorResumeNext(JSThread *thread, const JSHandle<JSAsyncGeneratorObject> &generator); 90 // 27.6.3.7 AsyncGeneratorEnqueue ( generator, completion, generatorBrand ) 91 static JSTaggedValue AsyncGeneratorEnqueue(JSThread *thread, const JSHandle<JSTaggedValue> &generator,
|
H A D | js_generator_object.h | 77 // 26.4.3.2 GeneratorValidate(generator) 80 // 26.4.3.3 GeneratorResume(generator, value) 81 static JSHandle<JSObject> GeneratorResume(JSThread *thread, const JSHandle<JSGeneratorObject> &generator, 84 // 26.4.3.4 GeneratorResumeAbrupt(generator, abruptCompletion) 85 static JSHandle<JSObject> GeneratorResumeAbrupt(JSThread *thread, const JSHandle<JSGeneratorObject> &generator,
|
H A D | js_date_time_format.h | 53 icu::DateTimePatternGenerator *generator); 208 icu::DateTimePatternGenerator *generator,
|
H A D | js_displaynames.cpp | 364 std::unique_ptr<icu::DateTimePatternGenerator> generator( in CanonicalCodeForDisplayNames() 366 icu::UnicodeString result = generator->getFieldDisplayName(field, width); in CanonicalCodeForDisplayNames()
|
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/options/ |
H A D | options_custom.py | 37 "generator": self.generator, 38 "generator-options": self.generator_options, 57 @value(yaml_path="custom.generator", cli_name="custom_generator", cast_to_type=_to_path) 58 def generator(self) -> Optional[str]: member in CustomSuiteOptions 62 @value(yaml_path="custom.generator-options", cli_name="custom_generator_option") 72 "With generator: --custom-suite XXX --custom-test-root TTT --custom-list-root LLL " 73 "--custom-generator GGG --custom-generator-option CGO1 --custom-generator [all...] |
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_generator.cpp | 39 THROW_TYPE_ERROR_AND_RETURN(thread, "Not a generator object.", JSTaggedValue::Exception()); in GeneratorPrototypeNext() 41 JSHandle<JSGeneratorObject> generator(thread, JSGeneratorObject::Cast(*JSTaggedValue::ToObject(thread, msg))); in GeneratorPrototypeNext() 46 JSHandle<JSObject> result = JSGeneratorObject::GeneratorResume(thread, generator, value.GetTaggedValue()); in GeneratorPrototypeNext() 60 THROW_TYPE_ERROR_AND_RETURN(thread, "Not a generator object.", JSTaggedValue::Exception()); in GeneratorPrototypeReturn() 62 JSHandle<JSGeneratorObject> generator(thread, JSGeneratorObject::Cast(*JSTaggedValue::ToObject(thread, msg))); in GeneratorPrototypeReturn() 71 JSHandle<JSObject> result = JSGeneratorObject::GeneratorResumeAbrupt(thread, generator, completionRecord); in GeneratorPrototypeReturn() 85 THROW_TYPE_ERROR_AND_RETURN(thread, "Not a generator object.", JSTaggedValue::Exception()); in GeneratorPrototypeThrow() 87 JSHandle<JSGeneratorObject> generator(thread, JSGeneratorObject::Cast(*JSTaggedValue::ToObject(thread, msg))); in GeneratorPrototypeThrow() 96 JSHandle<JSObject> result = JSGeneratorObject::GeneratorResumeAbrupt(thread, generator, completionRecord); in GeneratorPrototypeThrow()
|
/arkcompiler/runtime_core/static_core/tests/irtoc-interpreter-tests/irtoc-tag/ |
H A D | generate-tag.rb | 18 require 'generator' 58 generator = GeneratorTags::Generator.new(template) 61 next if generator.skip?(instr) 64 generator.generate_file(new_file, instr)
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | stub_compiler.cpp | 139 StubFileGenerator generator(log, logList, triple_, concurrentCompile_); in BuildStubModuleAndSave() 143 Module* stubM = generator.AddModule(&allocator, "bc_stub", triple_, stubOp, log->OutputASM(), StubFileKind::BC); in BuildStubModuleAndSave() 152 Module* comM = generator.AddModule(&allocator, "com_stub", triple_, comOp, log->OutputASM(), StubFileKind::COM); in BuildStubModuleAndSave() 161 Module* builtinM = generator.AddModule(&allocator, "builtin_stub", triple_, builtinOp, log->OutputASM(), in BuildStubModuleAndSave() 171 Module* baselineM = generator.AddModule(&allocator, "baseline_stub", triple_, baselineOp, log->OutputASM(), in BuildStubModuleAndSave() 179 generator.SaveStubFile(filePath_); in BuildStubModuleAndSave()
|
H A D | aot_compiler.cpp | 217 AOTFileGenerator generator(&log, &logList, &aotCompilationEnv, cOptions.triple_, isEnableLiteCG); in Main() 219 passManager.CompileValidFiles(generator, ret, compilerStats); in Main() 223 if (!generator.SaveAOTFile(cOptions.outputFileName_ + AOTFileManager::FILE_EXTENSION_AN, appSignature)) { in Main() 226 if (!generator.SaveSnapshotFile()) { in Main()
|
H A D | pass_manager.h | 137 void CompileValidFiles(AOTFileGenerator &generator, bool &ret, AotCompilerStats &compilerStats); 139 bool Compile(JSPandaFile *jsPandaFile, const std::string &fileName, AOTFileGenerator &generator,
|
H A D | pass_manager.cpp | 245 void PassManager::CompileValidFiles(AOTFileGenerator &generator, bool &ret, AotCompilerStats &compilerStats) 252 generator.SetCurrentCompileFileName(jsPandaFile->GetNormalizedFileDesc()); 253 if (!Compile(jsPandaFile, extendedFilePath, generator, compilerStats, collector)) {
|
H A D | aot_compiler_preprocessor.cpp | 229 AOTFileGenerator generator(&log, &logList, &aotCompilationEnv, cOptions.triple_, false); in AnalyzeGraph() 232 Module *m = generator.AddModule("", cOptions.triple_, lOptions, false); in AnalyzeGraph()
|
/arkcompiler/runtime_core/static_core/tests/cts-generator/ |
H A D | generate-cts.rb | 24 require_relative 'generator/generator' 94 generator = Generator::Parser.new data, output, File.dirname(template_path), skip_header 108 generator.parse skip
|
/arkcompiler/runtime_core/tests/cts-generator/ |
H A D | generate-cts.rb | 24 require_relative 'generator/generator' 94 generator = Generator::Parser.new data, output, File.dirname(template_path), skip_header 108 generator.parse skip
|
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/ |
H A D | doclet.py | 102 generator: Optional[str] = None 188 self.state.generator = generators[0].value 330 generator: str = '' 365 tp.generator = parsed.generator if parsed.generator else ''
|
H A D | generate.py | 176 script = src_full.parent.joinpath(values.generator) 178 log.trace('Test generator: %s', script) 221 if values.generator or values.disable_inlining or values.aot_opts: 223 if values.generator: 305 generator = BenchGenerator(args) 308 bus += generator.generate(lang, settings=settings)
|
/arkcompiler/runtime_core/libpandabase/tests/ |
H A D | mem_range_test.cpp | 33 std::default_random_engine generator; member 39 return distribution(generator); in RandomUintptr() 193 generator.seed(seed_);
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
H A D | mem_map_allocator.h | 288 std::mt19937_64 generator(seed); in RandomGenerateBigAddr() 292 uint64_t randomNum = distribution(generator); in RandomGenerateBigAddr()
|
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/ |
H A D | preparation_step.py | 83 # call of the custom generator 87 cmd = [self.config.custom.generator,
|