The newly added pass folds the set of constant functions of the current backend, plus IrBuiltIns.
Consolidating these into IrStringConcatenations allows the backend to produce efficient code for string concatenations (e.g., using StringBuilder for JVM).