Introduced IR_Init for initilizing some variables that cannot be initialized into the definition statement