| /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 | 127 bool PassManager::RunPass(Pass *pass, size_t local_mem_size_before_pass) in RunPass() argument 129 if (pass->IsAnalysis() && pass->IsValid()) { in RunPass() 133 if (!pass->IsAnalysis() && !static_cast<Optimization *>(pass)->IsEnable()) { in RunPass() 138 stats_->ProcessBeforeRun(*pass); in RunPass() 147 trace::BeginTracePoint(pass->GetPassName()); in RunPass() 151 bool result = pass->Run(); in RunPass() 164 if (pass->IsAnalysis()) { in RunPass() 165 pass->SetValid(result); in RunPass() 167 bool is_codegen = std::string("Codegen") == pass->GetPassName(); in RunPass() 168 if (options.IsCompilerDump() && pass->ShouldDump() && !IsCheckMode()) { in RunPass() [all …]
|
| D | pass_manager.h | 21 #include "pass.h" 28 class Pass; variable 89 bool RunPass(Pass *pass, size_t local_mem_size_before_pass); 102 T pass(graph_, std::forward<Args>(args)...); in RunPass() 103 res = RunPass(&pass, local_mem_size_before); in RunPass()
|
| D | pass_manager_statistics.h | 24 class Pass; variable 34 void ProcessBeforeRun(const Pass &pass);
|
| D | pass_manager_statistics.cpp | 48 << std::setw(OFFSET_PASS_NAME) << "Pass Name" << ": " << std::right in PrintStatistics() 74 void PassManagerStatistics::ProcessBeforeRun(const Pass &pass) in ProcessBeforeRun() argument 79 COMPILER_LOG(DEBUG, PM) << "Run pass: " << indent << pass.GetPassName(); in ProcessBeforeRun() 94 pass_stat_list_.push_back({pass_call_depth_, pass.GetPassName(), {0, 0}, {0, 0}, 0, 0, 0}); in ProcessBeforeRun()
|
| D | pass.cpp | 16 #include "pass.h" 20 bool Pass::Run() in Run()
|
| /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
|
| D | reg_encoder.h | 20 #include "compiler/optimizer/pass.h" 49 * This pass solves following problems: 65 * After the pass: 107 // true: Pass applied successfully 108 // false: Unable to apply pass because of insufficient number of registers
|
| /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/runtime_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/ets_frontend/ts2panda/src/pass/ |
| D | cacheExpander.ts | 23 import { Pass } from "../pass"; 26 export class CacheExpander implements Pass {
|
| /arkcompiler/ets_runtime/test/moduletest/objoperate/ |
| D | expect_output.txt | 14 PASS 15 PASS
|
| /arkcompiler/ets_frontend/ts2panda/tests/utils/ |
| D | base.ts | 27 import { Pass } from "../../src/pass"; 148 export function compileAllSnippet(snippet: string, passes?: Pass[], literalBufferArray?: Array<Lite… 170 …t function compileMainSnippet(snippet: string, pandaGen?: PandaGen, scope?: Scope, passes?: Pass[], 233 compile(snippet: string, passes?: Pass[], literalBufferArray?: Array<LiteralBuffer>) { 238 …compileAfter(snippet: string, name: string, passes?: Pass[], literalBufferArray?: Array<LiteralBuf…
|
| /arkcompiler/ets_frontend/test262/ |
| D | harness.patch | 124 - process.stdout.write(`PASS ${test.file}`); 125 + let mess = `PASS ${test.file} (${test.scenario})\n` 197 let outcome = test.result.pass ? 'pass' : 'fail'; 215 pass: false, 224 pass: false, 233 pass: false,
|
| /arkcompiler/ets_frontend/ts2panda/tests/types/ |
| D | typeUtils.ts | 18 import { CacheExpander } from "../../src/pass/cacheExpander"; 22 import { Pass } from "../../src/pass"; 52 let passes: Pass[] = [
|
| /arkcompiler/ets_frontend/ts2panda/src/ |
| D | compilerDriver.ts | 34 import { Pass } from "./pass"; 35 import { CacheExpander } from "./pass/cacheExpander"; 74 private passes: Pass[] = []; 115 setCustomPasses(passes: Pass[]) { 273 this.passes.forEach((pass) => pass.run(pandaGen)); 321 this.passes.forEach((pass) => pass.run(pandaGen));
|
| /arkcompiler/ets_frontend/ts2panda/tests/ |
| D | lexenv.test.ts | 44 import { CacheExpander } from "../src/pass/cacheExpander"; 246 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 [all …]
|
| /arkcompiler/runtime_core/tests/checked/ |
| D | checker.rb | 454 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
|
| D | ifcvt.pa | 24 # 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…
|
| D | README.md | 30 * **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
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | llvm_codegen.cpp | 144 …// pass manager creation:rs4gc pass is the only pass in modPass, other opt module-based pass are i… in BuildAndRunPasses() 148 // add pass into pass managers in BuildAndRunPasses() 150 llvm::unwrap(modPass)->add(llvm::createRewriteStatepointsForGCLegacyPass()); // rs4gc pass added in BuildAndRunPasses()
|
| /arkcompiler/runtime_core/runtime/bridge/arch/amd64/ |
| D | handle_call_v4_imm4_id16_amd64.S | 39 // pass Reg, then Acc 58 .Lshort_acc_1: // pass Acc, then Reg
|
| /arkcompiler/ets_frontend/es2panda/test/ |
| D | test262util.py | 93 pass 144 negative_phase = match.group('phase') if match else 'pass' 147 # negative_phase: pass, parse, resolution, runtime
|
| /arkcompiler/ets_runtime/test/aottest/closeiterator/ |
| D | expect_output.txt | 14 pass
|
| /arkcompiler/ets_runtime/test/aottest/callithisrange/ |
| D | expect_output.txt | 14 pass
|