8. A computer-implemented method for optimizing conditional statements in a program, the method comprising: identifying a conditional expression having an inclusion relation corresponding to a plurality of conditional statements in the program, wherein a result of the conditional expression is representative of a result of the plurality of conditional statements respectively; and moving the conditional expression to a move destination in the program, wherein the move destination is determined by performing a data-flow analysis using expressions of positive conditions and negative conditions of the plurality of the conditional statements, and wherein moving the conditional expression comprises: in the case where a result of the conditional expression is not cached in a variable, generating an if statement for the conditional expression and caching a result of the conditional expression in a new variable, wherein the if statement is generated in increasing order of a cost of execution; and in the case where the result of the conditional expression is cached in the variable, replacing a conditional operator of the conditional expression with a logical operator, prior to caching the result in the new variable, in response to the result of the conditional expression being cached in a variable.
8. A computer-implemented method for optimizing conditional statements in a program, the method comprising: identifying a conditional expression having an inclusion relation corresponding to a plurality of conditional statements in the program, wherein a result of the conditional expression is representative of a result of the plurality of conditional statements respectively; and moving the conditional expression to a move destination in the program, wherein the move destination is determined by performing a data-flow analysis using expressions of positive conditions and negative conditions of the plurality of the conditional statements, and wherein moving the conditional expression comprises: in the case where a result of the conditional expression is not cached in a variable, generating an if statement for the conditional expression and caching a result of the conditional expression in a new variable, wherein the if statement is generated in increasing order of a cost of execution; and in the case where the result of the conditional expression is cached in the variable, replacing a conditional operator of the conditional expression with a logical operator, prior to caching the result in the new variable, in response to the result of the conditional expression being cached in a variable. 14. The computer-implemented method of claim 8 , wherein moving the conditional expression is performed in response to a result of a comparison between an execution cost of the conditional expression before the movement and an execution cost of the conditional expression after the movement indicates an improvement in execution speed.