'Get all functions defined in the library.  The library must have
been finalized.'

def get_defined_functions(self):

    mod = self._final_module
    for fn in mod.functions:
        if (not fn.is_declaration):
            (yield fn)
