System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (16)
37PatternsNoOpt.Add((int) XmlILOptimization.EliminateIsType);
3439if (this[XmlILOptimization.EliminateIsType]) {
3445if (AllowReplace(XmlILOptimization.EliminateIsType, local0)) {
3446return Replace(XmlILOptimization.EliminateIsType, local0, VisitTrue(f.True()));
3452if (this[XmlILOptimization.EliminateIsType]) {
3458if (AllowReplace(XmlILOptimization.EliminateIsType, local0)) {
3459return Replace(XmlILOptimization.EliminateIsType, local0, VisitFalse(f.False()));
3465if (this[XmlILOptimization.EliminateIsType]) {
3470if (AllowReplace(XmlILOptimization.EliminateIsType, local0)) {
3471return Replace(XmlILOptimization.EliminateIsType, local0, VisitIsEmpty(f.IsEmpty(local1)));
3476if (this[XmlILOptimization.EliminateIsType]) {
3482if (AllowReplace(XmlILOptimization.EliminateIsType, local0)) {
3483return Replace(XmlILOptimization.EliminateIsType, local0, VisitLoop(f.Loop(VisitLet(f.Let(local1)), VisitTrue(f.True()))));
3489if (this[XmlILOptimization.EliminateIsType]) {
3495if (AllowReplace(XmlILOptimization.EliminateIsType, local0)) {
3496return Replace(XmlILOptimization.EliminateIsType, local0, VisitLoop(f.Loop(VisitLet(f.Let(local1)), VisitFalse(f.False()))));