Of all time has 2 different meanings across 2 categories:
Adverb · Prep_phrase
at any time
"did you ever smoke?"
"the best con man of all time"
Ever.