260 p->nObjs[pObj->
Type]--;
280 int nRefsOld = pObj->
nRefs;
284 pObj->
nRefs = nRefsOld;
394 nRefsOld = pObjOld->
nRefs;
396 pObjOld->
nRefs = nRefsOld;
444 Ivy_Obj_t * pFanReal0, * pFanReal1, * pResult;
Ivy_Obj_t * Ivy_Latch(Ivy_Man_t *p, Ivy_Obj_t *pObj, Ivy_Init_t Init)
static int Ivy_IsComplement(Ivy_Obj_t *p)
void Ivy_ObjDelete_rec(Ivy_Man_t *p, Ivy_Obj_t *pObj, int fFreeTop)
static int Ivy_ObjLevelNew(Ivy_Obj_t *pObj)
static void Vec_IntFillExtra(Vec_Int_t *p, int nSize, int Fill)
static int Ivy_ObjIsPi(Ivy_Obj_t *pObj)
static void Ivy_ObjOverwrite(Ivy_Obj_t *pBase, Ivy_Obj_t *pData)
void Ivy_NodeFixBufferFanins(Ivy_Man_t *p, Ivy_Obj_t *pNode, int fUpdateLevel)
static void Vec_PtrPush(Vec_Ptr_t *p, void *Entry)
static int Ivy_ObjIsNone(Ivy_Obj_t *pObj)
void Ivy_ObjDelete(Ivy_Man_t *p, Ivy_Obj_t *pObj, int fFreeTop)
Ivy_Obj_t * Ivy_Oper(Ivy_Man_t *p, Ivy_Obj_t *p0, Ivy_Obj_t *p1, Ivy_Type_t Type)
FUNCTION DEFINITIONS ///.
void Ivy_TableDelete(Ivy_Man_t *p, Ivy_Obj_t *pObj)
static void Ivy_ObjRefsInc(Ivy_Obj_t *pObj)
static int Vec_PtrSize(Vec_Ptr_t *p)
static int Ivy_ObjIsLatch(Ivy_Obj_t *pObj)
void Ivy_ObjUpdateLevel_rec(Ivy_Man_t *p, Ivy_Obj_t *pObj)
static Ivy_Obj_t * Ivy_ObjFanin1(Ivy_Obj_t *pObj)
static void Vec_PtrRemove(Vec_Ptr_t *p, void *Entry)
void Ivy_ObjAddFanout(Ivy_Man_t *p, Ivy_Obj_t *pObj, Ivy_Obj_t *pFanout)
void Ivy_ObjDeleteFanout(Ivy_Man_t *p, Ivy_Obj_t *pObj, Ivy_Obj_t *pFanout)
void Ivy_TableInsert(Ivy_Man_t *p, Ivy_Obj_t *pObj)
static Ivy_Obj_t * Ivy_ObjFanin0(Ivy_Obj_t *pObj)
Ivy_Obj_t * Ivy_ObjReal(Ivy_Obj_t *pObj)
static void Vec_IntWriteEntry(Vec_Int_t *p, int i, int Entry)
Ivy_Obj_t * Ivy_TableLookup(Ivy_Man_t *p, Ivy_Obj_t *pObj)
FUNCTION DEFINITIONS ///.
static int Vec_IntEntry(Vec_Int_t *p, int i)
static int Ivy_ObjRefs(Ivy_Obj_t *pObj)
void Ivy_ManHaigCreateChoice(Ivy_Man_t *p, Ivy_Obj_t *pObjOld, Ivy_Obj_t *pObjNew)
Ivy_Obj_t * Ivy_ObjCreatePo(Ivy_Man_t *p, Ivy_Obj_t *pDriver)
void Ivy_ObjDisconnect(Ivy_Man_t *p, Ivy_Obj_t *pObj)
static void Ivy_ObjRefsDec(Ivy_Obj_t *pObj)
#define ABC_NAMESPACE_IMPL_END
static int Ivy_ObjIsOneFanin(Ivy_Obj_t *pObj)
static Ivy_Obj_t * Ivy_Regular(Ivy_Obj_t *p)
static Ivy_Type_t Ivy_ObjType(Ivy_Obj_t *pObj)
void Ivy_ObjPatchFanout(Ivy_Man_t *p, Ivy_Obj_t *pObj, Ivy_Obj_t *pFanoutOld, Ivy_Obj_t *pFanoutNew)
static int Ivy_ObjIsNode(Ivy_Obj_t *pObj)
void Ivy_ObjReplace(Ivy_Man_t *p, Ivy_Obj_t *pObjOld, Ivy_Obj_t *pObjNew, int fDeleteOld, int fFreeTop, int fUpdateLevel)
static Ivy_Obj_t * Ivy_ObjChild0(Ivy_Obj_t *pObj)
static void Ivy_ObjClean(Ivy_Obj_t *pObj)
static void Vec_PtrWriteEntry(Vec_Ptr_t *p, int i, void *Entry)
typedefABC_NAMESPACE_HEADER_START struct Ivy_Man_t_ Ivy_Man_t
INCLUDES ///.
#define ABC_NAMESPACE_IMPL_START
void Ivy_ObjPatchFanin0(Ivy_Man_t *p, Ivy_Obj_t *pObj, Ivy_Obj_t *pFaninNew)
static Ivy_Obj_t * Ivy_ObjCreateGhost(Ivy_Man_t *p, Ivy_Obj_t *p0, Ivy_Obj_t *p1, Ivy_Type_t Type, Ivy_Init_t Init)
void Ivy_ObjConnect(Ivy_Man_t *p, Ivy_Obj_t *pObj, Ivy_Obj_t *pFan0, Ivy_Obj_t *pFan1)
static int Ivy_ObjIsExor(Ivy_Obj_t *pObj)
static int Vec_IntSize(Vec_Int_t *p)
static int Ivy_ObjIsConst1(Ivy_Obj_t *pObj)
static void Ivy_ManRecycleMemory(Ivy_Man_t *p, Ivy_Obj_t *pEntry)
static int Ivy_ObjIsGhost(Ivy_Obj_t *pObj)
static int Ivy_ObjIsBuf(Ivy_Obj_t *pObj)
ABC_NAMESPACE_IMPL_START Ivy_Obj_t * Ivy_ObjCreatePi(Ivy_Man_t *p)
DECLARATIONS ///.
static Ivy_Obj_t * Ivy_ObjChild1(Ivy_Obj_t *pObj)
static int Ivy_ObjFaninPhase(Ivy_Obj_t *pObj)
static int Ivy_ObjIsPo(Ivy_Obj_t *pObj)
void Ivy_ObjUpdateLevelR_rec(Ivy_Man_t *p, Ivy_Obj_t *pObj, int ReqNew)
void Ivy_TableUpdate(Ivy_Man_t *p, Ivy_Obj_t *pObj, int ObjIdNew)
Ivy_Obj_t * Ivy_ObjCreate(Ivy_Man_t *p, Ivy_Obj_t *pGhost)
static Ivy_Obj_t * Ivy_ManFetchMemory(Ivy_Man_t *p)
static Ivy_Init_t Ivy_ObjInit(Ivy_Obj_t *pObj)
void Ivy_ManHaigCreateObj(Ivy_Man_t *p, Ivy_Obj_t *pObj)