69 references to AddPattern
System.Private.Xml (69)
System\Xml\Xsl\IlGen\OptimizerPatterns.cs (7)
83
optPatt.
AddPattern
(OptimizerPatternName.IsDocOrderDistinct);
84
optPatt.
AddPattern
(OptimizerPatternName.SameDepth);
99
optPatt.
AddPattern
(OptimizerPatternName.IsDocOrderDistinct);
143
optPatt.
AddPattern
(OptimizerPatternName.IsDocOrderDistinct);
144
optPatt.
AddPattern
(OptimizerPatternName.SameDepth);
148
optPatt.
AddPattern
(OptimizerPatternName.IsDocOrderDistinct);
165
annDst.
AddPattern
(pattern);
System\Xml\Xsl\IlGen\TailCallAnalyzer.cs (1)
46
OptimizerPatterns.Write(nd).
AddPattern
(OptimizerPatternName.TailCall);
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (61)
143
OptimizerPatterns.Write(newNode!).
AddPattern
(OptimizerPatternName.IsReferenced);
181
OptimizerPatterns.Write(node).
AddPattern
(OptimizerPatternName.MaybeSideEffects);
421
OptimizerPatterns.Write((QilNode)(local1)).
AddPattern
(OptimizerPatternName.IsPositional);
914
OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.IsDocOrderDistinct);
926
AddStepPattern((QilNode)(local0), (QilNode)(OptimizerPatterns.Read((QilNode)(local1)).GetArgument(OptimizerPatternArgument.StepInput))); OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.SameDepth);
1029
OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.IsDocOrderDistinct);
1130
OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.IsDocOrderDistinct);
1812
OptimizerPatterns.Write((QilNode)(local1)).
AddPattern
(OptimizerPatternName.MaxPosition); OptimizerPatterns.Write((QilNode)(local1)).AddArgument(OptimizerPatternArgument.MaxPosition, local4);
2082
OptimizerPatterns.Write((QilNode)(local1)).
AddPattern
(OptimizerPatternName.MaxPosition); OptimizerPatterns.Write((QilNode)(local1)).AddArgument(OptimizerPatternArgument.MaxPosition, local4);
2196
OptimizerPatterns.Write((QilNode)(local1)).
AddPattern
(OptimizerPatternName.MaxPosition); OptimizerPatterns.Write((QilNode)(local1)).AddArgument(OptimizerPatternArgument.MaxPosition, local4);
2291
OptimizerPatterns.Write((QilNode)(local1)).
AddPattern
(OptimizerPatternName.MaxPosition); OptimizerPatterns.Write((QilNode)(local1)).AddArgument(OptimizerPatternArgument.MaxPosition, local4);
2386
OptimizerPatterns.Write((QilNode)(local1)).
AddPattern
(OptimizerPatternName.MaxPosition); OptimizerPatterns.Write((QilNode)(local1)).AddArgument(OptimizerPatternArgument.MaxPosition, local4);
2481
OptimizerPatterns.Write((QilNode)(local1)).
AddPattern
(OptimizerPatternName.MaxPosition); OptimizerPatterns.Write((QilNode)(local1)).AddArgument(OptimizerPatternArgument.MaxPosition, local4);
2870
OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.SameDepth);
2886
OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.SameDepth); OptimizerPatterns.Inherit((QilNode)(local3), (QilNode)(local0), OptimizerPatternName.IsDocOrderDistinct);
3082
OptimizerPatterns.Write((QilNode)(local1)).
AddPattern
(OptimizerPatternName.MaxPosition); OptimizerPatterns.Write((QilNode)(local1)).AddArgument(OptimizerPatternArgument.MaxPosition, local6);
3106
OptimizerPatterns.Write((QilNode)(local1)).
AddPattern
(OptimizerPatternName.MaxPosition); OptimizerPatterns.Write((QilNode)(local1)).AddArgument(OptimizerPatternArgument.MaxPosition, local6);
3130
OptimizerPatterns.Write((QilNode)(local1)).
AddPattern
(OptimizerPatternName.MaxPosition); OptimizerPatterns.Write((QilNode)(local1)).AddArgument(OptimizerPatternArgument.MaxPosition, local6 - 1);
3185
OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.FilterElements); OptimizerPatterns.Write((QilNode)(local0)).AddArgument(OptimizerPatternArgument.ElementQName, local11);
3220
OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.FilterContentKind); OptimizerPatterns.Write((QilNode)(local0)).AddArgument(OptimizerPatternArgument.KindTestType, local6);
3250
OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.FilterAttributeKind);
3538
OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.IsDocOrderDistinct); OptimizerPatterns.Inherit((QilNode)(local1), (QilNode)(local0), OptimizerPatternName.SameDepth);
3548
OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.DodReverse); OptimizerPatterns.Write((QilNode)(local0)).AddArgument(OptimizerPatternArgument.DodStep, local1);
3568
OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.JoinAndDod); OptimizerPatterns.Write((QilNode)(local0)).AddArgument(OptimizerPatternArgument.DodStep, local4);
3587
OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.DodMerge);
3656
patt.
AddPattern
(OptimizerPatternName.EqualityIndex);
3705
patt.
AddPattern
(OptimizerPatternName.EqualityIndex);
3787
AddStepPattern((QilNode)(local0), (QilNode)(local1)); OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.Axis); OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.IsDocOrderDistinct); OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.SameDepth);
3824
OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.Axis); AddStepPattern((QilNode)(local0), (QilNode)(local1)); OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.IsDocOrderDistinct); OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.SameDepth);
3849
OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.Axis); AddStepPattern((QilNode)(local0), (QilNode)(local1)); OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.IsDocOrderDistinct); OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.SameDepth);
3874
OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.Axis); AddStepPattern((QilNode)(local0), (QilNode)(local1)); OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.IsDocOrderDistinct); OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.SameDepth);
3899
OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.Axis); AddStepPattern((QilNode)(local0), (QilNode)(local1)); OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.IsDocOrderDistinct);
3924
OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.Axis); AddStepPattern((QilNode)(local0), (QilNode)(local1)); OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.IsDocOrderDistinct);
3949
OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.Axis); AddStepPattern((QilNode)(local0), (QilNode)(local1));
3974
OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.Axis); AddStepPattern((QilNode)(local0), (QilNode)(local1));
3999
OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.Axis); AddStepPattern((QilNode)(local0), (QilNode)(local1));
4024
OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.Axis); AddStepPattern((QilNode)(local0), (QilNode)(local1)); OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.IsDocOrderDistinct); OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.SameDepth);
4049
OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.Axis); AddStepPattern((QilNode)(local0), (QilNode)(local1)); OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.SameDepth);
4086
OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.Axis); AddStepPattern((QilNode)(local0), (QilNode)(local1)); OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.IsDocOrderDistinct);
4412
OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.SingleTextRtf); OptimizerPatterns.Write((QilNode)(local0)).AddArgument(OptimizerPatternArgument.RtfText, local3);
4755
OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.Axis); AddStepPattern((QilNode)(local0), (QilNode)(local1)); OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.IsDocOrderDistinct);
4780
OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.Axis); AddStepPattern((QilNode)(local0), (QilNode)(local1));
4805
OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.Axis); AddStepPattern((QilNode)(local0), (QilNode)(local1)); OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.IsDocOrderDistinct); OptimizerPatterns.Write((QilNode)(local0)).
AddPattern
(OptimizerPatternName.SameDepth);
5591
patt.
AddPattern
(OptimizerPatternName.Step);