20 #ifndef H_GUARD_STORAGE_H
21 #define H_GUARD_STORAGE_H
31 # define STD_VECTOR(type) std::vector<type>
35 # define STD_VECTOR(type) type[]
46 namespace CodeStorage {
146 Var& operator[](
int uid);
155 const
Var& operator[](
int uid) const;
216 const struct cl_type* operator[](
int) const;
306 KillVar(
int uid_,
bool onlyIfNotPointed_):
308 onlyIfNotPointed(onlyIfNotPointed_)
475 const std::string&
name()
const {
563 ControlFlow(const ControlFlow &);
564 ControlFlow& operator=(const ControlFlow &);
577 Block*& operator[](const
char *name);
586 const
Block* operator[](const
char *name) const;
612 namespace CallGraph {
635 const char *
name()
const;
682 typedef std::map<int, Node *>
TMap;
719 bool isDead(
const GlobalData &);
747 const char*
nameOf(
const Fnc &);
757 int uidOf(
const Fnc &);
778 FncDb(const FncDb &);
779 FncDb& operator=(const FncDb &);
787 Fnc*& operator[](
int uid);
796 const
Fnc* operator[](
int uid) const;
823 namespace CallGraph {