semantic: Add gather function to LanguagePass