def analyse_tuple(self, tup):
        """
        Returns a map of type->list(indexes) for a typed tuple
        """
        d = defaultdict(list)
        for i, ty in enumerate(tup):
            d[ty].append(i)
        return d

        Returns a map of type->list(indexes) for a typed tuple
        
numba/core/untyped_passes.py