mirror of
https://github.com/open-goal/jak-project
synced 2026-06-25 02:02:08 -04:00
a64dd6c90b
* add some more cfg ir stuff * add cond with else * add type of recognition * add cond to compare conversion * finally all conds are passing * started sc recognize, but ash min and max should be recognized first * fix ash showing up as sc * add abs * fix merge issues * try building goos with optimizations on * sc mostly working, still need to fix right aligned nesting * ands and ors are converting correctly now * clean up
10 lines
208 B
C++
10 lines
208 B
C++
#pragma once
|
|
|
|
#include <memory>
|
|
|
|
class IR;
|
|
class Function;
|
|
class LinkedObjectFile;
|
|
class ControlFlowGraph;
|
|
|
|
std::shared_ptr<IR> build_cfg_ir(Function& function, ControlFlowGraph& cfg, LinkedObjectFile& file); |