2022-12-14 00:16:59 +00:00
|
|
|
#ifndef COMPILER_LIVEINFO_H
|
|
|
|
#define COMPILER_LIVEINFO_H
|
|
|
|
|
|
|
|
#include "compiler/common.h"
|
|
|
|
|
|
|
|
typedef struct LiveInfo {
|
2022-12-14 01:00:56 +00:00
|
|
|
UInt32 *use;
|
|
|
|
UInt32 *def;
|
|
|
|
UInt32 *in;
|
|
|
|
UInt32 *out;
|
2022-12-14 00:16:59 +00:00
|
|
|
} LiveInfo;
|
|
|
|
|
|
|
|
extern LiveInfo *liveinfo;
|
|
|
|
|
|
|
|
extern void computelivevariables(Object *proc);
|
2022-12-14 01:00:56 +00:00
|
|
|
extern int dead(PCode *instr, RegClass rclass, UInt32 *vec);
|
2022-12-14 00:16:59 +00:00
|
|
|
|
|
|
|
#endif
|