29 references to Spill
Microsoft.CodeAnalysis.CSharp (29)
Lowering\SpillSequenceSpiller.cs (29)
370var left = Spill(builder, assignment.Left, RefKind.Ref); 371var right = Spill(builder, assignment.Right, RefKind.Ref); 419var receiver = Spill(builder, field.ReceiverOpt, fieldSymbol.ContainingType.IsValueType ? refKind : RefKind.None); 442return call.Update(ImmutableArray.Create(Spill(builder, call.Arguments[0], call.ArgumentRefKindsOpt[0]))); 452return call.Update(Spill(builder, call.ReceiverOpt, ReceiverSpillRefKind(call.ReceiverOpt)), 455ImmutableArray.Create(Spill(builder, call.Arguments[0]))); 466return call.Update(Spill(builder, call.ReceiverOpt, ReceiverSpillRefKind(call.ReceiverOpt)), 469ImmutableArray.Create(Spill(builder, call.Arguments[0]), Spill(builder, call.Arguments[1]))); 474return call.Update([Spill(builder, call.Arguments[0])]); 489[Spill(builder, objectCreationExpression.Arguments[0], argRefKinds.IsDefault ? RefKind.None : argRefKinds[0])], 523return call.Update(ImmutableArray.Create(Spill(builder, call.Arguments[0], call.ArgumentRefKindsOpt[0]), 524call.Arguments[1].ConstantValueOpt is { } ? call.Arguments[1] : Spill(builder, call.Arguments[1]))); 635var replacement = Spill(builder, newList[i], refKind, sideEffectsOnly); 792expression = Spill(builder, expression); 892expression = Spill(leftBuilder, expression, RefKind.None); 907left = Spill(leftBuilder, VisitExpression(ref leftBuilder, left), RefKind.Ref); 927receiver = Spill(leftBuilder, VisitExpression(ref leftBuilder, field.ReceiverOpt)); 939expression = Spill(leftBuilder, expression, RefKind.None); 946Spill(leftBuilder, receiver, sideEffectsOnly: true); 954receiver = Spill(leftBuilder, VisitExpression(ref leftBuilder, field.ReceiverOpt), RefKind.Ref); 962Spill(leftBuilder, field, sideEffectsOnly: true); 993left = Spill(leftBuilder, left); 1036receiver = Spill(receiverBuilder, VisitExpression(ref receiverBuilder, receiver), refKind: refKind); 1096invokedExpression = Spill(invokedExpressionBuilder, VisitExpression(ref invokedExpressionBuilder, node.InvokedExpression)); 1248left = Spill(leftBuilder, left); 1289receiver = Spill(receiverBuilder, receiver, RefKind.None); 1304receiver = Spill(receiverBuilder, receiver, RefKind.Ref); 1433expression = Spill(expressionBuilder, expression);