generate IR for literal constants