Go to the documentation of this file.
9 #ifndef LLVM_MC_MCCODEEMITTER_H
10 #define LLVM_MC_MCCODEEMITTER_H
16 class MCSubtargetInfo;
18 template<
typename T>
class SmallVectorImpl;
48 #endif // LLVM_MC_MCCODEEMITTER_H
This is an optimization pass for GlobalISel generic memory operations.
virtual void emitPrefix(const MCInst &Inst, raw_ostream &OS, const MCSubtargetInfo &STI) const
Emit the prefixes of given instruction on the output stream.
Instances of this class represent a single low-level machine instruction.
This class implements an extremely fast bulk output stream that can only output to a stream.
MCCodeEmitter & operator=(const MCCodeEmitter &)=delete
virtual void reset()
Lifetime management.
MCCodeEmitter - Generic instruction encoding interface.
This class consists of common code factored out of the SmallVector class to reduce code duplication b...
Generic base class for all target subtargets.
virtual void encodeInstruction(const MCInst &Inst, raw_ostream &OS, SmallVectorImpl< MCFixup > &Fixups, const MCSubtargetInfo &STI) const =0
EncodeInstruction - Encode the given Inst to bytes on the output stream OS.