public override bool Match(HlslTreeNode node) { return(node is MultiplyOperation multiply && (_templateMatcher.IsNegativeOne(multiply.Factor1) || _templateMatcher.IsNegativeOne(multiply.Factor2))); }