A generalized control-flow-aware pattern recognition algorithm for behavioral synthesis | IEEE Conference Publication | IEEE Xplore