00001 #ifndef _SETINFO_H_ 00002 #define _SETINFO_H_ 00003 00004 #include <stl.h> 00005 #include "legoOprd.H" 00006 00007 // Used in the LiveVar def-use table 00008 class setinfo_ltstr 00009 { 00010 public: 00011 00012 bool operator()(const char *s1, const char *s2) const 00013 { 00014 return strcmp(s1, s2) < 0; 00015 } 00016 }; 00017 00018 00019 // Used in the LiveVar def-use table 00020 class SetInfo { 00021 00022 public: 00023 00024 bool Def; 00025 bool Use; 00026 bool LiveIn; 00027 bool LiveOut; 00028 legoOprd *Oprd; 00029 00030 }; 00031 00032 typedef map < char *, SetInfo, setinfo_ltstr > SetInfoTable; 00033 00034 #endif
1.3.2