remove util functions from ng_rose.

This commit is contained in:
Alex Coyte
2017-01-05 10:50:59 +11:00
committed by Matthew Barr
parent 8741759c3a
commit a43116c6d4
5 changed files with 125 additions and 94 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2016, Intel Corporation
* Copyright (c) 2015-2017, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -275,6 +275,11 @@ void duplicateReport(NGHolder &g, ReportID r_old, ReportID r_new);
* accepts. */
void reverseHolder(const NGHolder &g, NGHolder &out);
/** \brief Returns the delay or ~0U if the graph cannot match with
* the trailing literal. */
u32 removeTrailingLiteralStates(NGHolder &g, const ue2_literal &lit,
u32 max_delay, bool overhang_ok = true);
#ifndef NDEBUG
// Assertions: only available in internal builds.