to use all of sth so that there is none left
use sth up
Making soup is a good way of using up leftover vegetables.
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition