A DCF ends at equity value, and value per share divides it by the diluted share count: every share that exists today, plus the shares that options, restricted stock units and convertibles would create.
The treasury stock method handles options. An option only matters if it's in the money (exercise price below the share price). If it's exercised, the company receives the exercise price and is assumed to use that cash to buy shares back at the current price. So the net new shares are:
options x (1 - exercise price / share price)
Options out of the money add nothing. RSUs have no exercise price, so every one counts. A convertible bond adds face value / conversion price shares, but only if the share price is above the conversion price; otherwise holders keep the bond.
Use the current share price, not the value per share you're solving for, or the share count depends on itself: a circular reference.