Cadence Design Systems interview question

How is dead code elimination performed?