openfimg: Add bitmap copy and fill helpers

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
openfimg: compiler: Add some handy assertions to help with debugging

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
openfimg: compiler: Fix allocation of interference bitmap

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
openfimg: compiler: Do not allow duplicates in constraints

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
openfimg: compiler: Fix use of invalid PHI argument index

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
openfimg: compiler: Fix incorrect renaming of PHI sources

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
openfimg: compiler: Add PHI constraints after renaming

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
openfimg: compiler: Calculate interference properly

Replace approximate computation with full liveness pass.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
openfimg: compiler: Dump SSA data at post-rename-copies stage

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
openfimg: compiler: Unify data structures used by optimizer modules

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
openfimg: compiler: Move new liveness pass to optimizer module

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>