1 write to _command
crossgen2 (1)
72 references to _command
crossgen2 (72)
Program.cs (72)
64string imageBaseArg = Get(_command.ImageBase);
79var logger = new Logger(Console.Out, Get(_command.IsVerbose));
82Helpers.GetTargetSpec(Get(_command.TargetArchitecture), Get(_command.TargetOS));
90bool targetAllowsRuntimeCodeGeneration = Get(_command.TargetAllowsRuntimeCodeGeneration)
101bool allowOptimistic = _command.OptimizationMode != OptimizationMode.PreferSize;
108InstructionSetSupport instructionSetSupport = Helpers.ConfigureInstructionSetSupport(Get(_command.InstructionSet), Get(_command.MaxVectorTBitWidth), isVectorTOptimistic, targetArchitecture, targetOS,
123Dictionary<string, string> inputFilePathsArg = _command.Result.GetValue(_command.InputFilePaths);
124Dictionary<string, string> unrootedInputFilePathsArg = Get(_command.UnrootedInputFilePaths);
164string compositeRootPath = Get(_command.CompositeRootPath);
170Dictionary<string, string> referenceFilePaths = Get(_command.ReferenceFilePaths);
246Dictionary<string, string> inputBubbleReferenceFilePaths = Get(_command.InputBubbleReferenceFilePaths);
284string systemModuleName = Get(_command.SystemModuleName) ?? Helpers.DefaultSystemModule;
293PInvokeModules = Get(_command.DirectPInvoke),
377string dgmlLogFileName = Get(_command.DgmlLogFileName);
396if (!_command.CompositeOrInputBubble)
409string[] crossModuleInlining = Get(_command.CrossModuleInlining);
436foreach (var file in Get(_command.MibcFilePaths))
442bool composite = Get(_command.Composite);
448string rtrHeaderSymbolName = Get(_command.ReadyToRunHeaderSymbolName);
450ReadyToRunContainerFormat format = Get(_command.OutputFormat);
473bool compileBubbleGenerics = Get(_command.CompileBubbleGenerics);
488groupConfig.DirectPInvokeModules = Get(_command.DirectPInvoke);
492string nonLocalGenericsModule = Get(_command.NonLocalGenericsModule);
538bool compileNoMethods = Get(_command.CompileNoMethods);
562string callChainProfileFile = Get(_command.CallChainProfileFile);
591Get(_command.EmbedPgoData),
592Get(_command.SupportIbc),
594Get(_command.SynthesizeRandomMibc));
596bool partial = Get(_command.Partial);
623if (!_command.CompositeOrInputBubble)
641OptimizationMode optimizationMode = _command.OptimizationMode;
642if (optimizationMode == OptimizationMode.None && !Get(_command.OptimizeDisabled) && !composite)
649string compositeKeyFile = Get(_command.CompositeKeyFile);
678DependencyTrackingLevel.None : (Get(_command.GenerateFullDgmlLog) ? DependencyTrackingLevel.All : DependencyTrackingLevel.First);
681nodeFactoryFlags.OptimizeAsyncMethods = Get(_command.AsyncMethodOptimization);
682nodeFactoryFlags.TypeValidation = Get(_command.TypeValidation);
683nodeFactoryFlags.DeterminismStress = Get(_command.DeterminismStress);
684nodeFactoryFlags.PrintReproArgs = Get(_command.PrintReproInstructions);
685nodeFactoryFlags.EnableCachedInterfaceDispatchSupport = Get(_command.EnableCachedInterfaceDispatchSupport) ?? !typeSystemContext.TargetAllowsRuntimeCodeGeneration;
686nodeFactoryFlags.GenerateUnboxingStubs = Get(_command.GenerateUnboxingStubs) ?? !typeSystemContext.TargetAllowsRuntimeCodeGeneration;
687nodeFactoryFlags.StripInliningInfo = Get(_command.StripInliningInfo);
688nodeFactoryFlags.StripDebugInfo = Get(_command.StripDebugInfo);
689nodeFactoryFlags.StripILBodies = Get(_command.StripILBodies);
692.UseMapFile(Get(_command.Map))
693.UseMapCsvFile(Get(_command.MapCsv))
694.UsePdbFile(Get(_command.Pdb), Get(_command.PdbPath))
695.UsePerfMapFile(Get(_command.PerfMap), Get(_command.PerfMapPath), Get(_command.PerfMapFormatVersion))
696.UseWasmDebugInfo(Get(_command.WasmDebugInfoOption))
700.FileLayoutAlgorithms(Get(_command.MethodLayout), Get(_command.FileLayout))
702.UseJitPath(Get(_command.JitPath))
704.UseCustomPESectionAlignment(Get(_command.CustomPESectionAlignment))
705.UseVerifyTypeAndFieldLayout(Get(_command.VerifyTypeAndFieldLayout))
706.UseHotColdSplitting(Get(_command.HotColdSplitting))
707.UseVerifyGCModeTransitions(Get(_command.VerifyGCModeTransitions))
712.UseBackendOptions(Get(_command.CodegenOptions))
714.UseParallelism(Get(_command.Parallelism))
715.UseResilience(Get(_command.Resilient))
721depthCutoff: Get(_command.GenericCycleDepthCutoff),
722breadthCutoff: Get(_command.GenericCycleBreadthCutoff));
775string[] singleMethodGenericArgs = Get(_command.SingleMethodGenericArgs);
776string singleMethodName = Get(_command.SingleMethodName);
777string singleMethodTypeName = Get(_command.SingleMethodTypeName);
796if (Get(_command.SingleMethodIndex) != 0)
798if (curIndex == Get(_command.SingleMethodIndex))
1010private T Get<T>(Option<T> option) => _command.Result.GetValue(option);