spot/buddy/src
Alexandre Duret-Lutz 1d1872ab90 [buddy] Inline the "is bdd constant" check performed in copies/constructors.
This avoids a library call to bdd_addref or bdd_delref.

* src/kernel.c (bdd_delref_nc, bdd_addref_nc): New function,
that work only on BDD that are not constant.
* src/cpext.cxx (bdd::operator=): Move...
* src/bdd.hh (bdd::operator=): ... here.
(bdd::bdd, bdd::~bdd, bdd::operator=): Inline the "is bdd constant"
check and call bdd_delref_nc/bdd_addref_nc only otherwise.
2011-04-30 13:37:53 +02:00
..
.cvsignore more files to ignore 2003-06-30 07:48:20 +00:00
.gitignore Add .gitignore files 2008-03-14 16:59:32 +01:00
bdd.h [buddy] Inline the "is bdd constant" check performed in copies/constructors. 2011-04-30 13:37:53 +02:00
bddio.c [buddy] 2011-04-05 09:29:03 +02:00
bddop.c [buddy] Hint gcc about likely/unlikely branches. 2011-04-30 13:30:13 +02:00
bddtest.cxx * src/bddtest.cxx: Include <cstdlib> to compile with g++-4.3. 2008-03-14 16:59:40 +01:00
bddtree.h * configure.ac, Makefile.am, src/Makefile.am, doc/Makefile.am, 2003-05-05 13:44:49 +00:00
bvec.c * configure.ac, Makefile.am, src/Makefile.am, doc/Makefile.am, 2003-05-05 13:44:49 +00:00
bvec.h [buddy] 2011-04-05 09:29:03 +02:00
cache.c * configure.ac, Makefile.am, src/Makefile.am, doc/Makefile.am, 2003-05-05 13:44:49 +00:00
cache.h * configure.ac, Makefile.am, src/Makefile.am, doc/Makefile.am, 2003-05-05 13:44:49 +00:00
cppext.cxx [buddy] Inline the "is bdd constant" check performed in copies/constructors. 2011-04-30 13:37:53 +02:00
depend.inf Initial revision 2003-05-05 10:57:53 +00:00
fdd.c * configure.ac, Makefile.am, src/Makefile.am, doc/Makefile.am, 2003-05-05 13:44:49 +00:00
fdd.h * configure.ac, Makefile.am, src/Makefile.am, doc/Makefile.am, 2003-05-05 13:44:49 +00:00
imatrix.c Initial revision 2003-05-05 10:57:53 +00:00
imatrix.h [buddy] 2011-04-05 09:29:03 +02:00
kernel.c [buddy] Inline the "is bdd constant" check performed in copies/constructors. 2011-04-30 13:37:53 +02:00
kernel.h [buddy] 2011-04-04 19:10:06 +02:00
Makefile.am * src/Makefile.am (libbdd_la_LDFLAGS): Add -no-undefined. 2004-07-23 09:06:54 +00:00
pairs.c [buddy] * src/pairs.c (bdd_pairalloc): Fix prototype. 2011-04-30 13:22:27 +02:00
prime.c * configure.ac, Makefile.am, src/Makefile.am, doc/Makefile.am, 2003-05-05 13:44:49 +00:00
prime.h * configure.ac, Makefile.am, src/Makefile.am, doc/Makefile.am, 2003-05-05 13:44:49 +00:00
reorder.c [buddy] 2011-04-10 22:12:25 +02:00
tree.c * configure.ac, Makefile.am, src/Makefile.am, doc/Makefile.am, 2003-05-05 13:44:49 +00:00