1. A compiling apparatus comprising: an analysis unit configured to determine respective data widths of operands and connections in a data flow graph by using type information regarding a type of the operands; and a data processing unit configured to provide instructions, which are to be executed by a processor comprising heterogeneous components that support different data widths, based on the determined data widths of the operands and the connections.