Predator
[unstable] git snapshot
|
representation of a custom value, such as integer literal, or code pointer More...
#include <symheap.hh>
Public Member Functions | |
CustomValue () | |
~CustomValue () | |
CustomValue (const CustomValue &) | |
CustomValue & | operator= (const CustomValue &) |
CustomValue (int uid) | |
CustomValue (const IR::Range &rng) | |
CustomValue (const double fpn) | |
CustomValue (const char *str) | |
ECustomValue | code () const |
custom value classification | |
int | uid () const |
unique ID as assigned by Code Listener (only for CV_FNC) | |
IR::Range & | rng () |
closed interval over integral domain (only for CV_INT_RANGE) | |
const IR::Range & | rng () const |
closed interval over integral domain (only for CV_INT_RANGE) | |
double | fpn () const |
floating-point number (only for CV_REAL) | |
const std::string & | str () const |
string literal (only for CV_STRING) |
Private Attributes | |
ECustomValue | code_ |
CustomValueData | data_ |
Friends | |
bool | operator== (const CustomValue &, const CustomValue &) |
representation of a custom value, such as integer literal, or code pointer
Definition at line 114 of file symheap.hh.
|
inline |
Definition at line 117 of file symheap.hh.
~CustomValue | ( | ) |
CustomValue | ( | const CustomValue & | ) |
|
inlineexplicit |
Definition at line 126 of file symheap.hh.
References data_, CustomValueData::uid, and uid().
|
inlineexplicit |
Definition at line 132 of file symheap.hh.
References data_, CustomValueData::rng, and rng().
|
inlineexplicit |
Definition at line 138 of file symheap.hh.
References data_, CustomValueData::fpn, and fpn().
|
inlineexplicit |
Definition at line 144 of file symheap.hh.
References data_, and CustomValueData::str.
|
inline |
double fpn | ( | ) | const |
floating-point number (only for CV_REAL)
Referenced by CustomValue().
CustomValue& operator= | ( | const CustomValue & | ) |
IR::Range& rng | ( | ) |
closed interval over integral domain (only for CV_INT_RANGE)
Referenced by CustomValue(), and rng().
|
inline |
closed interval over integral domain (only for CV_INT_RANGE)
Definition at line 162 of file symheap.hh.
References rng().
const std::string& str | ( | ) | const |
string literal (only for CV_STRING)
int uid | ( | ) | const |
unique ID as assigned by Code Listener (only for CV_FNC)
Referenced by CustomValue().
|
friend |
|
private |
Definition at line 175 of file symheap.hh.
Referenced by code().
|
private |
Definition at line 176 of file symheap.hh.
Referenced by CustomValue().