• Home
  • Raw
  • Download

Lines Matching full:data

227     explicit PassRunner(T1* data) : data_(data) {}  in PassRunner()  argument
242 bool Run(PassData* data) in Run() argument
244 …TimeScope timescope("PreCompileCheckPass", data->GetMethodName(), data->GetMethodOffset(), data->G… in Run()
245 bool enableLog = data->GetLog()->GetEnableMethodLog() && data->GetLog()->OutputType(); in Run()
246 … PreCompileChecker preCompileChecker(data, data->GetCircuit(), data->GetMethodName(), enableLog); in Run()
248 data->AbortCompilation(); in Run()
257 bool Run(PassData* data) in Run() argument
259 …TimeScope timescope("PGOTypeInferPass", data->GetMethodName(), data->GetMethodOffset(), data->GetL… in Run()
260 bool enableLog = data->GetLog()->GetEnableMethodLog() && data->GetLog()->OutputType(); in Run()
261 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
262 …PGOTypeInfer pgoTypeInfer(data->GetCircuit(), data->GetBuilder(), data->GetMethodName(), &chunk, e… in Run()
270 bool Run(PassData *data) in Run() argument
272 PassOptions *passOptions = data->GetPassOptions(); in Run()
276 …TimeScope timescope("EscapeAnalysisPass", data->GetMethodName(), data->GetMethodOffset(), data->Ge… in Run()
277 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
278 … JSRuntimeOptions runtimeOption = data->GetPassContext()->GetCompilationEnv()->GetJSOptions(); in Run()
279 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
280 CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
281 …EscapeAnalysis escapeAnalysis(data->GetCircuit(), &visitor, &chunk, runtimeOption.GetTraceEscapeAn… in Run()
284 … CombinedPassVisitor Editvisitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
285 EscapeAnalysisEditor escapeAnalysisEditor(data->GetCircuit(), &visitor, &chunk, in Run()
296 bool Run(PassData *data) in Run() argument
298 PassOptions *passOptions = data->GetPassOptions(); in Run()
302 TimeScope timescope("InductionVariableAnalysisPass", data->GetMethodName(), in Run()
303 data->GetMethodOffset(), data->GetLog()); in Run()
304 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
305 … JSRuntimeOptions runtimeOption = data->GetPassContext()->GetCompilationEnv()->GetJSOptions(); in Run()
306 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
307 …InductionVariableAnalysis inductionVariableAnalysis(data->GetCircuit(), data->GetPassContext(), en… in Run()
308 data->GetMethodName(), &chunk, in Run()
317 bool Run(PassData* data) in Run() argument
319 PassOptions *passOptions = data->GetPassOptions(); in Run()
323 TimeScope timescope("TypeBytecodeLoweringPass", data->GetMethodName(), in Run()
324 data->GetMethodOffset(), data->GetLog()); in Run()
325 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
326 bool enableTypeLog = data->GetLog()->GetEnableMethodLog() && data->GetLog()->OutputType(); in Run()
327 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
328 TypedBytecodeLowering lowering(data->GetCircuit(), data->GetPassContext(), &chunk, in Run()
331 data->GetMethodName(), in Run()
333 data->GetRecordName(), in Run()
334 data->GetCallMethodFlagMap(), in Run()
335 data->GetPGOProfilerDecoder(), in Run()
336 data->GetOptBCRange(), in Run()
337 data->GetMethodLiteral()); in Run()
339 CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
340 DeadCodeElimination deadCodeElimination(data->GetCircuit(), &visitor, &chunk); in Run()
341 … TSHCROptPass optimization(data->GetCircuit(), &visitor, &chunk, data->GetPassContext(), enableLog, in Run()
342 data->GetMethodName()); in Run()
354 bool Run(PassData* data) in Run() argument
356 PassOptions *passOptions = data->GetPassOptions(); in Run()
360 TimeScope timescope("NTypeBytecodeLoweringPass", data->GetMethodName(), in Run()
361 data->GetMethodOffset(), data->GetLog()); in Run()
362 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
363 …NTypeBytecodeLowering lowering(data->GetCircuit(), data->GetPassContext(), enableLog, data->GetMet… in Run()
364 data->GetRecordName()); in Run()
366 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
367 CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
368 DeadCodeElimination deadCodeElimination(data->GetCircuit(), &visitor, &chunk); in Run()
377 bool Run(PassData* data) in Run() argument
379 PassOptions *passOptions = data->GetPassOptions(); in Run()
383 …TimeScope timescope("StringOptimizationPass", data->GetMethodName(), data->GetMethodOffset(), data in Run()
384 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
385 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
386 StringBuilderOptimizer stringBuilder(data->GetCircuit(), in Run()
388 data->GetMethodName(), in Run()
389 data->GetCompilerConfig(), in Run()
398 bool Run(PassData* data) in Run() argument
400 PassOptions *passOptions = data->GetPassOptions(); in Run()
405 …TimeScope timescope("TypeHCRLoweringPass", data->GetMethodName(), data->GetMethodOffset(), data->G… in Run()
406 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
407 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
408 … CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
409 TypedHCRLowering lowering(data->GetCircuit(), in Run()
410 data->GetPassContext()->GetCompilationEnv(), in Run()
412 data->GetCompilerConfig(), in Run()
421 …TimeScope timescope("TypedNativeInlineLoweringPass", data->GetMethodName(), data->GetMethodOffset(… in Run()
422 data->GetLog()); in Run()
423 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
424 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
425 … CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
426 TypedNativeInlineLowering lowering(data->GetCircuit(), in Run()
428 data->GetPassContext(), in Run()
429 data->GetCompilerConfig(), in Run()
442 bool Run(PassData* data) in Run() argument
444 PassOptions *passOptions = data->GetPassOptions(); in Run()
448 …TimeScope timescope("NTypeHCRLoweringPass", data->GetMethodName(), data->GetMethodOffset(), data->… in Run()
449 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
450 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
451 CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
452 … JSRuntimeOptions runtimeOption = data->GetPassContext()->GetCompilationEnv()->GetJSOptions(); in Run()
453 NTypeHCRLowering lowering(data->GetCircuit(), &visitor, data->GetPassContext(), in Run()
454data->GetRecordName(), data->GetMethodLiteral(), runtimeOption.IsCompilerEnablePgoSpace(), &chunk); in Run()
464 bool Run(PassData* data) in Run() argument
466 PassOptions *passOptions = data->GetPassOptions(); in Run()
470 …TimeScope timescope("LCRLoweringPass", data->GetMethodName(), data->GetMethodOffset(), data->GetLo… in Run()
471 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
472 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
473 CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
474 … MCRLowering lowering(data->GetPassContext()->GetCompilationEnv(), data->GetCircuit(), &visitor, in Run()
475 data->GetCompilerConfig(), &chunk); in Run()
485 bool Run(PassData* data) in Run() argument
487 PassOptions *passOptions = data->GetPassOptions(); in Run()
491 …TimeScope timescope("TSInlineLoweringPass", data->GetMethodName(), data->GetMethodOffset(), data->… in Run()
492 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
493 …TSInlineLowering inlining(data->GetCircuit(), data->GetPassContext(), enableLog, data->GetMethodNa… in Run()
494data->GetNativeAreaAllocator(), passOptions, data->GetMethodOffset(), in Run()
495 data->GetCallMethodFlagMap()); in Run()
497 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
500 … CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
501 … GetEnvSpecializationPass getEnvSpecializationPass(data->GetCircuit(), &visitor, &chunk); in Run()
507 … CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
508 … LexicalEnvSpecializationPass lexicalEnvSpecializationPass(data->GetCircuit(), &visitor, &chunk, in Run()
518 …NativeInlineLowering nativeInline(data->GetCircuit(), data->GetCompilerConfig(), data->GetPassCont… in Run()
519 enableLog, data->GetMethodName(), &chunk); in Run()
528 bool Run(PassData* data) in Run() argument
530 …TimeScope timescope("SlowPathLoweringPass", data->GetMethodName(), data->GetMethodOffset(), data->… in Run()
531 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
532 … SlowPathLowering lowering(data->GetCircuit(), data->GetCompilerConfig(), data->GetPassContext(), in Run()
533 data->GetMethodLiteral(), enableLog, data->GetMethodName()); in Run()
541 bool Run(PassData* data) in Run() argument
543 …TimeScope timescope("FlowCyclesVerifierPass", data->GetMethodName(), data->GetMethodOffset(), data in Run()
544 bool hasFlowCycle = Verifier::RunFlowCyclesFind(data->GetCircuit()); in Run()
555 bool Run(PassData* data) in Run() argument
557 …TimeScope timescope("VerifierPass", data->GetMethodName(), data->GetMethodOffset(), data->GetLog()… in Run()
558 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
559 bool isQualified = Verifier::Run(data->GetCircuit(), data->GetMethodName(), enableLog); in Run()
570 bool Run(PassData* data) in Run() argument
572 PassOptions *passOptions = data->GetPassOptions(); in Run()
576 …TimeScope timescope("NumberSpeculativePass", data->GetMethodName(), data->GetMethodOffset(), data-… in Run()
577 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
578 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
580 CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
581 NumberSpeculativeRunner(data->GetCircuit(), enableLog, enableArrayBoundsCheckElimination, in Run()
582 data->GetMethodName(), &chunk).Run(); in Run()
589 bool Run(PassData* data) in Run() argument
591 PassOptions *passOptions = data->GetPassOptions(); in Run()
595 …TimeScope timescope("ConstantFoldingPass", data->GetMethodName(), data->GetMethodOffset(), data->G… in Run()
596 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
597 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
598 CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
599 …ConstantFolding constantFolding(data->GetCircuit(), &visitor, data->GetCompilerConfig(), enableLog, in Run()
600 data->GetMethodName(), &chunk); in Run()
610 bool Run(PassData* data) in Run() argument
612 …TimeScope timescope("LoopOptimizationPass", data->GetMethodName(), data->GetMethodOffset(), data->… in Run()
613 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
614 LoopAnalysis loopAnalysis(data->GetBuilder(), data->GetCircuit(), &chunk); in Run()
616 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
622 if (data->GetPassOptions()->EnableOptLoopPeeling()) { in Run()
623 LoopPeeling(data->GetBuilder(), data->GetCircuit(), enableLog, in Run()
624 data->GetMethodName(), &chunk, loopInfo).Peel(); in Run()
634 bool Run(PassData* data) in Run() argument
636 TimeScope timescope("RedundantPhiEliminationPass", data->GetMethodName(), in Run()
637 data->GetMethodOffset(), data->GetLog()); in Run()
638 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
639 GraphEditor::EliminateRedundantPhi(data->GetCircuit(), enableLog, data->GetMethodName()); in Run()
646 bool Run(PassData* data) in Run() argument
648 PassOptions *passOptions = data->GetPassOptions(); in Run()
652 TimeScope timescope("EarlyEliminationPass", data->GetMethodName(), in Run()
653 data->GetMethodOffset(), data->GetLog()); in Run()
654 … bool enableLog = data->GetLog()->EnableMethodCIRLog() || data->GetLog()->EnableMethodASMLog(); in Run()
655 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
656 CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
657 … JSRuntimeOptions runtimeOption = data->GetPassContext()->GetCompilationEnv()->GetJSOptions(); in Run()
658 EarlyElimination earlyElimination(data->GetCircuit(), &visitor, &chunk, in Run()
669 bool Run(PassData* data) in Run() argument
671 PassOptions *passOptions = data->GetPassOptions(); in Run()
675 TimeScope timescope("LaterEliminationPass", data->GetMethodName(), in Run()
676 data->GetMethodOffset(), data->GetLog()); in Run()
677 … bool enableLog = data->GetLog()->EnableMethodCIRLog() || data->GetLog()->EnableMethodASMLog(); in Run()
678 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
679 CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
680 LaterElimination laterElimination(data->GetCircuit(), &visitor, &chunk); in Run()
690 bool Run(PassData* data) in Run() argument
692 TimeScope timescope("UselessGateEliminationPass", data->GetMethodName(), in Run()
693 data->GetMethodOffset(), data->GetLog()); in Run()
694 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
695 …UselessGateElimination uselessGateElimination(data->GetCircuit(), enableLog, data->GetMethodName()… in Run()
703 bool Run(PassData* data) in Run() argument
705 PassOptions *passOptions = data->GetPassOptions(); in Run()
709 … JSRuntimeOptions runtimeOption = data->GetPassContext()->GetCompilationEnv()->GetJSOptions(); in Run()
710 …TimeScope timescope("ValueNumberingPass", data->GetMethodName(), data->GetMethodOffset(), data->Ge… in Run()
711 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
712 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
713 CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
714 ValueNumbering valueNumbering(data->GetCircuit(), &visitor, &chunk, in Run()
726 bool Run(PassData *data) in Run() argument
728 … JSRuntimeOptions runtimeOption = data->GetPassContext()->GetCompilationEnv()->GetJSOptions(); in Run()
730 … TimeScope timescope("InstructionCombinePass", data->GetMethodName(), data->GetMethodOffset(), in Run()
731 data->GetLog()); in Run()
732 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
733 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
734 … CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
735 InstructionCombine instructionCombine(data->GetCircuit(), &visitor, &chunk, in Run()
747 bool Run(PassData* data) in Run() argument
749 …TimeScope timescope("SchedulingPass", data->GetMethodName(), data->GetMethodOffset(), data->GetLog… in Run()
750 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
751 Scheduler::Run(data->GetCircuit(), data->GetCfg(), data->GetMethodName(), enableLog); in Run()
752 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
754 …PostSchedule(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk, true).Run(data->GetCfg(… in Run()
756 …PostSchedule(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk, false).Run(data->GetCfg… in Run()
764 bool Run(PassData* data) in Run() argument
766 PassOptions *passOptions = data->GetPassOptions(); in Run()
770 TimeScope timescope("StateSplitLinearizerPass", data->GetMethodName(), in Run()
771 data->GetMethodOffset(), data->GetLog()); in Run()
772 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
773 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
774 … StateSplitLinearizer(data->GetPassContext()->GetCompilationEnv(), data->GetCircuit(), nullptr, in Run()
775 data->GetCompilerConfig(), enableLog, data->GetMethodName(), &chunk) in Run()
783 bool Run(PassData* data) in Run() argument
785 …TimeScope timescope("GraphLinearizerPass", data->GetMethodName(), data->GetMethodOffset(), data->G… in Run()
786 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
787 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
788 bool licm = data->GetPassOptions()->EnableOptLoopInvariantCodeMotion(); in Run()
789 …bool liteCG = data->GetPassContext()->GetCompilationEnv()->GetJSOptions().IsCompilerEnableLiteCG(); in Run()
790 …bool enableStoreBarrier = data->GetPassContext()->GetCompilationEnv()->GetJSOptions().IsStoreBarri… in Run()
791 … GraphLinearizer(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk, false, licm, liteCG) in Run()
792 .Run(data->GetCfg()); in Run()
793 … PostSchedule(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk, enableStoreBarrier) in Run()
794 .Run(data->GetCfg()); in Run()
813 bool Run(PassData *data) in Run() argument
815 auto module = data->GetAotModule(); in Run()
816 …TimeScope timescope("CGIRGenPass", data->GetMethodName(), data->GetMethodOffset(), data->GetLog()); in Run()
817 … bool enableLog = data->GetLog()->EnableMethodCIRLog() || data->GetLog()->EnableMethodASMLog(); in Run()
818 PassOptions *passOptions = data->GetPassOptions(); in Run()
822 CodeGenerator codegen(cgImpl_, data->GetMethodName()); in Run()
823 codegen.Run(data->GetCircuit(), data->GetConstScheduleResult(), data->GetCompilerConfig(), in Run()
824data->GetMethodLiteral(), data->GetJSPandaFile(), data->GetCircuit()->GetFrameType(), in Run()
834 bool Run(PassData* data) in Run() argument
836 TimeScope timescope("AsyncFunctionLoweringPass", data->GetMethodName(), in Run()
837 data->GetMethodOffset(), data->GetLog()); in Run()
838 … bool enableLog = data->GetLog()->EnableMethodCIRLog() || data->GetLog()->EnableMethodASMLog(); in Run()
839 … AsyncFunctionLowering lowering(data->GetBuilder(), data->GetCircuit(), data->GetCompilerConfig(), in Run()
840 enableLog, data->GetMethodName()); in Run()
848 bool IsFunctionMain(PassData* data) in IsFunctionMain() argument
850 auto methodName = data->GetMethodName(); in IsFunctionMain()