Who Determines my Rental Property Cost Basis? IRS? or Me?

Will the IRS always use the same cost basis I reported in my tax returns when they calculate depreciation recapture after the sale of my rental property? Or they have their own way of doing that? If so, what kind of cost basis they will use?