From IRS Pub 590-A, What is Compensation?:
The IRS treats as compensation any amount properly shown in box 1 (Wages, tips, other compensation) of Form W-2, Wage and Tax Statement, provided that amount is reduced by any amount properly shown in box 11 (Nonqualified plans).