src/graph.[ch]: Implement "graph_inst_find_all_matching".