blob: f1847c15d4281a6b7e4b9d7ab1404fdbf5ab50a0 [file]
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//-------------------------------------------------------------------------------------------------------
#pragma once
class PrologEncoderMD
{
public:
static unsigned __int8 GetRequiredNodeCountForAlloca(size_t size);
static unsigned __int8 GetOp(IR::Instr *instr);
static unsigned __int8 GetNonVolRegToSave(IR::Instr *instr);
static unsigned __int8 GetXmmRegToSave(IR::Instr *instr, unsigned __int16 *scaledOffset);
static size_t GetAllocaSize(IR::Instr *instr);
static unsigned __int8 GetFPReg();
};