yosys-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ezSATvec Struct Reference

#include <ezsat.h>

+ Collaboration diagram for ezSATvec:

Public Member Functions

 ezSATvec (ezSAT &sat, const std::vector< int > &vec)
 
ezSATvec operator~ ()
 
ezSATvec operator- ()
 
ezSATvec operator& (const ezSATvec &other)
 
ezSATvec operator| (const ezSATvec &other)
 
ezSATvec operator^ (const ezSATvec &other)
 
ezSATvec operator+ (const ezSATvec &other)
 
ezSATvec operator- (const ezSATvec &other)
 
ezSATbit operator< (const ezSATvec &other)
 
ezSATbit operator<= (const ezSATvec &other)
 
ezSATbit operator== (const ezSATvec &other)
 
ezSATbit operator!= (const ezSATvec &other)
 
ezSATbit operator>= (const ezSATvec &other)
 
ezSATbit operator> (const ezSATvec &other)
 
ezSATvec operator<< (int shift)
 
ezSATvec operator>> (int shift)
 
 operator std::vector< int > () const
 

Data Fields

ezSATsat
 
std::vector< int > vec
 

Detailed Description

Definition at line 325 of file ezsat.h.

Constructor & Destructor Documentation

ezSATvec::ezSATvec ( ezSAT sat,
const std::vector< int > &  vec 
)
inline

Definition at line 330 of file ezsat.h.

330 : sat(sat), vec(vec) { }
std::vector< int > vec
Definition: ezsat.h:328
ezSAT & sat
Definition: ezsat.h:327

Member Function Documentation

ezSATvec::operator std::vector< int > ( ) const
inline

Definition at line 352 of file ezsat.h.

352 { return vec; }
std::vector< int > vec
Definition: ezsat.h:328

+ Here is the call graph for this function:

ezSATbit ezSATvec::operator!= ( const ezSATvec other)
inline

Definition at line 345 of file ezsat.h.

345 { return ezSATbit(sat, sat.vec_ne(vec, other.vec)); }
std::vector< int > vec
Definition: ezsat.h:328
int vec_ne(const std::vector< int > &vec1, const std::vector< int > &vec2)
Definition: ezsat.cc:959
ezSAT & sat
Definition: ezsat.h:327

+ Here is the call graph for this function:

ezSATvec ezSATvec::operator& ( const ezSATvec other)
inline

Definition at line 335 of file ezsat.h.

335 { return ezSATvec(sat, sat.vec_and(vec, other.vec)); }
std::vector< int > vec
Definition: ezsat.h:328
ezSAT & sat
Definition: ezsat.h:327
std::vector< int > vec_and(const std::vector< int > &vec1, const std::vector< int > &vec2)
Definition: ezsat.cc:709
ezSATvec(ezSAT &sat, const std::vector< int > &vec)
Definition: ezsat.h:330

+ Here is the call graph for this function:

ezSATvec ezSATvec::operator+ ( const ezSATvec other)
inline

Definition at line 339 of file ezsat.h.

339 { return ezSATvec(sat, sat.vec_add(vec, other.vec)); }
std::vector< int > vec
Definition: ezsat.h:328
std::vector< int > vec_add(const std::vector< int > &vec1, const std::vector< int > &vec2)
Definition: ezsat.cc:819
ezSAT & sat
Definition: ezsat.h:327
ezSATvec(ezSAT &sat, const std::vector< int > &vec)
Definition: ezsat.h:330

+ Here is the call graph for this function:

ezSATvec ezSATvec::operator- ( )
inline

Definition at line 333 of file ezsat.h.

333 { return ezSATvec(sat, sat.vec_neg(vec)); }
std::vector< int > vec
Definition: ezsat.h:328
std::vector< int > vec_neg(const std::vector< int > &vec)
Definition: ezsat.cc:867
ezSAT & sat
Definition: ezsat.h:327
ezSATvec(ezSAT &sat, const std::vector< int > &vec)
Definition: ezsat.h:330

+ Here is the call graph for this function:

ezSATvec ezSATvec::operator- ( const ezSATvec other)
inline

Definition at line 340 of file ezsat.h.

340 { return ezSATvec(sat, sat.vec_sub(vec, other.vec)); }
std::vector< int > vec_sub(const std::vector< int > &vec1, const std::vector< int > &vec2)
Definition: ezsat.cc:843
std::vector< int > vec
Definition: ezsat.h:328
ezSAT & sat
Definition: ezsat.h:327
ezSATvec(ezSAT &sat, const std::vector< int > &vec)
Definition: ezsat.h:330

+ Here is the call graph for this function:

ezSATbit ezSATvec::operator< ( const ezSATvec other)
inline

Definition at line 342 of file ezsat.h.

342 { return ezSATbit(sat, sat.vec_lt_unsigned(vec, other.vec)); }
int vec_lt_unsigned(const std::vector< int > &vec1, const std::vector< int > &vec2)
Definition: ezsat.cc:926
std::vector< int > vec
Definition: ezsat.h:328
ezSAT & sat
Definition: ezsat.h:327

+ Here is the call graph for this function:

ezSATvec ezSATvec::operator<< ( int  shift)
inline

Definition at line 349 of file ezsat.h.

349 { return ezSATvec(sat, sat.vec_shl(vec, shift)); }
std::vector< int > vec_shl(const std::vector< int > &vec1, int shift, bool signExtend=false)
Definition: ezsat.cc:964
std::vector< int > vec
Definition: ezsat.h:328
ezSAT & sat
Definition: ezsat.h:327
ezSATvec(ezSAT &sat, const std::vector< int > &vec)
Definition: ezsat.h:330

+ Here is the call graph for this function:

ezSATbit ezSATvec::operator<= ( const ezSATvec other)
inline

Definition at line 343 of file ezsat.h.

343 { return ezSATbit(sat, sat.vec_le_unsigned(vec, other.vec)); }
std::vector< int > vec
Definition: ezsat.h:328
ezSAT & sat
Definition: ezsat.h:327
int vec_le_unsigned(const std::vector< int > &vec1, const std::vector< int > &vec2)
Definition: ezsat.cc:933

+ Here is the call graph for this function:

ezSATbit ezSATvec::operator== ( const ezSATvec other)
inline

Definition at line 344 of file ezsat.h.

344 { return ezSATbit(sat, sat.vec_eq(vec, other.vec)); }
std::vector< int > vec
Definition: ezsat.h:328
ezSAT & sat
Definition: ezsat.h:327
int vec_eq(const std::vector< int > &vec1, const std::vector< int > &vec2)
Definition: ezsat.cc:954

+ Here is the call graph for this function:

ezSATbit ezSATvec::operator> ( const ezSATvec other)
inline

Definition at line 347 of file ezsat.h.

347 { return ezSATbit(sat, sat.vec_gt_unsigned(vec, other.vec)); }
std::vector< int > vec
Definition: ezsat.h:328
int vec_gt_unsigned(const std::vector< int > &vec1, const std::vector< int > &vec2)
Definition: ezsat.cc:947
ezSAT & sat
Definition: ezsat.h:327

+ Here is the call graph for this function:

ezSATbit ezSATvec::operator>= ( const ezSATvec other)
inline

Definition at line 346 of file ezsat.h.

346 { return ezSATbit(sat, sat.vec_ge_unsigned(vec, other.vec)); }
std::vector< int > vec
Definition: ezsat.h:328
ezSAT & sat
Definition: ezsat.h:327
int vec_ge_unsigned(const std::vector< int > &vec1, const std::vector< int > &vec2)
Definition: ezsat.cc:940

+ Here is the call graph for this function:

ezSATvec ezSATvec::operator>> ( int  shift)
inline

Definition at line 350 of file ezsat.h.

350 { return ezSATvec(sat, sat.vec_shr(vec, shift)); }
std::vector< int > vec
Definition: ezsat.h:328
std::vector< int > vec_shr(const std::vector< int > &vec1, int shift, bool signExtend=false)
Definition: ezsat.h:266
ezSAT & sat
Definition: ezsat.h:327
ezSATvec(ezSAT &sat, const std::vector< int > &vec)
Definition: ezsat.h:330

+ Here is the call graph for this function:

ezSATvec ezSATvec::operator^ ( const ezSATvec other)
inline

Definition at line 337 of file ezsat.h.

337 { return ezSATvec(sat, sat.vec_xor(vec, other.vec)); }
std::vector< int > vec
Definition: ezsat.h:328
std::vector< int > vec_xor(const std::vector< int > &vec1, const std::vector< int > &vec2)
Definition: ezsat.cc:727
ezSAT & sat
Definition: ezsat.h:327
ezSATvec(ezSAT &sat, const std::vector< int > &vec)
Definition: ezsat.h:330

+ Here is the call graph for this function:

ezSATvec ezSATvec::operator| ( const ezSATvec other)
inline

Definition at line 336 of file ezsat.h.

336 { return ezSATvec(sat, sat.vec_or(vec, other.vec)); }
std::vector< int > vec_or(const std::vector< int > &vec1, const std::vector< int > &vec2)
Definition: ezsat.cc:718
std::vector< int > vec
Definition: ezsat.h:328
ezSAT & sat
Definition: ezsat.h:327
ezSATvec(ezSAT &sat, const std::vector< int > &vec)
Definition: ezsat.h:330

+ Here is the call graph for this function:

ezSATvec ezSATvec::operator~ ( )
inline

Definition at line 332 of file ezsat.h.

332 { return ezSATvec(sat, sat.vec_not(vec)); }
std::vector< int > vec
Definition: ezsat.h:328
ezSAT & sat
Definition: ezsat.h:327
std::vector< int > vec_not(const std::vector< int > &vec1)
Definition: ezsat.cc:701
ezSATvec(ezSAT &sat, const std::vector< int > &vec)
Definition: ezsat.h:330

+ Here is the call graph for this function:

Field Documentation

ezSAT& ezSATvec::sat

Definition at line 327 of file ezsat.h.

std::vector<int> ezSATvec::vec

Definition at line 328 of file ezsat.h.


The documentation for this struct was generated from the following file: