Create IRTypeManager to manage global context