2 instantiations of MethodResult
illink (2)
Linker.Steps\UnreachableBlocksOptimizer.cs (2)
250
return constant == null ? null : new
MethodResult
(constant, !HasSideEffects(method));
261
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);
234
MethodResult
? AnalyzeMethodForConstantResult(in CalleePayload callee, Stack<MethodDefinition> callStack)
275
MethodResult
? TryGetMethodCallResult(in CalleePayload callee)
281
MethodResult
? TryGetMethodCallResult(in CalleePayload callee, Stack<MethodDefinition> callStack)
283
MethodResult
? value;
518
MethodResult
? call_result = optimizer.TryGetMethodCallResult(cpl);
519
if (call_result is not
MethodResult
result)
1966
MethodResult
? call_result = optimizer.TryGetMethodCallResult(new CalleePayload(md, args), callStack);
1970
if (call_result is
MethodResult
result)