Patent ID: 9588747
Date: 2017-03-07
CPC Classifications: G06F

Claim:
1. A method of converting a program comprising: receiving a program; detecting at least one loop statement including a branch statement within the program; searching for a condition expression included in the branch statement from a split information table; receiving split possibility information corresponding to the condition expression from the split information table when the condition expression exists in the split information table; determining whether the loop statement splits into sub-loop statements which perform the same function as a function of the loop statement and among which the branch statement has been removed so as to exclude any branch statement therein; splitting the loop statement into the sub-loop statements and removing the branch statement when it is determined that the loop statement splits; and outputting a result of removing the branch statement, wherein the determining of whether the loop statement splits comprises: determining that the loop statement cannot split when the condition expression does not exist in the split information table; and determining, by using the received split possibility information, whether the loop statement splits.