llir-opt
0.0.1
Low-Level Post-Link Optimiser for OCaml and C
|
#include <passes/tags/sat.h>
Public Member Functions | |
void | Add (llvm::ArrayRef< ID< Lit >> pos, llvm::ArrayRef< ID< Lit >> neg) |
bool | IsSatisfiable () |
bool | IsSatisfiableWith (ID< Lit > id) |
void | dump (llvm::raw_ostream &os=llvm::errs()) |
n-SAT solver based on DPLL.
void SATProblem::dump | ( | llvm::raw_ostream & | os = llvm::errs() | ) |
Print the constraint system.
bool SATProblem::IsSatisfiable | ( | ) |
Return true if the system is satisfiable.
bool SATProblem::IsSatisfiableWith | ( | ID< Lit > | id | ) |
Returns true if the system is satisfiable assuming an additional true lit.