Reduce the dependence from the IR. It will be soon replaced by the AST one.
Adapt the test suite to the new warnings produced.

Disable the indirect calls. We don't support them yet on AST level.