|
FAUST compiler
0.9.9.6b8
|
Class Node = (type x (int + double + Sym + void*)) More...
#include <node.hh>

Public Member Functions | |
| Node (int x) | |
| Node (double x) | |
| Node (const char *name) | |
| Node (const string &name) | |
| Node (Sym x) | |
| Node (void *x) | |
| Node (const Node &n) | |
| bool | operator== (const Node &n) const |
| bool | operator!= (const Node &n) const |
| int | type () const |
| int | getInt () const |
| double | getDouble () const |
| Sym | getSym () const |
| void * | getPointer () const |
| operator int () const | |
| operator double () const | |
| ostream & | print (ostream &fout) const |
| print a node on a stream More... | |
Private Attributes | |
| int | fType |
| union { | |
| int i | |
| double f | |
| Sym s | |
| void * p | |
| int64_t v | |
| } | fData |
|
inline |
Definition at line 88 of file node.hh.
|
inline |
Definition at line 89 of file node.hh.
|
inline |
Definition at line 90 of file node.hh.
References symbol().

|
inline |
Definition at line 91 of file node.hh.
References symbol().

|
inline |
Definition at line 92 of file node.hh.
|
inline |
Definition at line 93 of file node.hh.
|
inline |
|
inline |
Definition at line 105 of file node.hh.
Referenced by property< double >::get(), isDouble(), isGEZero(), isGTZero(), isMinusOne(), isOne(), and isZero().

|
inline |
Definition at line 104 of file node.hh.
Referenced by CTree::calcTreeHash(), property< int >::get(), getBoxType(), Occurrences::getCount(), getDefLineProp(), ScalarCompiler::getSharingCount(), DocCompiler::getSharingCount(), isGEZero(), isGTZero(), isInt(), isMinusOne(), isOne(), isZero(), and shcount().

|
inline |
Definition at line 107 of file node.hh.
Referenced by property< Loop * >::access(), and isPointer().

|
inline |
Definition at line 106 of file node.hh.
Referenced by isSym(), merge_trans_op(), and Trans::operator<().

|
inline |
Definition at line 111 of file node.hh.
References kDoubleNode, and kIntNode.
|
inline |
Definition at line 110 of file node.hh.
References kDoubleNode, and kIntNode.
|
inline |
|
inline |
| ostream & Node::print | ( | ostream & | fout | ) | const |
print a node on a stream
< print a node on a stream
Definition at line 3 of file node.cpp.
References kDoubleNode, kIntNode, kPointerNode, and kSymNode.
Referenced by operator<<().

|
inline |
Definition at line 102 of file node.hh.
Referenced by CTree::calcTreeHash(), isDouble(), isGEZero(), isGTZero(), isInt(), isMinusOne(), isOne(), isPointer(), isSym(), and isZero().

| union { ... } Node::fData |
Referenced by Node(), operator!=(), and operator==().
|
private |
Definition at line 77 of file node.hh.
Referenced by operator!=(), and operator==().
| int64_t Node::v |
Definition at line 83 of file node.hh.
Referenced by operator!=(), and operator==().
1.8.7