1 write to _tempAllocator
Microsoft.CodeAnalysis.CSharp (1)
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
35
_tempAllocator
= new DagTempAllocator(_factory, node, generateInstrumentation);
30 references to _tempAllocator
Microsoft.CodeAnalysis.CSharp (30)
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (3)
360
BoundExpression inputTemp =
_tempAllocator
.GetTemp(BoundDagTemp.ForOriginalInput(loweredSwitchGoverningExpression));
506
LowerValueDispatchNode(n,
_tempAllocator
.GetTemp(input));
1185
BoundExpression right =
_tempAllocator
.GetTemp(binding.TempContainingValue);
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (22)
50
_tempAllocator
.Free();
137
BoundExpression input =
_tempAllocator
.GetTemp(evaluation.Input);
144
BoundExpression output =
_tempAllocator
.GetTemp(outputTemp);
154
BoundExpression output =
_tempAllocator
.GetTemp(outputTemp);
190
addArg(RefKind.Out,
_tempAllocator
.GetTemp(outputTemp));
209
BoundExpression output =
_tempAllocator
.GetTemp(outputTemp);
246
BoundExpression output =
_tempAllocator
.GetTemp(outputTemp);
259
indexerAccess = implicitAccess.WithLengthOrCountAccess(
_tempAllocator
.GetTemp(e.LengthTemp));
271
BoundExpression output =
_tempAllocator
.GetTemp(outputTemp);
285
indexerAccess = implicitAccess.WithLengthOrCountAccess(
_tempAllocator
.GetTemp(e.LengthTemp));
297
BoundExpression output =
_tempAllocator
.GetTemp(outputTemp);
339
BoundExpression input =
_tempAllocator
.GetTemp(test.Input);
473
BoundExpression input =
_tempAllocator
.GetTemp(test.Input);
474
BoundExpression output =
_tempAllocator
.GetTemp(new BoundDagTemp(evaluation.Syntax, typeEvaluation1.Type, evaluation));
488
BoundExpression input =
_tempAllocator
.GetTemp(test.Input);
490
BoundExpression output =
_tempAllocator
.GetTemp(new BoundDagTemp(evaluation.Syntax, baseType, evaluation));
530
bool tempAssigned =
_tempAllocator
.TrySetTemp(inputDagTemp, loweredInput);
546
_ =
_tempAllocator
.TrySetTemp(binding.TempContainingValue, binding.VariableAccess);
567
BoundExpression inputTemp =
_tempAllocator
.GetTemp(inputDagTemp);
629
newArguments.Add(
_tempAllocator
.GetTemp(temp));
644
if (canShareInputs && (expr.Kind == BoundKind.Parameter || expr.Kind == BoundKind.Local) &&
_tempAllocator
.TrySetTemp(temp, expr))
650
var tempToHoldInput =
_tempAllocator
.GetTemp(temp);
Lowering\LocalRewriter\LocalRewriter_IsPatternOperator.cs (3)
133
return _factory.SpillSequence(
_tempAllocator
.AllTemps().Add(resultTemp), resultBuilder.ToImmutableAndFree(), _factory.Local(resultTemp));
288
BoundExpression right =
_tempAllocator
.GetTemp(binding.TempContainingValue);
316
var allTemps =
_tempAllocator
.AllTemps();
Lowering\LocalRewriter\LocalRewriter_PatternSwitchStatement.cs (1)
167
outerVariables.AddRange(
_tempAllocator
.AllTemps());
Lowering\LocalRewriter\LocalRewriter_SwitchExpression.cs (1)
145
outerVariables.AddRange(
_tempAllocator
.AllTemps());