Add a way to access mtac::Function from function definition
Cleanup loop analysis
Remove old includes
Cleanup
Cleanup
Fix tests
Add call_graph structure
Add a way to build the call graph
Build the control flow before the optimizations
Set the entry node to the node of the main function
Fixes
Set namespace
In O0 remove unused functions as well, no nedd to spend time compiling
them
Use the call graph to remove unreachable functions
Pass reachable by reference
Cleanup
Make sure the inliner does not work on unreachable functions
Remove reference counting support
No need to add references
The unused functions will be emitted later on