81 references to RewriteAction
System.Core (81)
Microsoft\Scripting\Compiler\StackSpiller.Bindings.cs (9)
34
protected
RewriteAction
_action;
42
internal
RewriteAction
Action {
83
case
RewriteAction
.None:
85
case
RewriteAction
.Copy:
148
case
RewriteAction
.None:
150
case
RewriteAction
.Copy:
154
if (cr.Action ==
RewriteAction
.None) {
209
case
RewriteAction
.None:
211
case
RewriteAction
.Copy:
Microsoft\Scripting\Compiler\StackSpiller.cs (65)
65
internal readonly
RewriteAction
Action;
68
internal Result(
RewriteAction
action, Expression node) {
89
private
RewriteAction
_lambdaRewrite;
115
if (body.Action !=
RewriteAction
.None) {
137
Debug.Assert((result.Action ==
RewriteAction
.None) ^ (node != result.Node), "rewrite action does not match node object identity");
144
result.Action !=
RewriteAction
.Copy || node.NodeType == result.Node.NodeType || node.CanReduce,
173
if (cr.Action ==
RewriteAction
.SpillStack) {
188
if (cr.Action ==
RewriteAction
.SpillStack) {
217
RewriteAction
action = left.Action | right.Action | conversion.Action;
218
if (action !=
RewriteAction
.None) {
239
return new Result(result.Action |
RewriteAction
.Copy, result.Node);
254
if (cr.Action ==
RewriteAction
.SpillStack) {
273
if (right.Action !=
RewriteAction
.None) {
300
return new Result(result.Action |
RewriteAction
.Copy, result.Node);
313
RewriteAction
action = (expr == node) ?
RewriteAction
.None :
RewriteAction
.Copy;
328
RewriteAction
action = test.Action | ifTrue.Action | ifFalse.Action;
329
if (action !=
RewriteAction
.None) {
349
if (cr.Action ==
RewriteAction
.SpillStack) {
361
return new Result(
RewriteAction
.None, node);
370
if (expression.Action !=
RewriteAction
.None) {
371
if (expression.Action ==
RewriteAction
.SpillStack &&
393
if (cr.Action ==
RewriteAction
.SpillStack) {
420
if (cr.Action ==
RewriteAction
.SpillStack) {
470
if (cr.Action ==
RewriteAction
.SpillStack) {
478
if (cr.Rewrite || spiller._lambdaRewrite !=
RewriteAction
.None) {
494
if (cr.Action ==
RewriteAction
.SpillStack) {
510
if (cr.Action ==
RewriteAction
.SpillStack) {
522
if (expression.Action !=
RewriteAction
.None) {
542
RewriteAction
action = value.Action;
545
action =
RewriteAction
.SpillStack;
548
if (action !=
RewriteAction
.None) {
565
if (expression.Action ==
RewriteAction
.SpillStack) {
569
if (expression.Action !=
RewriteAction
.None) {
582
RewriteAction
action = newResult.Action;
600
case
RewriteAction
.None:
602
case
RewriteAction
.Copy:
606
if (cr.Action ==
RewriteAction
.None) {
614
case
RewriteAction
.SpillStack:
643
RewriteAction
action = result.Action;
656
case
RewriteAction
.None:
658
case
RewriteAction
.Copy:
665
case
RewriteAction
.SpillStack:
694
RewriteAction
action =
RewriteAction
.None;
703
if (clone == null && rewritten.Action !=
RewriteAction
.None) {
712
if (action !=
RewriteAction
.None) {
724
if (expression.Action !=
RewriteAction
.None) {
738
RewriteAction
action = body.Action;
743
action =
RewriteAction
.SpillStack;
746
if (action !=
RewriteAction
.None) {
766
RewriteAction
action = value.Action;
768
action =
RewriteAction
.SpillStack;
771
if (action !=
RewriteAction
.None) {
784
RewriteAction
action = switchValue.Action;
798
if (cloneTests == null && test.Action !=
RewriteAction
.None) {
811
if (body.Action !=
RewriteAction
.None || cloneTests != null) {
831
if (action !=
RewriteAction
.None) {
853
RewriteAction
action = body.Action;
856
RewriteAction
curAction = body.Action;
874
if (curAction !=
RewriteAction
.None) {
896
action =
RewriteAction
.SpillStack;
899
if (action !=
RewriteAction
.None) {
913
return new Result(result.Action |
RewriteAction
.Copy, result.Node);
Microsoft\Scripting\Compiler\StackSpiller.Generated.cs (2)
38
return new Result(
RewriteAction
.None, null);
265
return new Result(
RewriteAction
.None, node);
Microsoft\Scripting\Compiler\StackSpiller.Temps.cs (5)
135
private
RewriteAction
_action;
178
if (_action ==
RewriteAction
.SpillStack) {
196
get { return _action !=
RewriteAction
.None; }
199
internal
RewriteAction
Action {
206
if (_action ==
RewriteAction
.SpillStack) {