Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
657f2acd
Commit
657f2acd
authored
Oct 10, 2011
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes to the matching procedure.
parent
9daabedf
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
9 deletions
+16
-9
src/map/if/if.h
+4
-6
src/map/if/ifDec16.c
+0
-0
src/map/if/ifMan.c
+12
-3
No files found.
src/map/if/if.h
View file @
657f2acd
...
@@ -192,12 +192,10 @@ struct If_Man_t_
...
@@ -192,12 +192,10 @@ struct If_Man_t_
Tim_Man_t
*
pManTim
;
Tim_Man_t
*
pManTim
;
Vec_Int_t
*
vCoAttrs
;
// CO attributes 0=optimize; 1=keep; 2=relax
Vec_Int_t
*
vCoAttrs
;
// CO attributes 0=optimize; 1=keep; 2=relax
// hash table for functions
// hash table for functions
int
nTableSize
;
// hash table size
int
nTableSize
[
2
];
// hash table size
int
nTableEntries
;
// hash table entries
int
nTableEntries
[
2
];
// hash table entries
void
**
pHashTable
;
// hash table bins
void
**
pHashTable
[
2
];
// hash table bins
Mem_Fixed_t
*
pMemEntries
;
// memory manager for hash table entries
Mem_Fixed_t
*
pMemEntries
;
// memory manager for hash table entries
// statistics
// statistics
// int timeTruth;
// int timeTruth;
};
};
...
...
src/map/if/ifDec16.c
View file @
657f2acd
This diff is collapsed.
Click to expand it.
src/map/if/ifMan.c
View file @
657f2acd
...
@@ -127,6 +127,12 @@ void If_ManRestart( If_Man_t * p )
...
@@ -127,6 +127,12 @@ void If_ManRestart( If_Man_t * p )
***********************************************************************/
***********************************************************************/
void
If_ManStop
(
If_Man_t
*
p
)
void
If_ManStop
(
If_Man_t
*
p
)
{
{
{
// extern void If_CluHashFindMedian( If_Man_t * p );
// extern void If_CluHashTableCheck( If_Man_t * p );
// If_CluHashFindMedian( p );
// If_CluHashTableCheck( p );
}
if
(
p
->
pPars
->
fVerbose
&&
p
->
nCutsUselessAll
)
if
(
p
->
pPars
->
fVerbose
&&
p
->
nCutsUselessAll
)
{
{
int
i
;
int
i
;
...
@@ -160,9 +166,12 @@ void If_ManStop( If_Man_t * p )
...
@@ -160,9 +166,12 @@ void If_ManStop( If_Man_t * p )
if
(
p
->
vSwitching
)
if
(
p
->
vSwitching
)
Vec_IntFree
(
p
->
vSwitching
);
Vec_IntFree
(
p
->
vSwitching
);
// hash table
// hash table
if
(
p
->
pPars
->
fVerbose
&&
p
->
nTableEntries
)
// if ( p->pPars->fVerbose && p->nTableEntries[0] )
printf
(
"Hash table: Entries = %7d. Size = %7d.
\n
"
,
p
->
nTableEntries
,
p
->
nTableSize
);
// printf( "Hash table 2: Entries = %7d. Size = %7d.\n", p->nTableEntries[0], p->nTableSize[0] );
ABC_FREE
(
p
->
pHashTable
);
// if ( p->pPars->fVerbose && p->nTableEntries[1] )
// printf( "Hash table 3: Entries = %7d. Size = %7d.\n", p->nTableEntries[1], p->nTableSize[1] );
ABC_FREE
(
p
->
pHashTable
[
0
]
);
ABC_FREE
(
p
->
pHashTable
[
1
]
);
if
(
p
->
pMemEntries
)
if
(
p
->
pMemEntries
)
Mem_FixedStop
(
p
->
pMemEntries
,
0
);
Mem_FixedStop
(
p
->
pMemEntries
,
0
);
ABC_FREE
(
p
);
ABC_FREE
(
p
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment