| /arkcompiler/runtime_core/static_core/libllvmbackend/templates/ |
| D | llvm_passes.inl.erb | 24 % PassRegistry::llvm_passes.each do |pass| 25 …("<%= PassRegistry::passes_namespace %>::<%= pass.name %>", <%= PassRegistry::passes_namespace %>:… 71 namespace pass = <%= PassRegistry::passes_namespace %>; 73 % PassRegistry::llvm_passes.select{|p| p.type.include? 'module'}.each do |pass| 74 if (name.equals(pass::<%= pass.name %>::ARG_NAME)) { 75 if (pass::<%= pass.name %>::ShouldInsert(&options)) { 76 % if pass.setup == 'default' 77 pm.addPass(pass::<%= pass.name %>()); 79 pm.addPass(pass::<%= pass.name %>::Create(arkInterface_, &options)); 95 namespace pass = <%= PassRegistry::passes_namespace %>; [all …]
|
| D | llvm_pass.rb | 17 class Pass < SimpleDelegator class 28 raise "Unknown pass-type `#{pass_type}` in pass `#{self['name']}` description." 43 @passes ||= @data.llvm_passes.map do |pass| 44 Pass.new(OpenStruct.new(pass)).verify_type
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ |
| D | pass.h | 25 class Pass { 27 explicit Pass(Graph *graph) : graph_(graph) {} in Pass() function 28 virtual ~Pass() = default; 31 * Run pass execution. 79 NO_MOVE_SEMANTIC(Pass); 80 NO_COPY_SEMANTIC(Pass); 92 class Optimization : public Pass { 94 using Pass::Pass; 107 class Analysis : public Pass { 109 explicit Analysis(Graph *graph) : Pass(graph) in Analysis() [all …]
|
| D | pass_manager.cpp | 155 bool PassManager::RunPass(Pass *pass, size_t localMemSizeBeforePass) in RunPass() argument 157 if (pass->IsAnalysis() && pass->IsValid()) { in RunPass() 161 if (!pass->IsAnalysis() && !static_cast<Optimization *>(pass)->IsEnable()) { in RunPass() 166 stats_->ProcessBeforeRun(*pass); in RunPass() 175 trace::BeginTracePoint(pass->GetPassName()); in RunPass() 179 bool result = pass->Run(); in RunPass() 192 if (pass->IsAnalysis()) { in RunPass() 193 pass->SetValid(result); in RunPass() 195 bool isCodegen = std::string("Codegen") == pass->GetPassName(); in RunPass() 196 if (g_options.IsCompilerDump() && pass->ShouldDump() && !IsCheckMode()) { in RunPass() [all …]
|
| D | pass_manager.h | 21 #include "pass.h" 28 class Pass; variable 92 PANDA_PUBLIC_API bool RunPass(Pass *pass, size_t localMemSizeBeforePass); 105 T pass(graph_, std::forward<Args>(args)...); in RunPass() 106 res = RunPass(&pass, localMemSizeBefore); in RunPass() 129 bool RunPassChecker(Pass *pass, bool result, bool isCodegen); 130 bool RunPassChecker(Pass *pass, bool result, bool isCodegen);
|
| /arkcompiler/runtime_core/compiler/optimizer/ |
| D | pass.h | 25 class Pass { 27 explicit Pass(Graph *graph) : graph_(graph) {} in Pass() function 28 virtual ~Pass() = default; 31 * Run pass execution. 79 NO_MOVE_SEMANTIC(Pass); 80 NO_COPY_SEMANTIC(Pass); 92 class Optimization : public Pass { 94 using Pass::Pass; 107 class Analysis : public Pass { 109 explicit Analysis(Graph *graph) : Pass(graph) in Analysis() [all …]
|
| D | pass_manager.cpp | 110 bool PassManager::RunPass(Pass *pass, size_t local_mem_size_before_pass) in RunPass() argument 112 if (pass->IsAnalysis() && pass->IsValid()) { in RunPass() 116 if (!pass->IsAnalysis() && !static_cast<Optimization *>(pass)->IsEnable()) { in RunPass() 121 stats_->ProcessBeforeRun(*pass); in RunPass() 130 trace::BeginTracePoint(pass->GetPassName()); in RunPass() 134 bool result = pass->Run(); in RunPass() 147 if (pass->IsAnalysis()) { in RunPass() 148 pass->SetValid(result); in RunPass() 150 if (options.IsCompilerDump() && pass->ShouldDump() && !IsCheckMode()) { in RunPass() 152 DumpGraph(pass->GetPassName()); in RunPass() [all …]
|
| D | pass_manager.h | 21 #include "pass.h" 28 class Pass; variable 83 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()
|
| /arkcompiler/runtime_core/static_core/libllvmbackend/transforms/passes/ |
| D | passes.yaml | 17 module: 'Pass runs on the whole llvm IR module' 18 scc: 'Pass runs on the strongly connected component' 19 function: 'Pass runs on the certain llvm IR function' 20 loop: 'Pass runs on the loop' 57 description: Wrapper for SpeculativeExecution pass 62 description: Wrapper for InlineAdvisorAnalysis pass 67 description: Pass to check if Irtoc inlining succeeded 96 The pass removes dominated builtins and replaces it by 103 The pass places memory barriers where it is necessary. 109 The pass replaces intrinsic instructions and FRem with corresponding [all …]
|
| /arkcompiler/runtime_core/static_core/libllvmbackend/ |
| D | mir_compiler.h | 22 #include <llvm/Pass.h> 31 void add(llvm::Pass *p) override; 33 void InsertBefore(llvm::AnalysisID before, llvm::Pass *pass) in InsertBefore() argument 35 befores_[before] = pass; in InsertBefore() 39 std::unordered_map<llvm::AnalysisID, llvm::Pass *> befores_;
|
| /arkcompiler/runtime_core/libabckit/tests/stress/ |
| D | stress_test.py | 60 pass 64 pass 68 pass 90 pass 94 pass 98 pass
|
| /arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/ |
| D | x_shell.py | 27 pass 32 pass 37 pass 42 pass
|
| /arkcompiler/runtime_core/bytecode_optimizer/ |
| D | options.yaml | 33 description: Enable Canonicalization Pass 38 description: Enable Constant Resolver Pass 53 description: Enable BytecodeOptPeepholes Pass 58 description: Enable ConstArray Resolver Pass
|
| /arkcompiler/runtime_core/static_core/bytecode_optimizer/ |
| D | options.yaml | 33 description: Enable Canonicalization Pass 38 description: Enable Constant Resolver Pass 53 description: Enable BytecodeOptPeepholes Pass 58 description: Enable ConstArray Resolver Pass
|
| /arkcompiler/runtime_core/static_core/libllvmbackend/transforms/ |
| D | pipeline_irtoc.cfg | 29 lcssa, # Loop-Closed SSA Form Pass 71 lcssa, # Loop-Closed SSA Form Pass 84 lcssa, # Loop-Closed SSA Form Pass 103 lcssa, # Loop-Closed SSA Form Pass 125 lcssa, # Loop-Closed SSA Form Pass 149 lcssa, # Loop-Closed SSA Form Pass 153 lcssa, # Loop-Closed SSA Form Pass 165 lcssa, # Loop-Closed SSA Form Pass
|
| D | pipeline.cfg | 28 lcssa # Loop-Closed SSA Form Pass 69 lcssa, # Loop-Closed SSA Form Pass 82 lcssa, # Loop-Closed SSA Form Pass 102 lcssa, # Loop-Closed SSA Form Pass 121 lcssa, # Loop-Closed SSA Form Pass 169 lcssa, # Loop-Closed SSA Form Pass 185 lcssa, # Loop-Closed SSA Form Pass 209 lcssa, # Loop-Closed SSA Form Pass 213 lcssa, # Loop-Closed SSA Form Pass 225 lcssa, # Loop-Closed SSA Form Pass
|
| /arkcompiler/runtime_core/bytecode_optimizer/tests/ |
| D | constant_propagation_test.cpp | 172 * @tc.desc: Verify the pass to fold greater. 187 * @tc.desc: Verify the pass to fold greater but has no effect. 202 * @tc.desc: Verify the pass to fold greatereq. 217 * @tc.desc: Verify the pass to fold greatereq but has no effect. 232 * @tc.desc: Verify the pass to fold less. 247 * @tc.desc: Verify the pass to fold less but has no effect. 262 * @tc.desc: Verify the pass to fold lesseq. 277 * @tc.desc: Verify the pass to fold lesseq but has no effect. 292 * @tc.desc: Verify the pass to fold eq. 307 * @tc.desc: Verify the pass to fold eq but has no effect. [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/ |
| D | compiler.yaml | 54 description: Dump ir only after last (codegen) pass 199 description: Enable Lowering Pass 205 description: Enable Code Sink Pass 211 description: Enable Balance Expressions Pass 217 description: Enable Branch Elimination Pass 223 description: Enable Optimize String.concat Pass 229 description: Enable Simplify StringBuilder Pass 235 description: Enable Reserve StringBuilder Buffer Pass 241 description: Enable Checks Elimination Pass 253 description: Enable Deoptimize Elimination Pass [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/compiler_verification/ |
| D | expression_verifier.py | 39 pass 68 pass 92 pass 134 pass 139 pass
|
| /arkcompiler/runtime_core/static_core/compiler/docs/ |
| D | memory_barriers_doc.md | 7 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…
|
| /arkcompiler/runtime_core/compiler/ |
| D | compiler.yaml | 44 description: Dump ir only after last (codegen) pass 175 description: Enable Lowering Pass 181 description: Enable Code Sink Pass 187 description: Enable Balance Expressions Pass 193 description: Enable Branch Elimination Pass 199 description: Enable Checks Elimination Pass 211 description: Enable Deoptimize Elimination Pass 230 description: Enable LICM Pass 243 description: Enable Loop peeling Pass 249 description: Enable Loop unroll Pass [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/objoperate/ |
| D | expect_output.txt | 14 PASS 15 PASS
|
| /arkcompiler/runtime_core/static_core/tests/checked/ |
| D | checker.rb | 298 # Using exec to pass signal info to the parent process. 597 def PASS_AFTER(pass) argument 600 $current_pass = "Pass after: #{pass}" 601 @current_file_index = @ir_files.index { |x| File.basename(x).include? pass } 602 …raise_error "IR file not found for pass: #{pass}. Possible cause: you forgot to select METHOD firs… 606 def PASS_AFTER_NEXT(pass) argument 609 $current_pass = "Pass after next: #{pass}" 610 index = @ir_files[(@current_file_index + 1)..-1].index { |x| File.basename(x).include? pass } 611 …raise_error "IR file not found for pass: #{pass}. Possible cause: you forgot to select METHOD firs… 616 def PASS_BEFORE(pass) argument [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/perf/benchmarks/ |
| D | caller.js | 19 PassVoid : JSCallee.Pass, 20 PassArrays : JSCallee.Pass, 21 PassNumbers : JSCallee.Pass, 22 PassStrings : JSCallee.Pass,
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/13.compilation_units_packages_and_modules/11.top-level_statements/ |
| D | block_execution.sts | 20 function pass(): void { 25 pass();
|