1 #ifndef __AST_MEM_HPP_DEFINED__ 2 #define __AST_MEM_HPP_DEFINED__ 7 #include <boost/multiprecision/cpp_int.hpp> 21 MemExpr(
int addrWidth,
int dataWidth);
33 MemVar(
const std::string& n,
int addrWidth,
int dataWidth);
39 virtual bool equal(
const Node* that)
const;
41 virtual std::ostream&
write(std::ostream& out)
const;
60 virtual bool equal(
const Node* that)
const;
62 virtual std::ostream&
write(std::ostream& out)
const;
95 virtual bool equal(
const Node* that)
const;
97 virtual std::ostream&
write(std::ostream& out)
const;
100 virtual unsigned nArgs()
const;
102 virtual boost::shared_ptr<Node>
arg(
unsigned i)
const;
virtual boost::shared_ptr< Node > arg(unsigned i) const
virtual std::ostream & write(std::ostream &out) const
enum ilasynth::MemOp::Op op
virtual bool equal(const Node *that) const
MemExpr(int addrWidth, int dataWidth)
MemValues memvalues
Definition: mem.hpp:48
MemOp(Op op, const nptr_t &a0, const nptr_t &a1, const nptr_t &a2)
std::vector< nptr_t > nptr_vec_t
Definition: node.hpp:27
virtual Node * clone() const
virtual std::ostream & write(std::ostream &out) const
Definition: funcReduct.hpp:13
nptr_vec_t args
Definition: mem.hpp:75
virtual bool equal(const Node *that) const
boost::shared_ptr< Node > nptr_t
Definition: node.hpp:24
virtual Node * clone() const
virtual unsigned nArgs() const
virtual std::ostream & write(std::ostream &out) const
Definition: memvalues.hpp:20
Op getOp() const
Definition: mem.hpp:90
Definition: abstraction.hpp:21
virtual bool equal(const Node *that) const
MemConst(const MemValues &mv)
static const std::string operatorNames[]
Definition: mem.hpp:71
endianness_t endian
Definition: mem.hpp:70
endianness_t
Definition: common.hpp:10
MemVar(const std::string &n, int addrWidth, int dataWidth)
virtual Node * clone() const