1 instantiation of LocalDefUseInfo
Microsoft.CodeAnalysis.CSharp (1)
31 references to LocalDefUseInfo
Microsoft.CodeAnalysis.CSharp (31)
CodeGen\Optimizer.cs (31)
66var locals = PooledDictionary<LocalSymbol, LocalDefUseInfo>.GetInstance();
93private static void FilterValidStackLocals(Dictionary<LocalSymbol, LocalDefUseInfo> info)
96var dummies = ArrayBuilder<LocalDefUseInfo>.GetInstance();
100var locInfo = info[local];
126private static void RemoveIntersectingLocals(Dictionary<LocalSymbol, LocalDefUseInfo> info, ArrayBuilder<LocalDefUseInfo> dummies)
243private readonly ObjectPool<LocalDefUseInfo> _pool;
246private static readonly ObjectPool<LocalDefUseInfo> s_poolInstance = CreatePool();
272private LocalDefUseInfo(ObjectPool<LocalDefUseInfo> pool)
289public static ObjectPool<LocalDefUseInfo> CreatePool()
291ObjectPool<LocalDefUseInfo> pool = null;
292pool = new ObjectPool<LocalDefUseInfo>(() => new LocalDefUseInfo(pool), 128);
296public static LocalDefUseInfo GetInstance(int stackAtDeclaration)
404private readonly Dictionary<LocalSymbol, LocalDefUseInfo> _locals;
418private StackOptimizerPass1(Dictionary<LocalSymbol, LocalDefUseInfo> locals,
433Dictionary<LocalSymbol, LocalDefUseInfo> locals,
1817_locals.Add(dummy, LocalDefUseInfo.GetInstance(StackDepth()));
1841_locals.Add(dummy, LocalDefUseInfo.GetInstance(StackDepth()));
1865LocalDefUseInfo localDefInfo;
1892var locInfo = _locals[local];
1944var locInfo = _locals[local];
1962var locInfo = _locals[local];
2003LocalDefUseInfo info;
2006_locals.Add(local, LocalDefUseInfo.GetInstance(stack));
2032private readonly Dictionary<LocalSymbol, LocalDefUseInfo> _info;
2034private StackOptimizerPass2(Dictionary<LocalSymbol, LocalDefUseInfo> info)
2039public static BoundStatement Rewrite(BoundStatement src, Dictionary<LocalSymbol, LocalDefUseInfo> info)
2118private static bool IsLastAccess(LocalDefUseInfo locInfo, int counter)
2125LocalDefUseInfo locInfo;
2151LocalDefUseInfo locInfo;
2302LocalDefUseInfo locInfo;