1 write to _command
crossgen2 (1)
74 references to _command
crossgen2 (74)
Program.cs (74)
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)
92bool targetIsSingleThreaded = Get(_command.TargetSingleThreaded)
103bool allowOptimistic = _command.OptimizationMode != OptimizationMode.PreferSize;
110InstructionSetSupport instructionSetSupport = Helpers.ConfigureInstructionSetSupport(Get(_command.InstructionSet), Get(_command.MaxVectorTBitWidth), isVectorTOptimistic, targetArchitecture, targetOS,
125Dictionary<string, string> inputFilePathsArg = _command.Result.GetValue(_command.InputFilePaths);
126Dictionary<string, string> unrootedInputFilePathsArg = Get(_command.UnrootedInputFilePaths);
167string compositeRootPath = Get(_command.CompositeRootPath);
173Dictionary<string, string> referenceFilePaths = Get(_command.ReferenceFilePaths);
249Dictionary<string, string> inputBubbleReferenceFilePaths = Get(_command.InputBubbleReferenceFilePaths);
287string systemModuleName = Get(_command.SystemModuleName) ?? Helpers.DefaultSystemModule;
296PInvokeModules = Get(_command.DirectPInvoke),
381string dgmlLogFileName = Get(_command.DgmlLogFileName);
400if (!_command.CompositeOrInputBubble)
413string[] crossModuleInlining = Get(_command.CrossModuleInlining);
440foreach (var file in Get(_command.MibcFilePaths))
446bool composite = Get(_command.Composite);
452string rtrHeaderSymbolName = Get(_command.ReadyToRunHeaderSymbolName);
454ReadyToRunContainerFormat format = Get(_command.OutputFormat);
477if (!composite && Get(_command.StripILBodies))
482bool compileBubbleGenerics = Get(_command.CompileBubbleGenerics);
497groupConfig.DirectPInvokeModules = Get(_command.DirectPInvoke);
501string nonLocalGenericsModule = Get(_command.NonLocalGenericsModule);
547bool compileNoMethods = Get(_command.CompileNoMethods);
571string callChainProfileFile = Get(_command.CallChainProfileFile);
600Get(_command.EmbedPgoData),
601Get(_command.SupportIbc),
603Get(_command.SynthesizeRandomMibc));
605bool partial = Get(_command.Partial);
632if (!_command.CompositeOrInputBubble)
650OptimizationMode optimizationMode = _command.OptimizationMode;
651if (optimizationMode == OptimizationMode.None && !Get(_command.OptimizeDisabled) && !composite)
658string compositeKeyFile = Get(_command.CompositeKeyFile);
687DependencyTrackingLevel.None : (Get(_command.GenerateFullDgmlLog) ? DependencyTrackingLevel.All : DependencyTrackingLevel.First);
690nodeFactoryFlags.OptimizeAsyncMethods = Get(_command.AsyncMethodOptimization);
691nodeFactoryFlags.TypeValidation = Get(_command.TypeValidation);
692nodeFactoryFlags.DeterminismStress = Get(_command.DeterminismStress);
693nodeFactoryFlags.PrintReproArgs = Get(_command.PrintReproInstructions);
694nodeFactoryFlags.EnableCachedInterfaceDispatchSupport = Get(_command.EnableCachedInterfaceDispatchSupport) ?? !typeSystemContext.TargetAllowsRuntimeCodeGeneration;
695nodeFactoryFlags.GenerateUnboxingStubs = Get(_command.GenerateUnboxingStubs) ?? !typeSystemContext.TargetAllowsRuntimeCodeGeneration;
696nodeFactoryFlags.StripInliningInfo = Get(_command.StripInliningInfo);
697nodeFactoryFlags.StripDebugInfo = Get(_command.StripDebugInfo);
698nodeFactoryFlags.StripILBodies = Get(_command.StripILBodies);
701.UseMapFile(Get(_command.Map))
702.UseMapCsvFile(Get(_command.MapCsv))
703.UsePdbFile(Get(_command.Pdb), Get(_command.PdbPath))
704.UsePerfMapFile(Get(_command.PerfMap), Get(_command.PerfMapPath), Get(_command.PerfMapFormatVersion))
705.UseWasmDebugInfo(Get(_command.WasmDebugInfoOption))
709.FileLayoutAlgorithms(Get(_command.MethodLayout), Get(_command.FileLayout))
711.UseJitPath(Get(_command.JitPath))
713.UseCustomPESectionAlignment(Get(_command.CustomPESectionAlignment))
714.UseVerifyTypeAndFieldLayout(Get(_command.VerifyTypeAndFieldLayout))
715.UseHotColdSplitting(Get(_command.HotColdSplitting))
716.UseVerifyGCModeTransitions(Get(_command.VerifyGCModeTransitions))
721.UseBackendOptions(Get(_command.CodegenOptions))
723.UseParallelism(Get(_command.Parallelism))
724.UseResilience(Get(_command.Resilient))
730depthCutoff: Get(_command.GenericCycleDepthCutoff),
731breadthCutoff: Get(_command.GenericCycleBreadthCutoff));
790string[] singleMethodGenericArgs = Get(_command.SingleMethodGenericArgs);
791string singleMethodName = Get(_command.SingleMethodName);
792string singleMethodTypeName = Get(_command.SingleMethodTypeName);
811if (Get(_command.SingleMethodIndex) != 0)
813if (curIndex == Get(_command.SingleMethodIndex))
1025private T Get<T>(Option<T> option) => _command.Result.GetValue(option);