64 word uTruth0, uTruth1;
101 word uTruth0, uTruth1;
180 word * pTruth, * pTruthL, * pTruth0, * pTruth1;
217 while ( pTruth < pTruthL )
218 *pTruth++ = ~*pTruth0++ & ~*pTruth1++;
220 while ( pTruth < pTruthL )
221 *pTruth++ = ~*pTruth0++ & *pTruth1++;
226 while ( pTruth < pTruthL )
227 *pTruth++ = *pTruth0++ & ~*pTruth1++;
229 while ( pTruth < pTruthL )
230 *pTruth++ = *pTruth0++ & *pTruth1++;
354 word * pTruth, * pTruthL, * pTruth0, * pTruth1;
355 int i, iObj, Id0, Id1;
380 while ( pTruth < pTruthL )
381 *pTruth++ = ~*pTruth0++ & ~*pTruth1++;
383 while ( pTruth < pTruthL )
384 *pTruth++ = ~*pTruth0++ & *pTruth1++;
389 while ( pTruth < pTruthL )
390 *pTruth++ = *pTruth0++ & ~*pTruth1++;
392 while ( pTruth < pTruthL )
393 *pTruth++ = *pTruth0++ & *pTruth1++;
void Gia_ObjCollectInternal(Gia_Man_t *p, Gia_Obj_t *pObj)
void Gia_ObjCollectInternal_rec(Gia_Man_t *p, Gia_Obj_t *pObj)
void Gia_ObjComputeTruthTable6_rec(Gia_Man_t *p, Gia_Obj_t *pObj, Vec_Wrd_t *vTruths)
static int Gia_ObjFaninC1(Gia_Obj_t *pObj)
static void Vec_IntFillExtra(Vec_Int_t *p, int nSize, int Fill)
typedefABC_NAMESPACE_IMPL_START struct Vec_Int_t_ Vec_Int_t
DECLARATIONS ///.
static int Gia_ObjIsTravIdCurrent(Gia_Man_t *p, Gia_Obj_t *pObj)
static word * Gla_ObjTruthFree1(Gia_Man_t *p)
static int Gia_ObjNum(Gia_Man_t *p, Gia_Obj_t *pObj)
static int Abc_Truth6WordNum(int nVars)
static void Vec_WrdPush(Vec_Wrd_t *p, word Entry)
static int Gia_ObjIsConst0(Gia_Obj_t *pObj)
static word * Gla_ObjTruthFree2(Gia_Man_t *p)
static int Gia_ObjFaninId1p(Gia_Man_t *p, Gia_Obj_t *pObj)
static word Vec_WrdEntryLast(Vec_Wrd_t *p)
static abctime Abc_Clock()
static int Abc_MaxInt(int a, int b)
static int Vec_WrdSize(Vec_Wrd_t *p)
static void Vec_WrdFreeP(Vec_Wrd_t **p)
static Gia_Obj_t * Gia_ManObj(Gia_Man_t *p, int v)
static word * Gla_ObjTruthDup(Gia_Man_t *p, word *pDst, word *pSrc, int c)
static ABC_NAMESPACE_IMPL_START word s_Truth6[6]
DECLARATIONS ///.
static Vec_Ptr_t * Vec_PtrAllocTruthTables(int nVars)
static void Abc_PrintTime(int level, const char *pStr, abctime time)
static Vec_Int_t * Vec_IntStart(int nSize)
static int Gia_ObjHasNumId(Gia_Man_t *p, int Id)
static Gia_Obj_t * Gia_ObjFanin0(Gia_Obj_t *pObj)
word * Gia_ObjComputeTruthTableCut(Gia_Man_t *p, Gia_Obj_t *pRoot, Vec_Int_t *vLeaves)
static Vec_Int_t * Vec_IntAlloc(int nCap)
FUNCTION DEFINITIONS ///.
static void Vec_WrdClear(Vec_Wrd_t *p)
void Gia_ObjCollectInternalCut_rec(Gia_Man_t *p, int iObj)
static word * Gla_ObjTruthConst0(Gia_Man_t *p, word *pDst)
static int Gia_ObjIsRo(Gia_Man_t *p, Gia_Obj_t *pObj)
static void Vec_WrdWriteEntry(Vec_Wrd_t *p, int i, word Entry)
unsigned __int64 word
DECLARATIONS ///.
static void Gia_ObjSetTravIdCurrent(Gia_Man_t *p, Gia_Obj_t *pObj)
static word * Gla_ObjTruthElem(Gia_Man_t *p, int i)
#define ABC_NAMESPACE_IMPL_END
static void Vec_IntFill(Vec_Int_t *p, int nSize, int Fill)
static word * Gla_ObjTruthNodeId(Gia_Man_t *p, int Id)
word Gia_ObjComputeTruthTable6(Gia_Man_t *p, Gia_Obj_t *pObj, Vec_Int_t *vSupp, Vec_Wrd_t *vTruths)
static void Vec_IntPush(Vec_Int_t *p, int Entry)
static int Gia_ObjId(Gia_Man_t *p, Gia_Obj_t *pObj)
#define Vec_IntForEachEntryStart(vVec, Entry, i, Start)
static void Vec_IntFreeP(Vec_Int_t **p)
static int Vec_IntCap(Vec_Int_t *p)
word * Gia_ObjComputeTruthTable(Gia_Man_t *p, Gia_Obj_t *pObj)
static word * Gla_ObjTruthNode(Gia_Man_t *p, Gia_Obj_t *pObj)
void Gia_ObjComputeTruthTableStop(Gia_Man_t *p)
static int Gia_ObjIsCo(Gia_Obj_t *pObj)
#define Gia_ManForEachObjVec(vVec, p, pObj, i)
#define ABC_NAMESPACE_IMPL_START
static void * Vec_PtrEntry(Vec_Ptr_t *p, int i)
static Vec_Wrd_t * Vec_WrdStart(int nSize)
static void Gia_ObjSetNumId(Gia_Man_t *p, int Id, int n)
static int Vec_IntSize(Vec_Int_t *p)
static word * Vec_WrdArray(Vec_Wrd_t *p)
#define ABC_CONST(number)
PARAMETERS ///.
void Gia_ObjComputeTruthTableStart(Gia_Man_t *p, int nVarsMax)
void Gia_ObjComputeTruthTableTest(Gia_Man_t *p)
static int Gia_ObjIsAnd(Gia_Obj_t *pObj)
static int Gia_ObjNumId(Gia_Man_t *p, int Id)
static word Vec_WrdEntry(Vec_Wrd_t *p, int i)
static int Gia_ObjFaninId0p(Gia_Man_t *p, Gia_Obj_t *pObj)
static void Vec_PtrFreeP(Vec_Ptr_t **p)
static Gia_Obj_t * Gia_ObjFanin1(Gia_Obj_t *pObj)
#define ABC_INFINITY
MACRO DEFINITIONS ///.
void Gia_ObjCollectInternalCut(Gia_Man_t *p, int iRoot, Vec_Int_t *vLeaves)
word Gia_ObjComputeTruthTable6Lut(Gia_Man_t *p, int iObj, Vec_Wrd_t *vTemp)
static void Gia_ObjResetNumId(Gia_Man_t *p, int Id)
static void Gia_ObjSetNum(Gia_Man_t *p, Gia_Obj_t *pObj, int n)
static int Gia_ObjIsLut(Gia_Man_t *p, int Id)
void Gia_ManIncrementTravId(Gia_Man_t *p)
static int Gia_ObjFaninC0(Gia_Obj_t *pObj)
static int Gia_ManPiNum(Gia_Man_t *p)
static void Vec_IntClear(Vec_Int_t *p)
static void Vec_WrdFillExtra(Vec_Wrd_t *p, int nSize, word Fill)
#define Gia_ManForEachPo(p, pObj, i)
#define Vec_IntForEachEntry(vVec, Entry, i)
MACRO DEFINITIONS ///.
static int Gia_ObjFaninId1(Gia_Obj_t *pObj, int ObjId)
typedefABC_NAMESPACE_HEADER_START struct Vec_Wrd_t_ Vec_Wrd_t
INCLUDES ///.
#define Gia_LutForEachFanin(p, i, iFan, k)
static int Gia_ObjCioId(Gia_Obj_t *pObj)
static int Gia_ManObjNum(Gia_Man_t *p)
void Gia_ObjComputeTruthTable6Lut_rec(Gia_Man_t *p, int iObj, Vec_Wrd_t *vTemp)
FUNCTION DEFINITIONS ///.
static int Gia_ObjFaninId0(Gia_Obj_t *pObj, int ObjId)
static int Gia_ObjIsPi(Gia_Man_t *p, Gia_Obj_t *pObj)