src/InsertHWBuffers.cpp
// Return name of the first produceconsumer statement encountered
Return name of the first produceconsumer statement encountered
Return name of the first produceconsumer statement encountered
string find_first_produce(Stmt s) {
  FirstProduceName fpn;
  s.accept(&fpn);
  return fpn.var;
}
string find_first_produce ( Stmt s ) { FirstProduceName fpn ; s . accept ( & fpn ) ; return fpn . var ; }
Return name of the first produceconsumer statement encountered
Return name of the first produceconsumer statement encountered