summaryrefslogtreecommitdiff
path: root/includes/compiler/LiveInfo.h
blob: 9d0c2f9b4ebcaffba944a5d05276c70695c32c41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef COMPILER_LIVEINFO_H
#define COMPILER_LIVEINFO_H

#include "compiler/common.h"

typedef struct LiveInfo {
    UInt32 *use;
    UInt32 *def;
    UInt32 *in;
    UInt32 *out;
} LiveInfo;

extern LiveInfo *liveinfo;

extern void computelivevariables(Object *proc);
extern int dead(PCode *instr, RegClass rclass, UInt32 *vec);

#endif