15 #ifndef LLVM_LIB_TARGET_HEXAGON_MCTARGETDESC_HEXAGONMCCODEEMITTER_H 16 #define LLVM_LIB_TARGET_HEXAGON_MCTARGETDESC_HEXAGONMCCODEEMITTER_H 32 class MCSubtargetInfo;
42 bool Extended =
false;
43 bool SubInst1 =
false;
44 const MCInst *Bundle =
nullptr;
47 mutable EmitterState State;
51 : MCT(MCT), MCII(MII) {}
86 uint64_t computeAvailableFeatures(
const FeatureBitset &FB)
const;
87 void verifyInstructionPredicates(
const MCInst &MI,
88 uint64_t AvailableFeatures)
const;
93 #endif // LLVM_LIB_TARGET_HEXAGON_MCTARGETDESC_HEXAGONMCCODEEMITTER_H
This class represents lattice values for constants.
This class consists of common code factored out of the SmallVector class to reduce code duplication b...
Base class for the full range of assembler expressions which are needed for parsing.
Context object for machine code objects.
Instances of this class represent a single low-level machine instruction.
void encodeInstruction(MCInst const &MI, raw_ostream &OS, SmallVectorImpl< MCFixup > &Fixups, MCSubtargetInfo const &STI) const override
Emit the bundle.
Container class for subtarget features.
MCCodeEmitter - Generic instruction encoding interface.
Interface to description of machine instruction set.
uint64_t getBinaryCodeForInstr(MCInst const &MI, SmallVectorImpl< MCFixup > &Fixups, MCSubtargetInfo const &STI) const
HexagonMCCodeEmitter(MCInstrInfo const &MII, MCContext &MCT)
Generic base class for all target subtargets.
This class implements an extremely fast bulk output stream that can only output to a stream...
void EncodeSingleInstruction(const MCInst &MI, raw_ostream &OS, SmallVectorImpl< MCFixup > &Fixups, const MCSubtargetInfo &STI, uint32_t Parse) const
EncodeSingleInstruction - Emit a single.
unsigned getMachineOpValue(MCInst const &MI, MCOperand const &MO, SmallVectorImpl< MCFixup > &Fixups, MCSubtargetInfo const &STI) const
Return binary encoding of operand.
Instances of this class represent operands of the MCInst class.