resources files are not errorless and ir code generation assigns values to parameter registers