#include "X86EncodingOptimization.h"
#include "X86BaseInfo.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstrDesc.h"
#include "llvm/Support/Casting.h"
usingnamespacellvm;
bool X86::optimizeInstFromVEX3ToVEX2(MCInst &MI, const MCInstrDesc &Desc) { … }
bool X86::optimizeShiftRotateWithImmediateOne(MCInst &MI) { … }
bool X86::optimizeVPCMPWithImmediateOneOrSix(MCInst &MI) { … }
bool X86::optimizeMOVSX(MCInst &MI) { … }
bool X86::optimizeINCDEC(MCInst &MI, bool In64BitMode) { … }
static bool isARegister(MCRegister Reg) { … }
bool X86::optimizeMOV(MCInst &MI, bool In64BitMode) { … }
static bool optimizeToFixedRegisterForm(MCInst &MI) { … }
unsigned X86::getOpcodeForShortImmediateForm(unsigned Opcode) { … }
unsigned X86::getOpcodeForLongImmediateForm(unsigned Opcode) { … }
static bool optimizeToShortImmediateForm(MCInst &MI) { … }
bool X86::optimizeToFixedRegisterOrShortImmediateForm(MCInst &MI) { … }