2 instantiations of MethodResult
illink (2)
Linker.Steps\UnreachableBlocksOptimizer.cs (2)
227
return constant == null ? null : new
MethodResult
(constant, !HasSideEffects (method));
238
return new
MethodResult
(analyzer.Result, analyzer.SideEffectFreeResult);
9 references to MethodResult
illink (9)
Linker.Steps\UnreachableBlocksOptimizer.cs (9)
25
readonly Dictionary<MethodDefinition,
MethodResult
?> _cache_method_results = new (2048);
212
MethodResult
? AnalyzeMethodForConstantResult (in CalleePayload callee, Stack<MethodDefinition> callStack)
252
MethodResult
? TryGetMethodCallResult (in CalleePayload callee)
258
MethodResult
? TryGetMethodCallResult (in CalleePayload callee, Stack<MethodDefinition> callStack)
260
MethodResult
? value;
482
MethodResult
? call_result = optimizer.TryGetMethodCallResult (cpl);
483
if (call_result is not
MethodResult
result)
1816
MethodResult
? call_result = optimizer.TryGetMethodCallResult (new CalleePayload (md, args), callStack);
1820
if (call_result is
MethodResult
result) {