aboutsummaryrefslogtreecommitdiff
path: root/src/opt.c
blob: d52c9d067f893108b5551143edd45e3ebfdf5143 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <qbt/opt.h>
#include <qbt/regalloc.h>
#include <qbt/unreachable.h>
#include <qbt/ssa.h>
#include <qbt/abi.h>

void optimize(struct fn *f)
{
	ssa(f);
	abi0(f);
	/* ... do more stuff ... */
	unreachable(f);
	regalloc(f);
}