delete unused code from IRBuilder