volt: Split resolve class into two
volt: Add resolve for ir.Function
semantic: Use new LanguagePass resolve functions