1 write to _F
Microsoft.CodeAnalysis.CSharp (1)
Lowering\SpillSequenceSpiller.cs (1)
31_F = new SyntheticBoundNodeFactory(method, syntaxNode, compilationState, diagnostics);
98 references to _F
Microsoft.CodeAnalysis.CSharp (98)
Lowering\SpillSequenceSpiller.cs (98)
32_F.CurrentFunction = method; 310_F.Syntax = builder.Syntax; 363builder.AddStatement(_F.ExpressionStatement(complexReceiver)); 448else if (call.Method.OriginalDefinition == _F.Compilation.GetWellKnownTypeMember(WellKnownMember.System_Span_T__get_Item) || 449call.Method.OriginalDefinition == _F.Compilation.GetWellKnownTypeMember(WellKnownMember.System_ReadOnlySpan_T__get_Item)) 462else if (call.Method.OriginalDefinition == _F.Compilation.GetWellKnownTypeMember(WellKnownMember.System_Span_T__Slice_Int_Int) || 463call.Method.OriginalDefinition == _F.Compilation.GetWellKnownTypeMember(WellKnownMember.System_ReadOnlySpan_T__Slice_Int_Int)) 471else if (call.Method == _F.Compilation.GetSpecialTypeMember(SpecialMember.System_String__op_Implicit_ToReadOnlySpanOfChar)) 484objectCreationExpression.Constructor.OriginalDefinition == _F.Compilation.GetSpecialTypeMember(SpecialMember.System_ReadOnlySpan_T__ctor_Reference)) 499builder.AddStatement(_F.ExpressionStatement(expression)); 506var replacement = _F.StoreToTemp( 511syntaxOpt: _F.Syntax); 514builder.AddStatement(_F.ExpressionStatement(assignToTemp)); 754_F.Syntax = node.Syntax; 996var tmp = _F.SynthesizedLocal(node.Type, kind: SynthesizedLocalKind.Spill, syntax: _F.Syntax); 998leftBuilder.AddStatement(_F.Assignment(_F.Local(tmp), left)); 999leftBuilder.AddStatement(_F.If( 1000node.OperatorKind == BinaryOperatorKind.LogicalBoolAnd ? _F.Local(tmp) : _F.Not(_F.Local(tmp)), 1001UpdateStatement(builder, _F.Assignment(_F.Local(tmp), right)))); 1003return UpdateExpression(leftBuilder, _F.Local(tmp)); 1053var save_Syntax = _F.Syntax; 1054_F.Syntax = node.Syntax; 1056var cache = _F.Local(_F.SynthesizedLocal(receiverType)); 1058receiverBuilder.AddStatement(_F.ExpressionStatement(new BoundComplexConditionalReceiver(node.Syntax, cache, _F.Sequence(new[] { _F.AssignmentExpression(cache, receiver) }, cache), receiverType) { WasCompilerGenerated = true })); 1060receiver = _F.ComplexConditionalReceiver(receiver, cache); 1061_F.Syntax = save_Syntax; 1127_F.If(condition, 1128UpdateStatement(consequenceBuilder, _F.ExpressionStatement(consequence)), 1129UpdateStatement(alternativeBuilder, _F.ExpressionStatement(alternative)))); 1131return conditionBuilder.Update(_F.Default(node.Type)); 1135var tmp = _F.SynthesizedLocal(node.Type, kind: SynthesizedLocalKind.Spill, syntax: _F.Syntax); 1139_F.If(condition, 1140UpdateStatement(consequenceBuilder, _F.Assignment(_F.Local(tmp), consequence)), 1141UpdateStatement(alternativeBuilder, _F.Assignment(_F.Local(tmp), alternative)))); 1143return conditionBuilder.Update(_F.Local(tmp)); 1150var tmp = _F.SynthesizedLocal(condition.Type, kind: SynthesizedLocalKind.Spill, syntax: _F.Syntax); 1153conditionBuilder.AddStatement(_F.Assignment(_F.Local(tmp), condition)); 1154condition = _F.Local(tmp); 1161_F.If(condition, 1162_F.StatementList(consequenceBuilder.GetStatements()), 1163_F.StatementList(alternativeBuilder.GetStatements()))); 1250var tmp = _F.SynthesizedLocal(node.Type, kind: SynthesizedLocalKind.Spill, syntax: _F.Syntax); 1252leftBuilder.AddStatement(_F.Assignment(_F.Local(tmp), left)); 1253leftBuilder.AddStatement(_F.If( 1254_F.ObjectEqual(_F.Local(tmp), _F.Null(left.Type)), 1255UpdateStatement(builder, _F.Assignment(_F.Local(tmp), right)))); 1257return UpdateExpression(leftBuilder, _F.Local(tmp)); 1294condition = _F.IsNotNullReference(receiver); 1298condition = _F.Call(receiver, hasValueOpt); 1306var clone = _F.SynthesizedLocal(receiver.Type, _F.Syntax, refKind: RefKind.None, kind: SynthesizedLocalKind.Spill); 1310var isNotClass = _F.IsNotNullReference(_F.Default(receiver.Type)); 1313condition = _F.LogicalOr( 1315_F.MakeSequence( 1316_F.AssignmentExpression(_F.Local(clone), receiver), 1317_F.IsNotNullReference(_F.Local(clone))) 1320receiver = _F.ComplexConditionalReceiver(receiver, _F.Local(clone)); 1325var whenNotNullStatement = UpdateStatement(whenNotNullBuilder, _F.ExpressionStatement(whenNotNull)); 1330receiverBuilder.AddStatement(_F.If(condition, whenNotNullStatement)); 1332return receiverBuilder.Update(_F.Default(node.Type)); 1336var tmp = _F.SynthesizedLocal(node.Type, kind: SynthesizedLocalKind.Spill, syntax: _F.Syntax); 1337var whenNotNullStatement = UpdateStatement(whenNotNullBuilder, _F.Assignment(_F.Local(tmp), whenNotNull)); 1340whenNullOpt = whenNullOpt ?? _F.Default(node.Type); 1344_F.If(condition, 1346UpdateStatement(whenNullBuilder, _F.Assignment(_F.Local(tmp), whenNullOpt)))); 1348return receiverBuilder.Update(_F.Local(tmp)); 1396var oldCurrentFunction = _F.CurrentFunction; 1397_F.CurrentFunction = node.Symbol; 1399_F.CurrentFunction = oldCurrentFunction; 1405var oldCurrentFunction = _F.CurrentFunction; 1406_F.CurrentFunction = node.Symbol; 1408_F.CurrentFunction = oldCurrentFunction; 1497LocalSymbol longLived = local.WithSynthesizedLocalKindAndSyntax(SynthesizedLocalKind.Spill, _F.Syntax);