12. One or more non-transient computer readable media comprising a third plurality of instructions that, when executed by one or more processors, cause: detecting that a first plurality of software instructions is configured to perform a plurality of breadth-first searches to determine a particular result, wherein each breadth-first search originates at a respective source vertex of a plurality of source vertices of a graph, wherein each breadth-first search is encoded for independent execution; based on the detecting, consolidating the plurality of breadth-first searches into a simultaneous multi-source breadth-first search by transforming the first plurality of software instructions into a second plurality of software instructions that is configured to perform the simultaneous multi-source breadth-first search to determine the particular result, wherein each source vertex of the plurality of source vertices is a source of the simultaneous multi-source breadth-first search; the computer executing, or sending or storing for execution, said second plurality of software instructions to perform said simultaneous multi-source breadth-first search.
12. One or more non-transient computer readable media comprising a third plurality of instructions that, when executed by one or more processors, cause: detecting that a first plurality of software instructions is configured to perform a plurality of breadth-first searches to determine a particular result, wherein each breadth-first search originates at a respective source vertex of a plurality of source vertices of a graph, wherein each breadth-first search is encoded for independent execution; based on the detecting, consolidating the plurality of breadth-first searches into a simultaneous multi-source breadth-first search by transforming the first plurality of software instructions into a second plurality of software instructions that is configured to perform the simultaneous multi-source breadth-first search to determine the particular result, wherein each source vertex of the plurality of source vertices is a source of the simultaneous multi-source breadth-first search; the computer executing, or sending or storing for execution, said second plurality of software instructions to perform said simultaneous multi-source breadth-first search. 14. The one or more non-transient computer readable media of claim 12 wherein the first plurality of software instructions comprise a plurality of scalar assignments and a plurality of scalar expressions, wherein each scalar assignment writes one of a plurality of variables, wherein each scalar expression reads at least one of the plurality of variables, wherein the third plurality of instructions that cause detecting further cause identifying the plurality of scalar assignments and the plurality of scalar expressions, wherein the third plurality of instructions that cause generating further cause: generating a vector element assignment for each scalar assignment, and generating a vector element expression for each scalar expression.