generate IR vor Assignments and Declarations