33 #define Aig_ObjForEachFanoutStatic( pObj, pFan, i ) \
34 for ( i = 0; (i < (int)(pObj)->nRefs) && ((pFan) = Aig_ObjFanoutStatic(pObj, i)); i++ )
54 int i, nFanouts, nFanoutsAlloc;
62 pObj->
pData = ppFanouts + nFanouts;
63 nFanouts += pObj->
nRefs;
66 assert( nFanouts < nFanoutsAlloc );
216 int i, nRegFixed, nRegMoves = 1;
219 for ( i = 0; i < nMaxIters && nRegMoves > 0; i++ )
225 printf(
"%2d : And = %6d. Reg = %5d. Unret = %5d. Move = %6d. ",
Aig_Man_t * Saig_ManRetimeForward(Aig_Man_t *p, int nMaxIters, int fVerbose)
static int Aig_ObjIsTravIdPrevious(Aig_Man_t *p, Aig_Obj_t *pObj)
typedefABC_NAMESPACE_HEADER_START struct Vec_Ptr_t_ Vec_Ptr_t
INCLUDES ///.
typedefABC_NAMESPACE_HEADER_START struct Aig_Man_t_ Aig_Man_t
INCLUDES ///.
static Aig_Obj_t * Aig_ObjChild0(Aig_Obj_t *pObj)
void Aig_ManStop(Aig_Man_t *p)
static int Aig_ObjIsTravIdCurrent(Aig_Man_t *p, Aig_Obj_t *pObj)
#define Saig_ManForEachLiLo(p, pObjLi, pObjLo, i)
static Aig_Obj_t * Aig_ObjFanin0(Aig_Obj_t *pObj)
static ABC_NAMESPACE_IMPL_START Aig_Obj_t * Aig_ObjFanoutStatic(Aig_Obj_t *pObj, int i)
DECLARATIONS ///.
static void Vec_PtrPush(Vec_Ptr_t *p, void *Entry)
#define ABC_ALLOC(type, num)
void Aig_ManMarkAutonomous_rec(Aig_Man_t *p, Aig_Obj_t *pObj)
static abctime Abc_Clock()
static Aig_Obj_t * Aig_ObjFanin1(Aig_Obj_t *pObj)
static void Aig_ObjSetTravIdCurrent(Aig_Man_t *p, Aig_Obj_t *pObj)
static int Aig_ManNodeNum(Aig_Man_t *p)
void Aig_ManIncrementTravId(Aig_Man_t *p)
DECLARATIONS ///.
static int Aig_ManCoNum(Aig_Man_t *p)
#define Aig_ManForEachNode(p, pObj, i)
Aig_Man_t * Aig_ManReduceLaches(Aig_Man_t *p, int fVerbose)
Aig_Man_t * Saig_ManRetimeForwardOne(Aig_Man_t *p, int *pnRegFixed, int *pnRegMoves)
static int Aig_ManCiNum(Aig_Man_t *p)
#define ABC_NAMESPACE_IMPL_END
static Aig_Obj_t * Aig_ObjChild1(Aig_Obj_t *pObj)
Aig_Man_t * Saig_ManRetimeDupForward(Aig_Man_t *p, Vec_Ptr_t *vCut)
#define Saig_ManForEachLo(p, pObj, i)
static int Aig_ManObjNumMax(Aig_Man_t *p)
static Aig_Obj_t * Aig_ManConst1(Aig_Man_t *p)
#define ABC_NAMESPACE_IMPL_START
static int Aig_ManRegNum(Aig_Man_t *p)
static void Aig_ObjSetFanoutStatic(Aig_Obj_t *pObj, Aig_Obj_t *pFan)
#define Aig_ManForEachObj(p, pObj, i)
static Vec_Ptr_t * Vec_PtrAlloc(int nCap)
FUNCTION DEFINITIONS ///.
void Saig_ManMarkAutonomous(Aig_Man_t *p)
#define Aig_ObjForEachFanoutStatic(pObj, pFan, i)
static void Vec_PtrFree(Vec_Ptr_t *p)
Aig_Obj_t ** Aig_ManStaticFanoutStart(Aig_Man_t *p)
FUNCTION DEFINITIONS ///.
#define Saig_ManForEachPi(p, pObj, i)