Added PatternMatch pass