142 int i, k, iObj, iFanin;
144 if ( vNodes == NULL )
146 if ( vNodes == NULL )
173 if ( vNodes != vNodesInit )
197 Vec_Int_t * vUifConstrs, * vCompares, * vFanins;
198 int i, k, iObj, iObj2, iObjNew, iObjNew2;
199 int iFanin, iFanin2, iFaninNew;
201 if ( vPairs == NULL )
203 if ( vPairs == NULL )
278 if ( vPairs != vPairsInit )
static int Wlc_ObjId(Wlc_Ntk_t *p, Wlc_Obj_t *pObj)
static int Wlc_ObjIsSigned(Wlc_Obj_t *p)
#define Wlc_ObjForEachFanin(pObj, iFanin, i)
typedefABC_NAMESPACE_IMPL_START struct Vec_Int_t_ Vec_Int_t
DECLARATIONS ///.
static Wlc_Obj_t * Wlc_NtkObj(Wlc_Ntk_t *p, int Id)
#define Wlc_NtkForEachObjVec(vVec, p, pObj, i)
void Wlc_NtkTransferNames(Wlc_Ntk_t *pNew, Wlc_Ntk_t *p)
Vec_Int_t * Wlc_NtkCollectMultipliers(Wlc_Ntk_t *p)
static Wlc_Obj_t * Wlc_ObjFanin(Wlc_Ntk_t *p, Wlc_Obj_t *pObj, int i)
#define Wlc_NtkForEachPo(p, pPo, i)
static int Wlc_ObjRange(Wlc_Obj_t *p)
static void Wlc_NtkCleanCopy(Wlc_Ntk_t *p)
int Wlc_ObjAlloc(Wlc_Ntk_t *p, int Type, int Signed, int End, int Beg)
static void Vec_IntWriteEntry(Vec_Int_t *p, int i, int Entry)
static void Wlc_ObjSetCopy(Wlc_Ntk_t *p, int iObj, int i)
int Wlc_ObjCreate(Wlc_Ntk_t *p, int Type, int Signed, int End, int Beg, Vec_Int_t *vFanins)
static Vec_Int_t * Vec_IntAlloc(int nCap)
FUNCTION DEFINITIONS ///.
static int Wlc_ObjFaninNum(Wlc_Obj_t *p)
static int Vec_IntEntry(Vec_Int_t *p, int i)
#define ABC_NAMESPACE_IMPL_END
static void Vec_IntFill(Vec_Int_t *p, int nSize, int Fill)
static void Vec_IntPush(Vec_Int_t *p, int Entry)
ABC_NAMESPACE_IMPL_START int Wlc_NtkPairIsUifable(Wlc_Ntk_t *p, Wlc_Obj_t *pObj, Wlc_Obj_t *pObj2)
DECLARATIONS ///.
#define Wlc_NtkForEachObj(p, pObj, i)
MACRO DEFINITIONS ///.
Wlc_Ntk_t * Wlc_NtkUifNodePairs(Wlc_Ntk_t *p, Vec_Int_t *vPairsInit)
Wlc_Ntk_t * Wlc_NtkAbstractNodes(Wlc_Ntk_t *p, Vec_Int_t *vNodesInit)
#define Vec_IntForEachEntryDouble(vVec, Entry1, Entry2, i)
#define ABC_NAMESPACE_IMPL_START
Wlc_Ntk_t * Wlc_NtkDupDfs(Wlc_Ntk_t *p)
static int Wlc_ObjCopy(Wlc_Ntk_t *p, int iObj)
static int Wlc_ObjFaninId(Wlc_Obj_t *p, int i)
static int Vec_IntSize(Vec_Int_t *p)
static int * Wlc_ObjFanins(Wlc_Obj_t *p)
Vec_Int_t * Wlc_NtkFindUifableMultiplierPairs(Wlc_Ntk_t *p)
static void Vec_IntFree(Vec_Int_t *p)
static void Vec_IntClear(Vec_Int_t *p)
static void Vec_IntFillTwo(Vec_Int_t *p, int nSize, int FillEven, int FillOdd)