blob: 9df9ae5b0c85d697e4f0ced45e9248ec2bab2826 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
#ifndef COMPILER_IROVARS_H
#define COMPILER_IROVARS_H
#include "compiler/IrOptimizer.h"
#include "compiler/enode.h"
#ifdef __MWERKS__
#pragma options align=mac68k
#endif
struct VarRecord {
UInt16 index;
Object *object;
int x6;
Boolean xA;
Boolean xB;
Boolean xC;
VarRecord *next;
IRODef *defs;
IROUse *uses;
Type *x1A; // bitfield-related
IROLinear *x1E;
};
#ifdef __MWERKS__
#pragma options align=reset
#endif
extern VarRecord *IRO_FirstVar;
extern VarRecord *IRO_LastVar;
extern SInt32 IRO_NumVars;
extern Boolean IRO_IsBitField;
extern SInt32 IRO_BaseTerms;
extern SInt32 IRO_VarTerms;
extern Boolean IRO_IsModifyOp[MAXEXPR];
extern Boolean IRO_IsAssignOp[MAXEXPR];
extern void IRO_InitializeIRO_IsModifyOpArray(void);
extern void IRO_InitializeIRO_IsAssignOpArray(void);
extern VarRecord *IRO_FindVar(Object *object, Boolean flag1, Boolean flag2);
extern void IRO_FindAllVars(void);
extern void IRO_ZapVarPtrs(void);
extern void IRO_UpdateVars(void);
extern void IRO_AddElmToList(IROLinear *linear, IROElmList **list);
extern void IRO_DecomposeAddressExpression(IROLinear *linear, IROAddrRecord *rec);
extern void IRO_DecomposeAddressExpression_Cheap(IROLinear *linear);
extern VarRecord *IRO_FindAssigned(IROLinear *linear);
extern void IRO_GetKills(IROLinear *linear);
extern void IRO_CheckInit(void);
extern void IRO_RewriteBitFieldTemps(void);
extern void IRO_ScalarizeClassDataMembers(void);
#endif
|