Lib/vc4/SourceTranslate.cpp
/**
 * @return true if statement handled, false otherwise
 */
@return true if statement handled, false otherwise
@return true if statement handled false otherwise
bool SourceTranslate::stmt(Instr::List &seq, Stmt::Ptr s) {
  bool ret = true;
  switch (s->tag) {
    default:
      if (!DMA::translate_stmt(seq, s->tag, s->dma)) {
        assertq(false, "translate_stmt(): unexpected stmt tag", true);
        ret = false;
      }
      break;
  }
  return ret;
}
bool SourceTranslate :: stmt ( Instr :: List & seq , Stmt :: Ptr s ) { bool ret = true ; switch ( s -> tag ) { default : if ( ! DMA :: translate_stmt ( seq , s -> tag , s -> dma ) ) { assertq ( false , " " , true ) ; ret = false ; } break ; } return ret ; }
@return true if statement handled, false otherwise
@return true if statement handled false otherwise
// Add tag handling here as required