Regio- and enantioselective N-allylations of imidazole, benzimidazole, and purine heterocycles catalyzed by single-component metallacyclic iridium complexes.