According to Merriam-Webster, all can be an adjective, adverb, or pronoun, and it can be used in sentences that involve singular nouns or plural nouns. It can also be a noun itself. When it is, it's considered to be singular.