Home
last modified time | relevance | path

Searched refs:pass (Results 1 – 25 of 95) sorted by relevance

1234

/arkcompiler/runtime_core/static_core/libllvmbackend/templates/
Dllvm_passes.inl.erb24 % PassRegistry::llvm_passes.each do |pass|
25 …("<%= PassRegistry::passes_namespace %>::<%= pass.name %>", <%= PassRegistry::passes_namespace %>:…
66 namespace pass = <%= PassRegistry::passes_namespace %>;
68 % PassRegistry::llvm_passes.select{|p| p.type.include? 'module'}.each do |pass|
69 if (name.equals(pass::<%= pass.name %>::ARG_NAME)) {
70 if (pass::<%= pass.name %>::ShouldInsert(&options)) {
71 % if pass.setup == 'default'
72 pm.addPass(pass::<%= pass.name %>());
74 pm.addPass(pass::<%= pass.name %>::Create(arkInterface_, &options));
90 namespace pass = <%= PassRegistry::passes_namespace %>;
[all …]
Dllvm_pass.rb43 @passes ||= @data.llvm_passes.map do |pass|
44 Pass.new(OpenStruct.new(pass)).verify_type
/arkcompiler/runtime_core/static_core/compiler/optimizer/
Dpass_manager.cpp154 bool PassManager::RunPass(Pass *pass, size_t localMemSizeBeforePass) in RunPass() argument
156 if (pass->IsAnalysis() && pass->IsValid()) { in RunPass()
160 if (!pass->IsAnalysis() && !static_cast<Optimization *>(pass)->IsEnable()) { in RunPass()
165 stats_->ProcessBeforeRun(*pass); in RunPass()
174 trace::BeginTracePoint(pass->GetPassName()); in RunPass()
178 bool result = pass->Run(); in RunPass()
191 if (pass->IsAnalysis()) { in RunPass()
192 pass->SetValid(result); in RunPass()
194 bool isCodegen = std::string("Codegen") == pass->GetPassName(); in RunPass()
195 if (g_options.IsCompilerDump() && pass->ShouldDump() && !IsCheckMode()) { in RunPass()
[all …]
Dpass_manager.h92 bool RunPass(Pass *pass, size_t localMemSizeBeforePass);
105 T pass(graph_, std::forward<Args>(args)...); in RunPass()
106 res = RunPass(&pass, localMemSizeBefore); in RunPass()
128 void RunPassChecker(Pass *pass, bool result, bool isCodegen);
Dpass_manager_statistics.cpp75 void PassManagerStatistics::ProcessBeforeRun(const Pass &pass) in ProcessBeforeRun() argument
80 COMPILER_LOG(DEBUG, PM) << "Run pass: " << indent << pass.GetPassName(); in ProcessBeforeRun()
95 passStatList_.push_back({passCallDepth_, pass.GetPassName(), {0, 0}, {0, 0}, 0, 0, 0}); in ProcessBeforeRun()
/arkcompiler/runtime_core/compiler/optimizer/
Dpass_manager.cpp122 bool PassManager::RunPass(Pass *pass, size_t local_mem_size_before_pass) in RunPass() argument
124 if (pass->IsAnalysis() && pass->IsValid()) { in RunPass()
128 if (!pass->IsAnalysis() && !static_cast<Optimization *>(pass)->IsEnable()) { in RunPass()
133 stats_->ProcessBeforeRun(*pass); in RunPass()
142 trace::BeginTracePoint(pass->GetPassName()); in RunPass()
146 bool result = pass->Run(); in RunPass()
159 if (pass->IsAnalysis()) { in RunPass()
160 pass->SetValid(result); in RunPass()
162 if (options.IsCompilerDump() && pass->ShouldDump() && !IsCheckMode()) { in RunPass()
164 DumpGraph(pass->GetPassName()); in RunPass()
[all …]
Dpass_manager.h83 bool RunPass(Pass *pass, size_t local_mem_size_before_pass);
96 T pass(graph_, std::forward<Args>(args)...); in RunPass()
97 res = RunPass(&pass, local_mem_size_before); in RunPass()
Dpass_manager_statistics.cpp75 void PassManagerStatistics::ProcessBeforeRun(const Pass &pass) in ProcessBeforeRun() argument
80 COMPILER_LOG(DEBUG, PM) << "Run pass: " << indent << pass.GetPassName(); in ProcessBeforeRun()
96 pass_stat_list_.push_back({pass_call_depth_, pass.GetPassName(), {0, 0}, {0, 0}, 0, 0, 0}); in ProcessBeforeRun()
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/
Dllvm_optimizer.cpp50 void AddPassIf(PassManagerT &passManager, PassT &&pass, bool needInsert = true) in AddPassIf() argument
55 passManager.addPass(std::forward<PassT>(pass)); in AddPassIf()
126 namespace pass = panda::llvmbackend::passes; in ProcessInlineModule()
142 AddPassIf(modulePm, pass::MarkInlineModule(), true); in ProcessInlineModule()
143 AddPassIf(modulePm, pass::CleanupInlineModule(), true); in ProcessInlineModule()
204 namespace pass = panda::llvmbackend::passes; in DoOptimizeModule()
206 AddPassIf(functionPm, pass::ExpandAtomics()); in DoOptimizeModule()
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
DUncheckedCasts.ets49 pass(x: Nullish) { x as T; }
52 expect_ccexc(() => { new CG<X>().pass(x); })
62 pass(x: Nullish) { x as G<T>; }
65 expect_ccexc(() => { new GG<X>().pass(x); })
/arkcompiler/ets_runtime/ecmascript/compiler/
Dcombined_pass_visitor.cpp43 void CombinedPassVisitor::AddPass(PassVisitor* pass) in AddPass() argument
45 passList_.emplace_back(pass); in AddPass()
90 for (auto pass : passList_) { in VisitGraph() local
91 pass->Initialize(); in VisitGraph()
113 for (auto pass : passList_) { in VisitGraph() local
114 pass->Finalize(); in VisitGraph()
/arkcompiler/runtime_core/static_core/tests/checked/
Dchecker.rb520 def PASS_AFTER(pass) argument
523 @current_file_index = @ir_files.index { |x| File.basename(x).include? pass }
524 …raise_error "IR file not found for pass: #{pass}. Possible cause: you forgot to select METHOD firs…
528 def PASS_AFTER_NEXT(pass) argument
531 index = @ir_files[(@current_file_index + 1)..-1].index { |x| File.basename(x).include? pass }
532 …raise_error "IR file not found for pass: #{pass}. Possible cause: you forgot to select METHOD firs…
537 def PASS_BEFORE(pass) argument
540 @current_file_index = @ir_files.index { |x| File.basename(x).include? pass }
541 …raise_error "IR file not found for pass: #{pass}. Possible cause: you forgot to select METHOD firs…
DREADME.md30 * **PASS_AFTER** (pass_name: string) specify pass after which IR commands should operate
31 * **PASS_BEFORE** (pass_name: string) select pass that is right before the specified one
43 … you can't return to the search in the entire method after in the currently analized compiler pass.
/arkcompiler/ets_frontend/ts2panda/tests/
Dlexenv.test.ts246 let pass = new CacheExpander(); variable
250 pass.run(pandaGen);
267 let pass = new CacheExpander(); variable
271 pass.run(pandaGen);
285 let pass = new CacheExpander(); variable
289 pass.run(pandaGen);
307 let pass = new CacheExpander(); variable
311 pass.run(pandaGen);
330 let pass = new CacheExpander(); variable
334 pass.run(pandaGen);
/arkcompiler/ets_runtime/test/jsperftest/
DREADME.md141 | decodeuricomponent/decodeuricomponent.js | decodeuricomponent | pass | 4…
142 | finalizationregistry/finalizationregistryconstructor.js | testconstructor | pass | 6…
143 | finalizationregistry/register.js | testregister | pass | 1…
144 | finalizationregistry/unregister.js | testunregister | pass | 2…
145 | decodeuri/decodeuri.js | decodeuri | pass | 4…
/arkcompiler/runtime_core/static_core/compiler/docs/
Dmemory_barriers_doc.md7 This can happen if we save the object to memory or pass it to another method
20 The pass `OptimizeMemoryBarriers` try remove the flag(set false) from the instruction.
21 We pass through all instructions in PRO order. If the instruction has flag `MEM_BARRIER` we add the…
22 If we visit an instruction that can pass an object to another thread(Store instruction, Call instru…
95 So the pass `OptimizeMemoryBarriers` will remove the flag from these instructions and skip in `10.r…
Dcompiler_doc.md15 **IrBuilder** is first pass of the compiler. It constructs the Intermediate Representation (IR) fro…
16 **Codegen** is last pass of the compiler. It generates native code for target architecture from IR…
53 To use the compiled file(.an), you need to pass the option `--aot-file=file.an` or/and `-aot-files=…
63 - `--compiler-dump` - print compiler IR for each method and each pass. The dumps are saved in folde…
74 - 00XX- the sequence number of the compiler pass
77 - PASSNAME - name of compiler pass
159 The option `--compiler-check-final=true` runs the GraphChecker only after last pass - Codegen. The …
160 If tests failed in ASSERT in the GraphChecker after Codegen pass, try to remove the option `--compi…
173 … [TID 0029aa] D/compiler: [PM] Run pass: ..IrBuilderInlineA…
/arkcompiler/runtime_core/static_core/libllvmbackend/
Dmir_compiler.h33 void InsertBefore(llvm::AnalysisID before, llvm::Pass *pass) in InsertBefore() argument
35 befores_[before] = pass; in InsertBefore()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/13.modules_and_compilation_units/07.top_level_statements/
Dblock_execution.ets20 function pass(): void {
25 pass();
Dmultiple_block_execution.ets20 function pass(): void {
29 pass();
/arkcompiler/runtime_core/tests/checked/
Dchecker.rb454 def PASS_AFTER(pass) argument
457 fname = @ir_files.detect { |x| File.basename(x).include? pass }
458 raise_error "IR file not found for pass: #{pass}" unless fname
462 def PASS_BEFORE(pass) argument
465 index = @ir_files.index { |x| File.basename(x).include? pass }
466 raise_error "IR file not found for pass: #{pass}" unless index
Difcvt.pa24 # Construction before is necessary for compare the quantity of base blocks after pass "MemoryCoal…
43 # Construction after is necessary for compare the quantity of base blocks after pass "MemoryCoale…
/arkcompiler/ets_frontend/test262/
Dharness.patch197 let outcome = test.result.pass ? 'pass' : 'fail';
215 pass: false,
224 pass: false,
233 pass: false,
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/
Dx64_fp_simd_regs.def17 * - %xmm0–%xmm1 used to pass and return floating point arguments
18 - %xmm2–%xmm7 used to pass floating point arguments
/arkcompiler/ets_runtime/test/aottest/asyncfunctionenter/
Dexpect_output.txt14 pass

1234