1 write to _command
crossgen2 (1)
66 references to _command
crossgen2 (66)
Program.cs (66)
62string imageBaseArg = Get(_command.ImageBase);
77var logger = new Logger(Console.Out, Get(_command.IsVerbose));
80Helpers.GetTargetSpec(Get(_command.TargetArchitecture), Get(_command.TargetOS));
91bool allowOptimistic = _command.OptimizationMode != OptimizationMode.PreferSize;
98InstructionSetSupport instructionSetSupport = Helpers.ConfigureInstructionSetSupport(Get(_command.InstructionSet), Get(_command.MaxVectorTBitWidth), isVectorTOptimistic, targetArchitecture, targetOS,
113Dictionary<string, string> inputFilePathsArg = _command.Result.GetValue(_command.InputFilePaths);
114Dictionary<string, string> unrootedInputFilePathsArg = Get(_command.UnrootedInputFilePaths);
154string compositeRootPath = Get(_command.CompositeRootPath);
160Dictionary<string, string> referenceFilePaths = Get(_command.ReferenceFilePaths);
236Dictionary<string, string> inputBubbleReferenceFilePaths = Get(_command.InputBubbleReferenceFilePaths);
274string systemModuleName = Get(_command.SystemModuleName) ?? Helpers.DefaultSystemModule;
355string dgmlLogFileName = Get(_command.DgmlLogFileName);
374if (!_command.CompositeOrInputBubble)
387string[] crossModuleInlining = Get(_command.CrossModuleInlining);
414foreach (var file in Get(_command.MibcFilePaths))
420bool composite = Get(_command.Composite);
426string rtrHeaderSymbolName = Get(_command.ReadyToRunHeaderSymbolName);
428ReadyToRunContainerFormat format = Get(_command.OutputFormat);
451bool compileBubbleGenerics = Get(_command.CompileBubbleGenerics);
469string nonLocalGenericsModule = Get(_command.NonLocalGenericsModule);
515bool compileNoMethods = Get(_command.CompileNoMethods);
539string callChainProfileFile = Get(_command.CallChainProfileFile);
568Get(_command.EmbedPgoData),
569Get(_command.SupportIbc),
571Get(_command.SynthesizeRandomMibc));
573bool partial = Get(_command.Partial);
600if (!_command.CompositeOrInputBubble)
618OptimizationMode optimizationMode = _command.OptimizationMode;
619if (optimizationMode == OptimizationMode.None && !Get(_command.OptimizeDisabled) && !composite)
626string compositeKeyFile = Get(_command.CompositeKeyFile);
655DependencyTrackingLevel.None : (Get(_command.GenerateFullDgmlLog) ? DependencyTrackingLevel.All : DependencyTrackingLevel.First);
658nodeFactoryFlags.OptimizeAsyncMethods = Get(_command.AsyncMethodOptimization);
659nodeFactoryFlags.TypeValidation = Get(_command.TypeValidation);
660nodeFactoryFlags.DeterminismStress = Get(_command.DeterminismStress);
661nodeFactoryFlags.PrintReproArgs = Get(_command.PrintReproInstructions);
662nodeFactoryFlags.EnableCachedInterfaceDispatchSupport = Get(_command.EnableCachedInterfaceDispatchSupport) ?? !typeSystemContext.TargetAllowsRuntimeCodeGeneration;
663nodeFactoryFlags.StripInliningInfo = Get(_command.StripInliningInfo);
664nodeFactoryFlags.StripDebugInfo = Get(_command.StripDebugInfo);
665nodeFactoryFlags.StripILBodies = Get(_command.StripILBodies);
668.UseMapFile(Get(_command.Map))
669.UseMapCsvFile(Get(_command.MapCsv))
670.UsePdbFile(Get(_command.Pdb), Get(_command.PdbPath))
671.UsePerfMapFile(Get(_command.PerfMap), Get(_command.PerfMapPath), Get(_command.PerfMapFormatVersion))
675.FileLayoutAlgorithms(Get(_command.MethodLayout), Get(_command.FileLayout))
677.UseJitPath(Get(_command.JitPath))
679.UseCustomPESectionAlignment(Get(_command.CustomPESectionAlignment))
680.UseVerifyTypeAndFieldLayout(Get(_command.VerifyTypeAndFieldLayout))
681.UseHotColdSplitting(Get(_command.HotColdSplitting))
686.UseBackendOptions(Get(_command.CodegenOptions))
688.UseParallelism(Get(_command.Parallelism))
689.UseResilience(Get(_command.Resilient))
695depthCutoff: Get(_command.GenericCycleDepthCutoff),
696breadthCutoff: Get(_command.GenericCycleBreadthCutoff));
748string[] singleMethodGenericArgs = Get(_command.SingleMethodGenericArgs);
749string singleMethodName = Get(_command.SingleMethodName);
750string singleMethodTypeName = Get(_command.SingleMethodTypeName);
769if (Get(_command.SingleMethodIndex) != 0)
771if (curIndex == Get(_command.SingleMethodIndex))
983private T Get<T>(Option<T> option) => _command.Result.GetValue(option);