PrologEncoderMD.h 797 B

12345678910111213141516
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. #pragma once
  6. class PrologEncoderMD
  7. {
  8. public:
  9. static unsigned __int8 GetRequiredNodeCountForAlloca(size_t size);
  10. static unsigned __int8 GetOp(IR::Instr *instr);
  11. static unsigned __int8 GetNonVolRegToSave(IR::Instr *instr);
  12. static unsigned __int8 GetXmmRegToSave(IR::Instr *instr, unsigned __int16 *scaledOffset);
  13. static size_t GetAllocaSize(IR::Instr *instr);
  14. static unsigned __int8 GetFPReg();
  15. };