def get_llvm_type(context, type):
    """Returns the LLVM Value corresponsing to a Numba type.

    Args:
        context: The LLVM context or the execution state of the current IR
                 generator.
        type: A Numba type object.

    Returns: An Python object wrapping an LLVM Value corresponding to the
             specified Numba type.
    """
    return context.get_value_type(type)