add interference hints
This commit is contained in:
parent
0679df0b56
commit
8ae9f786cb
4 changed files with 68 additions and 11 deletions
|
@ -246,7 +246,10 @@ struct Tmp {
|
|||
uint cost;
|
||||
short slot;
|
||||
short wide;
|
||||
int hint;
|
||||
struct {
|
||||
int r;
|
||||
ulong m;
|
||||
} hint;
|
||||
int phi;
|
||||
};
|
||||
|
||||
|
@ -335,6 +338,7 @@ void idup(Ins **, Ins *, ulong);
|
|||
Ins *icpy(Ins *, Ins *, ulong);
|
||||
void *vnew(ulong, size_t);
|
||||
void vgrow(void *, ulong);
|
||||
int phicls(int, Tmp *);
|
||||
Ref newtmp(char *, Fn *);
|
||||
Ref getcon(int64_t, Fn *);
|
||||
void addcon(Con *, Con *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue