• Home
  • Raw
  • Download

Lines Matching full:data

230     explicit PassRunner(T1* data) : data_(data) {}  in PassRunner()  argument
245 bool Run(PassData* data) in Run() argument
247 …TimeScope timescope("PreCompileCheckPass", data->GetMethodName(), data->GetMethodOffset(), data->G… in Run()
248 bool enableLog = data->GetLog()->GetEnableMethodLog() && data->GetLog()->OutputType(); in Run()
249 … PreCompileChecker preCompileChecker(data, data->GetCircuit(), data->GetMethodName(), enableLog); in Run()
251 data->AbortCompilation(); in Run()
260 bool Run(PassData* data) in Run() argument
262 …TimeScope timescope("PGOTypeInferPass", data->GetMethodName(), data->GetMethodOffset(), data->GetL… in Run()
263 bool enableLog = data->GetLog()->GetEnableMethodLog() && data->GetLog()->OutputType(); in Run()
264 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
265 …PGOTypeInfer pgoTypeInfer(data->GetCircuit(), data->GetBuilder(), data->GetMethodName(), &chunk, e… in Run()
273 bool Run(PassData *data) in Run() argument
275 PassOptions *passOptions = data->GetPassOptions(); in Run()
279 …TimeScope timescope("EscapeAnalysisPass", data->GetMethodName(), data->GetMethodOffset(), data->Ge… in Run()
280 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
281 … JSRuntimeOptions runtimeOption = data->GetPassContext()->GetCompilationEnv()->GetJSOptions(); in Run()
282 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
283 CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
284 …EscapeAnalysis escapeAnalysis(data->GetCircuit(), &visitor, &chunk, runtimeOption.GetTraceEscapeAn… in Run()
287 … CombinedPassVisitor Editvisitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
288 EscapeAnalysisEditor escapeAnalysisEditor(data->GetCircuit(), &visitor, &chunk, in Run()
299 bool Run(PassData *data) in Run() argument
301 PassOptions *passOptions = data->GetPassOptions(); in Run()
305 TimeScope timescope("InductionVariableAnalysisPass", data->GetMethodName(), in Run()
306 data->GetMethodOffset(), data->GetLog()); in Run()
307 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
308 … JSRuntimeOptions runtimeOption = data->GetPassContext()->GetCompilationEnv()->GetJSOptions(); in Run()
309 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
310 …InductionVariableAnalysis inductionVariableAnalysis(data->GetCircuit(), data->GetPassContext(), en… in Run()
311 data->GetMethodName(), &chunk, in Run()
320 bool Run(PassData* data) in Run() argument
322 PassOptions *passOptions = data->GetPassOptions(); in Run()
326 TimeScope timescope("TypeBytecodeLoweringPass", data->GetMethodName(), in Run()
327 data->GetMethodOffset(), data->GetLog()); in Run()
328 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
329 bool enableTypeLog = data->GetLog()->GetEnableMethodLog() && data->GetLog()->OutputType(); in Run()
330 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
331 TypedBytecodeLowering lowering(data->GetCircuit(), data->GetPassContext(), &chunk, in Run()
334 data->GetMethodName(), in Run()
336 data->GetRecordName(), in Run()
337 data->GetCallMethodFlagMap(), in Run()
338 data->GetPGOProfilerDecoder(), in Run()
339 data->GetOptBCRange(), in Run()
340 data->GetMethodLiteral()); in Run()
342 CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
343 DeadCodeElimination deadCodeElimination(data->GetCircuit(), &visitor, &chunk); in Run()
344 … TSHCROptPass optimization(data->GetCircuit(), &visitor, &chunk, data->GetPassContext(), enableLog, in Run()
345 data->GetMethodName()); in Run()
357 bool Run(PassData* data) in Run() argument
359 PassOptions *passOptions = data->GetPassOptions(); in Run()
363 TimeScope timescope("NTypeBytecodeLoweringPass", data->GetMethodName(), in Run()
364 data->GetMethodOffset(), data->GetLog()); in Run()
365 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
366 …NTypeBytecodeLowering lowering(data->GetCircuit(), data->GetPassContext(), enableLog, data->GetMet… in Run()
367 data->GetRecordName()); in Run()
369 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
370 CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
371 DeadCodeElimination deadCodeElimination(data->GetCircuit(), &visitor, &chunk); in Run()
380 bool Run(PassData* data) in Run() argument
382 PassOptions *passOptions = data->GetPassOptions(); in Run()
386 …TimeScope timescope("StringOptimizationPass", data->GetMethodName(), data->GetMethodOffset(), data in Run()
387 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
388 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
389 StringBuilderOptimizer stringBuilder(data->GetCircuit(), in Run()
391 data->GetMethodName(), in Run()
392 data->GetCompilerConfig(), in Run()
401 bool Run(PassData* data) in Run() argument
403 PassOptions *passOptions = data->GetPassOptions(); in Run()
408 …TimeScope timescope("TypeHCRLoweringPass", data->GetMethodName(), data->GetMethodOffset(), data->G… in Run()
409 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
410 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
411 … CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
412 TypedHCRLowering lowering(data->GetCircuit(), in Run()
413 data->GetPassContext()->GetCompilationEnv(), in Run()
415 data->GetCompilerConfig(), in Run()
424 …TimeScope timescope("TypedNativeInlineLoweringPass", data->GetMethodName(), data->GetMethodOffset(… in Run()
425 data->GetLog()); in Run()
426 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
427 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
428 … CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
429 TypedNativeInlineLowering lowering(data->GetCircuit(), in Run()
431 data->GetPassContext(), in Run()
432 data->GetCompilerConfig(), in Run()
445 bool Run(PassData* data) in Run() argument
447 PassOptions *passOptions = data->GetPassOptions(); in Run()
451 …TimeScope timescope("NTypeHCRLoweringPass", data->GetMethodName(), data->GetMethodOffset(), data->… in Run()
452 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
453 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
454 CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
455 NTypeHCRLowering lowering(data->GetCircuit(), &visitor, data->GetPassContext(), in Run()
456 data->GetRecordName(), data->GetMethodLiteral(), &chunk); in Run()
466 bool Run(PassData* data) in Run() argument
468 PassOptions *passOptions = data->GetPassOptions(); in Run()
472 …TimeScope timescope("LCRLoweringPass", data->GetMethodName(), data->GetMethodOffset(), data->GetLo… in Run()
473 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
474 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
475 CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
476 … MCRLowering lowering(data->GetPassContext()->GetCompilationEnv(), data->GetCircuit(), &visitor, in Run()
477 data->GetCompilerConfig(), &chunk); in Run()
487 bool Run(PassData* data) in Run() argument
489 PassOptions *passOptions = data->GetPassOptions(); in Run()
493 …TimeScope timescope("TSInlineLoweringPass", data->GetMethodName(), data->GetMethodOffset(), data->… in Run()
494 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
495 …TSInlineLowering inlining(data->GetCircuit(), data->GetPassContext(), enableLog, data->GetMethodNa… in Run()
496data->GetNativeAreaAllocator(), passOptions, data->GetMethodOffset(), in Run()
497 data->GetCallMethodFlagMap()); in Run()
499 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
502 … CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
503 … GetEnvSpecializationPass getEnvSpecializationPass(data->GetCircuit(), &visitor, &chunk); in Run()
509 … CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
510 … LexicalEnvSpecializationPass lexicalEnvSpecializationPass(data->GetCircuit(), &visitor, &chunk, in Run()
520 …NativeInlineLowering nativeInline(data->GetCircuit(), data->GetCompilerConfig(), data->GetPassCont… in Run()
521 enableLog, data->GetMethodName(), &chunk); in Run()
530 bool Run(PassData* data) in Run() argument
532 …TimeScope timescope("SlowPathLoweringPass", data->GetMethodName(), data->GetMethodOffset(), data->… in Run()
533 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
534 … SlowPathLowering lowering(data->GetCircuit(), data->GetCompilerConfig(), data->GetPassContext(), in Run()
535 data->GetMethodLiteral(), enableLog, data->GetMethodName()); in Run()
543 bool Run(PassData* data) in Run() argument
545 …TimeScope timescope("FlowCyclesVerifierPass", data->GetMethodName(), data->GetMethodOffset(), data in Run()
546 bool hasFlowCycle = Verifier::RunFlowCyclesFind(data->GetCircuit()); in Run()
557 bool Run(PassData* data) in Run() argument
559 …TimeScope timescope("VerifierPass", data->GetMethodName(), data->GetMethodOffset(), data->GetLog()… in Run()
560 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
561 bool isQualified = Verifier::Run(data->GetCircuit(), data->GetMethodName(), enableLog); in Run()
572 bool Run(PassData* data) in Run() argument
574 PassOptions *passOptions = data->GetPassOptions(); in Run()
578 …TimeScope timescope("NumberSpeculativePass", data->GetMethodName(), data->GetMethodOffset(), data-… in Run()
579 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
580 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
582 CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
583 NumberSpeculativeRunner(data->GetCircuit(), enableLog, enableArrayBoundsCheckElimination, in Run()
584 data->GetMethodName(), &chunk).Run(); in Run()
591 bool Run(PassData* data) in Run() argument
593 PassOptions *passOptions = data->GetPassOptions(); in Run()
597 …TimeScope timescope("ConstantFoldingPass", data->GetMethodName(), data->GetMethodOffset(), data->G… in Run()
598 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
599 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
600 CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
601 …ConstantFolding constantFolding(data->GetCircuit(), &visitor, data->GetCompilerConfig(), enableLog, in Run()
602 data->GetMethodName(), &chunk); in Run()
612 bool Run(PassData* data) in Run() argument
614 …TimeScope timescope("LoopOptimizationPass", data->GetMethodName(), data->GetMethodOffset(), data->… in Run()
615 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
616 LoopAnalysis loopAnalysis(data->GetBuilder(), data->GetCircuit(), &chunk); in Run()
618 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
624 if (data->GetPassOptions()->EnableOptLoopPeeling()) { in Run()
625 LoopPeeling(data->GetBuilder(), data->GetCircuit(), enableLog, in Run()
626 data->GetMethodName(), &chunk, loopInfo).Peel(); in Run()
636 bool Run(PassData* data) in Run() argument
638 TimeScope timescope("RedundantPhiEliminationPass", data->GetMethodName(), in Run()
639 data->GetMethodOffset(), data->GetLog()); in Run()
640 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
641 GraphEditor::EliminateRedundantPhi(data->GetCircuit(), enableLog, data->GetMethodName()); in Run()
648 bool Run(PassData* data) in Run() argument
650 PassOptions *passOptions = data->GetPassOptions(); in Run()
654 TimeScope timescope("EarlyEliminationPass", data->GetMethodName(), in Run()
655 data->GetMethodOffset(), data->GetLog()); in Run()
656 … bool enableLog = data->GetLog()->EnableMethodCIRLog() || data->GetLog()->EnableMethodASMLog(); in Run()
657 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
658 CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
659 … JSRuntimeOptions runtimeOption = data->GetPassContext()->GetCompilationEnv()->GetJSOptions(); in Run()
660 EarlyElimination earlyElimination(data->GetCircuit(), &visitor, &chunk, in Run()
671 bool Run(PassData* data) in Run() argument
673 PassOptions *passOptions = data->GetPassOptions(); in Run()
677 TimeScope timescope("LaterEliminationPass", data->GetMethodName(), in Run()
678 data->GetMethodOffset(), data->GetLog()); in Run()
679 … bool enableLog = data->GetLog()->EnableMethodCIRLog() || data->GetLog()->EnableMethodASMLog(); in Run()
680 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
681 CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
682 LaterElimination laterElimination(data->GetCircuit(), &visitor, &chunk); in Run()
692 bool Run(PassData* data) in Run() argument
694 TimeScope timescope("UselessGateEliminationPass", data->GetMethodName(), in Run()
695 data->GetMethodOffset(), data->GetLog()); in Run()
696 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
697 …UselessGateElimination uselessGateElimination(data->GetCircuit(), enableLog, data->GetMethodName()… in Run()
705 bool Run(PassData* data) in Run() argument
707 PassOptions *passOptions = data->GetPassOptions(); in Run()
711 … JSRuntimeOptions runtimeOption = data->GetPassContext()->GetCompilationEnv()->GetJSOptions(); in Run()
712 …TimeScope timescope("ValueNumberingPass", data->GetMethodName(), data->GetMethodOffset(), data->Ge… in Run()
713 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
714 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
715 CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
716 ValueNumbering valueNumbering(data->GetCircuit(), &visitor, &chunk, in Run()
728 bool Run(PassData *data) in Run() argument
730 … JSRuntimeOptions runtimeOption = data->GetPassContext()->GetCompilationEnv()->GetJSOptions(); in Run()
732 … TimeScope timescope("InstructionCombinePass", data->GetMethodName(), data->GetMethodOffset(), in Run()
733 data->GetLog()); in Run()
734 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
735 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
736 … CombinedPassVisitor visitor(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk); in Run()
737 InstructionCombine instructionCombine(data->GetCircuit(), &visitor, &chunk, in Run()
749 bool Run(PassData* data) in Run() argument
751 …TimeScope timescope("SchedulingPass", data->GetMethodName(), data->GetMethodOffset(), data->GetLog… in Run()
752 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
753 Scheduler::Run(data->GetCircuit(), data->GetCfg(), data->GetMethodName(), enableLog); in Run()
754 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
756 …PostSchedule(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk, false).Run(data->GetCfg… in Run()
763 bool Run(PassData* data) in Run() argument
765 PassOptions *passOptions = data->GetPassOptions(); in Run()
769 TimeScope timescope("StateSplitLinearizerPass", data->GetMethodName(), in Run()
770 data->GetMethodOffset(), data->GetLog()); in Run()
771 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
772 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
773 … StateSplitLinearizer(data->GetPassContext()->GetCompilationEnv(), data->GetCircuit(), nullptr, in Run()
774 data->GetCompilerConfig(), enableLog, data->GetMethodName(), &chunk) in Run()
782 bool Run(PassData* data) in Run() argument
784 …TimeScope timescope("GraphLinearizerPass", data->GetMethodName(), data->GetMethodOffset(), data->G… in Run()
785 Chunk chunk(data->GetNativeAreaAllocator()); in Run()
786 bool enableLog = data->GetLog()->EnableMethodCIRLog(); in Run()
787 bool licm = data->GetPassOptions()->EnableOptLoopInvariantCodeMotion(); in Run()
788 …bool liteCG = data->GetPassContext()->GetCompilationEnv()->GetJSOptions().IsCompilerEnableLiteCG(); in Run()
789 … GraphLinearizer(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk, false, licm, liteCG) in Run()
790 .Run(data->GetCfg()); in Run()
791 … PostSchedule(data->GetCircuit(), enableLog, data->GetMethodName(), &chunk).Run(data->GetCfg()); in Run()
810 bool Run(PassData *data) in Run() argument
812 auto module = data->GetAotModule(); in Run()
813 …TimeScope timescope("CGIRGenPass", data->GetMethodName(), data->GetMethodOffset(), data->GetLog()); in Run()
814 … bool enableLog = data->GetLog()->EnableMethodCIRLog() || data->GetLog()->EnableMethodASMLog(); in Run()
815 PassOptions *passOptions = data->GetPassOptions(); in Run()
819 CodeGenerator codegen(cgImpl_, data->GetMethodName()); in Run()
820 codegen.Run(data->GetCircuit(), data->GetConstScheduleResult(), data->GetCompilerConfig(), in Run()
821data->GetMethodLiteral(), data->GetJSPandaFile(), data->GetCircuit()->GetFrameType(), in Run()
831 bool Run(PassData* data) in Run() argument
833 TimeScope timescope("AsyncFunctionLoweringPass", data->GetMethodName(), in Run()
834 data->GetMethodOffset(), data->GetLog()); in Run()
835 … bool enableLog = data->GetLog()->EnableMethodCIRLog() || data->GetLog()->EnableMethodASMLog(); in Run()
836 … AsyncFunctionLowering lowering(data->GetBuilder(), data->GetCircuit(), data->GetCompilerConfig(), in Run()
837 enableLog, data->GetMethodName()); in Run()
845 bool IsFunctionMain(PassData* data) in IsFunctionMain() argument
847 auto methodName = data->GetMethodName(); in IsFunctionMain()