主权项 |
1. A system for generating parallelized executable code from input code, comprising:
a plurality of processors configured to:
statically analyze the input code to determine aspects of data flow and control flow of the input code, the input code comprising binary code of an application program designed for single core processing, wherein statically analyze the input code further includes a processor inserting instrumenting code within the input code, the instrumenting code facilitating instrumentation of runtime information;dynamically analyze the input code to determine additional aspects of data flow and control flow of the input code, wherein dynamically analyze the input code includes executing the instrumenting code;generate an intermediate representation of the input code based at least in part on the aspects of data flow and control flow of the input code identified by the static analysis and the additional aspects of data and control flow of the input code identified by the dynamic analysis;process the intermediate representation to determine portions of the intermediate representation that may be eligible for parallel execution; andgenerate parallelized executable code based on the intermediate representation and the input code and that is capable of being executed by the plurality of processors; and one or more memories coupled to the plurality of processors, configured to provide the plurality of processors with instructions. |