PeepsMD.h 656 B

12345678910111213141516171819202122
  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 Peeps;
  7. class PeepsMD
  8. {
  9. private:
  10. Func * func;
  11. Peeps * peeps;
  12. public:
  13. PeepsMD(Func *func) : func(func) {}
  14. void Init(Peeps *peeps);
  15. void ProcessImplicitRegs(IR::Instr *instr);
  16. void PeepAssign(IR::Instr *instr);
  17. };