You will need your own paper trail to demonstrate your side of things, either as part of the severance meeting - if you even get the opportunity - or after you get fired if you choose to make a claim against it.
If they're start talking about your performance definitely follow up with an e-mail about what metrics they are using to measure performance and pressure them to give you a path for correction.
If you don't have any documentation it will be easier for them to fire you and offer you nothing. If you have a bunch of documentation, especially if they know you have it, they'll be more likely to offer a severance. A wrongful termination suit will likely cost them more than your severance, especially if you have a lot of documentation of your work and performance.
Also remember HR exists to protect the company, they don't give a shit about you beyond whatever the legal requirement is for giving a shit. Don't sign anything without reading it carefully.