'Return the generated assembly code for all signatures encountered thus
far, or the LLVM IR for a specific signature if given.'

def inspect_asm(self, signature=None):

    if (signature is not None):
        return self.definitions[signature].inspect_asm()
    else:
        return dict(((sig, defn.inspect_asm()) for (sig, defn) in self.definitions.items()))
