yosys-master
|
Data Structures | |
class | RegionAllocator |
class | Heap |
struct | MkIndexDefault |
class | IntMap |
class | IntSet |
struct | Hash |
struct | Equal |
struct | DeepHash |
struct | DeepEqual |
class | Map |
class | Option |
struct | IntRange |
struct | Int64Range |
struct | DoubleRange |
class | DoubleOption |
class | IntOption |
class | Int64Option |
class | StringOption |
class | BoolOption |
class | StreamBuffer |
class | Queue |
class | SimpSolver |
class | Solver |
struct | Lit |
struct | MkIndexLit |
class | VMap |
class | LMap |
class | LSet |
class | lbool |
class | Clause |
class | ClauseAllocator |
class | ClauseIterator |
class | TrailIterator |
class | OccLists |
class | CMap |
struct | LessThan_default |
class | vec |
class | OutOfMemoryException |
Typedefs | |
typedef int | Var |
typedef RegionAllocator < uint32_t >::Ref | CRef |
Functions | |
template<class V , class T > | |
static void | remove (V &ts, const T &t) |
template<class V , class T > | |
static bool | find (V &ts, const T &t) |
template<class T > | |
static void | copy (const T &from, T &to) |
template<class T > | |
static void | copy (const vec< T > &from, vec< T > &to, bool append=false) |
template<class T > | |
static void | append (const vec< T > &from, vec< T > &to) |
template<class B , class Solver > | |
static void | readClause (B &in, Solver &S, vec< Lit > &lits) |
template<class B , class Solver > | |
static void | parse_DIMACS_main (B &in, Solver &S, bool strictp=false) |
template<class Solver > | |
static void | parse_DIMACS (gzFile input_stream, Solver &S, bool strictp=false) |
static uint32_t | hash (uint32_t x) |
static uint32_t | hash (uint64_t x) |
static uint32_t | hash (int32_t x) |
static uint32_t | hash (int64_t x) |
void | parseOptions (int &argc, char **argv, bool strict=false) |
void | printUsageAndExit (int argc, char **argv, bool verbose=false) |
void | setUsageHelp (const char *str) |
void | setHelpPrefixStr (const char *str) |
static bool | isEof (StreamBuffer &in) |
static bool | isEof (const char *in) |
template<class B > | |
static void | skipWhitespace (B &in) |
template<class B > | |
static void | skipLine (B &in) |
template<class B > | |
static int | parseInt (B &in) |
template<class B > | |
static bool | match (B &in, const char *str) |
template<class B > | |
static bool | eagerMatch (B &in, const char *str) |
static double | drand (double &seed) |
static int | irand (double &seed, int size) |
template<class T > | |
static void | randomShuffle (double &seed, vec< T > &xs) |
template<class T > | |
static void | randomShuffle (double &seed, vec< vec< T > > &xs) |
Lit | mkLit (Var var, bool sign=false) |
Lit | operator~ (Lit p) |
Lit | operator^ (Lit p, bool b) |
bool | sign (Lit p) |
int | var (Lit p) |
int | toInt (Var v) |
int | toInt (Lit p) |
Lit | toLit (int i) |
int | toInt (lbool l) |
lbool | toLbool (int v) |
const lbool | l_True ((uint8_t) 0) |
const lbool | l_False ((uint8_t) 1) |
const lbool | l_Undef ((uint8_t) 2) |
template<class T , class LessThan > | |
void | selectionSort (T *array, int size, LessThan lt) |
template<class T > | |
static void | selectionSort (T *array, int size) |
template<class T , class LessThan > | |
void | sort (T *array, int size, LessThan lt) |
template<class T > | |
static void | sort (T *array, int size) |
template<class T , class LessThan > | |
void | sort (vec< T > &v, LessThan lt) |
template<class T > | |
void | sort (vec< T > &v) |
static double | cpuTime (void) |
double | memUsed () |
double | memUsedPeak (bool strictlyPeak=false) |
void | setX86FPUPrecision () |
void | limitMemory (uint64_t max_mem_mb) |
void | limitTime (uint32_t max_cpu_time) |
void | sigTerm (void handler(int)) |
static void * | xrealloc (void *ptr, size_t size) |
Variables | |
static const int | nprimes = 25 |
static const int | primes [nprimes] = { 31, 73, 151, 313, 643, 1291, 2593, 5233, 10501, 21013, 42073, 84181, 168451, 337219, 674701, 1349473, 2699299, 5398891, 10798093, 21596719, 43193641, 86387383, 172775299, 345550609, 691101253 } |
const Var | var_Undef = -1 |
const Lit | lit_Undef = { -2 } |
const Lit | lit_Error = { -1 } |
const CRef | CRef_Undef = RegionAllocator<uint32_t>::Ref_Undef |
typedef RegionAllocator<uint32_t>::Ref Minisat::CRef |
Definition at line 137 of file SolverTypes.h.
typedef int Minisat::Var |
Definition at line 43 of file SolverTypes.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 59 of file ParseUtils.h.
const lbool Minisat::l_False | ( | (uint8_t) | 1 | ) |
const lbool Minisat::l_True | ( | (uint8_t) | 0 | ) |
const lbool Minisat::l_Undef | ( | (uint8_t) | 2 | ) |
|
static |
double Minisat::memUsedPeak | ( | bool | strictlyPeak = false | ) |
|
inline |
Definition at line 63 of file SolverTypes.h.
|
inline |
Definition at line 65 of file SolverTypes.h.
|
inline |
Definition at line 64 of file SolverTypes.h.
|
static |
Definition at line 80 of file Dimacs.h.
|
static |
Definition at line 48 of file Dimacs.h.
|
static |
Definition at line 80 of file ParseUtils.h.
void Minisat::parseOptions | ( | int & | argc, |
char ** | argv, | ||
bool | strict = false |
||
) |
Definition at line 28 of file Options.cc.
void Minisat::printUsageAndExit | ( | int | argc, |
char ** | argv, | ||
bool | verbose = false |
||
) |
Definition at line 62 of file Options.cc.
|
static |
|
static |
|
static |
|
inlinestatic |
void Minisat::selectionSort | ( | T * | array, |
int | size, | ||
LessThan | lt | ||
) |
|
inlinestatic |
void Minisat::setHelpPrefixStr | ( | const char * | str | ) |
void Minisat::setUsageHelp | ( | const char * | str | ) |
|
inline |
void Minisat::sigTerm | ( | void | handlerint | ) |
|
static |
Definition at line 72 of file ParseUtils.h.
|
static |
void Minisat::sort | ( | T * | array, |
int | size, | ||
LessThan | lt | ||
) |
|
inlinestatic |
void Minisat::sort | ( | vec< T > & | v, |
LessThan | lt | ||
) |
void Minisat::sort | ( | vec< T > & | v | ) |
|
inline |
|
inline |
Definition at line 71 of file SolverTypes.h.
|
inline |
Definition at line 120 of file SolverTypes.h.
|
inline |
Definition at line 121 of file SolverTypes.h.
|
inline |
|
inline |
|
inlinestatic |
const CRef Minisat::CRef_Undef = RegionAllocator<uint32_t>::Ref_Undef |
Definition at line 225 of file SolverTypes.h.
const Lit Minisat::lit_Error = { -1 } |
Definition at line 78 of file SolverTypes.h.
const Lit Minisat::lit_Undef = { -2 } |
Definition at line 77 of file SolverTypes.h.
|
static |
const Var Minisat::var_Undef = -1 |
Definition at line 47 of file SolverTypes.h.