updated IRBuilder API