#include "MCTargetDesc/R600MCTargetDesc.h"
#include "R600Defines.h"
#include "llvm/MC/MCCodeEmitter.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/Support/EndianStream.h"
#include "llvm/TargetParser/SubtargetFeature.h"
usingnamespacellvm;
namespace {
class R600MCCodeEmitter : public MCCodeEmitter { … };
}
enum RegElement { … };
enum FCInstr { … };
MCCodeEmitter *llvm::createR600MCCodeEmitter(const MCInstrInfo &MCII,
MCContext &Ctx) { … }
void R600MCCodeEmitter::encodeInstruction(const MCInst &MI,
SmallVectorImpl<char> &CB,
SmallVectorImpl<MCFixup> &Fixups,
const MCSubtargetInfo &STI) const { … }
void R600MCCodeEmitter::emit(uint32_t Value, SmallVectorImpl<char> &CB) const { … }
void R600MCCodeEmitter::emit(uint64_t Value, SmallVectorImpl<char> &CB) const { … }
unsigned R600MCCodeEmitter::getHWReg(MCRegister Reg) const { … }
uint64_t R600MCCodeEmitter::getMachineOpValue(const MCInst &MI,
const MCOperand &MO,
SmallVectorImpl<MCFixup> &Fixups,
const MCSubtargetInfo &STI) const { … }
#include "R600GenMCCodeEmitter.inc"