Just adding a getHalfTy method to IRBuilder for completeness.