Code Listener
[unstable] git snapshot
|
high-level variable representation More...
#include <storage.hh>
Public Member Functions | |
Var () | |
dummy constructor More... | |
~Var () | |
Var (EVar code, const struct cl_operand *op) | |
wrap low-level operand to Var object More... | |
Data Fields | |
EVar | code |
high-level kind of variable More... | |
struct cl_loc | loc |
location of its declaration More... | |
struct cl_type * | type |
type of the variable More... | |
int | uid |
unique ID of variable More... | |
std::string | name |
name of the variable, empty string for anonymous variables More... | |
std::vector< const Insn * > | initials |
initializer (optional) More... | |
bool | initialized |
if true, the variable is initialized; in particular it means that whole contents of the variable is nullified unless said otherwise (and yes, even if initials is an empty list) More... | |
bool | isExtern |
true if the variable is external (defined in another module) More... | |
bool | mayBePointed |
true if there is at least one instruction in the program that takes an address of the variable (or some part of it) More... | |
high-level variable representation
Definition at line 63 of file storage.hh.
Var | ( | ) |
dummy constructor
~Var | ( | ) |
Var | ( | EVar | code, |
const struct cl_operand * | op | ||
) |
EVar code |
high-level kind of variable
Definition at line 64 of file storage.hh.
bool initialized |
if true, the variable is initialized; in particular it means that whole contents of the variable is nullified unless said otherwise (and yes, even if initials is an empty list)
Definition at line 96 of file storage.hh.
std::vector<const Insn *> initials |
initializer (optional)
Definition at line 87 of file storage.hh.
bool isExtern |
true if the variable is external (defined in another module)
Definition at line 101 of file storage.hh.
struct cl_loc loc |
location of its declaration
Definition at line 65 of file storage.hh.
bool mayBePointed |
true if there is at least one instruction in the program that takes an address of the variable (or some part of it)
Definition at line 107 of file storage.hh.
std::string name |
name of the variable, empty string for anonymous variables
Definition at line 82 of file storage.hh.
struct cl_type* type |
type of the variable
Definition at line 71 of file storage.hh.
int uid |
unique ID of variable
Definition at line 77 of file storage.hh.