51 Vec_Int_t * vLeaves, * vTruth, * vVisited, * vLeavesBest;
62 printf(
"Resynthesis is not performed when nodes have more than 4 inputs.\n" );
void Gia_ManStop(Gia_Man_t *p)
static int Gia_ManAppendCo(Gia_Man_t *p, int iLit0)
typedefABC_NAMESPACE_IMPL_START struct Vec_Int_t_ Vec_Int_t
DECLARATIONS ///.
static Gia_Obj_t * Gia_ObjFromLit(Gia_Man_t *p, int iLit)
static int Gia_ObjPhaseRealLit(Gia_Man_t *p, int iLit)
static int Gia_ManAppendCi(Gia_Man_t *p)
static int Gia_ObjValue(Gia_Obj_t *pObj)
void Gia_ManSetRegNum(Gia_Man_t *p, int nRegs)
static abctime Abc_Clock()
void Gia_ManCleanTruth(Gia_Man_t *p)
static int Abc_LitNotCond(int Lit, int c)
ABC_NAMESPACE_IMPL_START int Dar_LibEvalBuild(Gia_Man_t *p, Vec_Int_t *vCut, unsigned uTruth, int fKeepLevel, Vec_Int_t *vLeavesBest)
DECLARATIONS ///.
int Gia_ManHasDangling(Gia_Man_t *p)
static int Gia_ManTruthIsConst0(unsigned *pIn, int nVars)
static void Vec_IntWriteEntry(Vec_Int_t *p, int i, int Entry)
static int Gia_ManAndNum(Gia_Man_t *p)
static int Gia_ObjLevel(Gia_Man_t *p, Gia_Obj_t *pObj)
static Vec_Int_t * Vec_IntAlloc(int nCap)
FUNCTION DEFINITIONS ///.
#define ABC_NAMESPACE_IMPL_END
Gia_Man_t * Gia_ManStart(int nObjsMax)
DECLARATIONS ///.
unsigned * Gia_ManConvertAigToTruth(Gia_Man_t *p, Gia_Obj_t *pRoot, Vec_Int_t *vLeaves, Vec_Int_t *vTruth, Vec_Int_t *vVisited)
static void Vec_IntPush(Vec_Int_t *p, int Entry)
void Gia_ManCleanLevels(Gia_Man_t *p, int Size)
void Gia_ManFillValue(Gia_Man_t *p)
int Gia_ManLutSizeMax(Gia_Man_t *p)
void Dar_LibPrepare(int nSubgraphs)
Gia_Man_t * Gia_ManMapShrink4(Gia_Man_t *p, int fKeepLevel, int fVerbose)
FUNCTION DEFINITIONS ///.
static int Gia_ObjFanin0Copy(Gia_Obj_t *pObj)
static int Gia_ObjIsCo(Gia_Obj_t *pObj)
#define Gia_ManForEachObjVec(vVec, p, pObj, i)
#define ABC_NAMESPACE_IMPL_START
static int Gia_ManTruthIsConst1(unsigned *pIn, int nVars)
static int Vec_IntSize(Vec_Int_t *p)
static int Gia_ManHasMapping(Gia_Man_t *p)
static Gia_Obj_t * Gia_ManConst0(Gia_Man_t *p)
#define ABC_CALLOC(type, num)
void Gia_ManSetPhase(Gia_Man_t *p)
static int Gia_ObjIsLut(Gia_Man_t *p, int Id)
void Gia_ManHashAlloc(Gia_Man_t *p)
#define Gia_ManForEachObj1(p, pObj, i)
static void Vec_IntFree(Vec_Int_t *p)
static void Vec_IntClear(Vec_Int_t *p)
static int Gia_ObjIsCi(Gia_Obj_t *pObj)
Gia_Man_t * Gia_ManCleanup(Gia_Man_t *p)
char * Abc_UtilStrsav(char *s)
#define Gia_LutForEachFanin(p, i, iFan, k)
static int Gia_ManObjNum(Gia_Man_t *p)
void Gia_ManHashStop(Gia_Man_t *p)
static void Gia_ObjSetLevel(Gia_Man_t *p, Gia_Obj_t *pObj, int l)
static int Gia_ManRegNum(Gia_Man_t *p)