1 write to _command
crossgen2 (1)
69 references to _command
crossgen2 (69)
Program.cs (69)
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);
491string nonLocalGenericsModule = Get(_command.NonLocalGenericsModule);
537bool compileNoMethods = Get(_command.CompileNoMethods);
561string callChainProfileFile = Get(_command.CallChainProfileFile);
590Get(_command.EmbedPgoData),
591Get(_command.SupportIbc),
593Get(_command.SynthesizeRandomMibc));
595bool partial = Get(_command.Partial);
622if (!_command.CompositeOrInputBubble)
640OptimizationMode optimizationMode = _command.OptimizationMode;
641if (optimizationMode == OptimizationMode.None && !Get(_command.OptimizeDisabled) && !composite)
648string compositeKeyFile = Get(_command.CompositeKeyFile);
677DependencyTrackingLevel.None : (Get(_command.GenerateFullDgmlLog) ? DependencyTrackingLevel.All : DependencyTrackingLevel.First);
680nodeFactoryFlags.OptimizeAsyncMethods = Get(_command.AsyncMethodOptimization);
681nodeFactoryFlags.TypeValidation = Get(_command.TypeValidation);
682nodeFactoryFlags.DeterminismStress = Get(_command.DeterminismStress);
683nodeFactoryFlags.PrintReproArgs = Get(_command.PrintReproInstructions);
684nodeFactoryFlags.EnableCachedInterfaceDispatchSupport = Get(_command.EnableCachedInterfaceDispatchSupport) ?? !typeSystemContext.TargetAllowsRuntimeCodeGeneration;
685nodeFactoryFlags.GenerateUnboxingStubs = Get(_command.GenerateUnboxingStubs) ?? !typeSystemContext.TargetAllowsRuntimeCodeGeneration;
686nodeFactoryFlags.StripInliningInfo = Get(_command.StripInliningInfo);
687nodeFactoryFlags.StripDebugInfo = Get(_command.StripDebugInfo);
688nodeFactoryFlags.StripILBodies = Get(_command.StripILBodies);
691.UseMapFile(Get(_command.Map))
692.UseMapCsvFile(Get(_command.MapCsv))
693.UsePdbFile(Get(_command.Pdb), Get(_command.PdbPath))
694.UsePerfMapFile(Get(_command.PerfMap), Get(_command.PerfMapPath), Get(_command.PerfMapFormatVersion))
698.FileLayoutAlgorithms(Get(_command.MethodLayout), Get(_command.FileLayout))
700.UseJitPath(Get(_command.JitPath))
702.UseCustomPESectionAlignment(Get(_command.CustomPESectionAlignment))
703.UseVerifyTypeAndFieldLayout(Get(_command.VerifyTypeAndFieldLayout))
704.UseHotColdSplitting(Get(_command.HotColdSplitting))
709.UseBackendOptions(Get(_command.CodegenOptions))
711.UseParallelism(Get(_command.Parallelism))
712.UseResilience(Get(_command.Resilient))
718depthCutoff: Get(_command.GenericCycleDepthCutoff),
719breadthCutoff: Get(_command.GenericCycleBreadthCutoff));
772string[] singleMethodGenericArgs = Get(_command.SingleMethodGenericArgs);
773string singleMethodName = Get(_command.SingleMethodName);
774string singleMethodTypeName = Get(_command.SingleMethodTypeName);
793if (Get(_command.SingleMethodIndex) != 0)
795if (curIndex == Get(_command.SingleMethodIndex))
1007private T Get<T>(Option<T> option) => _command.Result.GetValue(option);