Hardy-Littlewood theory for semigroups