10 #ifndef LLVM_MC_MCDISASSEMBLER_MCDISASSEMBLER_H 11 #define LLVM_MC_MCDISASSEMBLER_MCDISASSEMBLER_H 19 template <
typename T>
class ArrayRef;
22 class MCSubtargetInfo;
58 : Ctx(Ctx), STI(STI) {}
95 uint64_t Address,
bool IsBranch,
96 uint64_t
Offset, uint64_t InstSize)
const;
115 #endif // LLVM_MC_MCDISASSEMBLER_MCDISASSEMBLER_H This class represents lattice values for constants.
DecodeStatus
Ternary decode status.
Superclass for all disassemblers.
raw_ostream * CommentStream
bool tryAddingSymbolicOperand(MCInst &Inst, int64_t Value, uint64_t Address, bool IsBranch, uint64_t Offset, uint64_t InstSize) const
void setSymbolizer(std::unique_ptr< MCSymbolizer > Symzer)
Set Symzer as the current symbolizer.
std::unique_ptr< MCSymbolizer > Symbolizer
MCDisassembler(const MCSubtargetInfo &STI, MCContext &Ctx)
Context object for machine code objects.
const MCSubtargetInfo & STI
Instances of this class represent a single low-level machine instruction.
void tryAddingPcLoadReferenceComment(int64_t Value, uint64_t Address) const
virtual ~MCDisassembler()
MCContext & getContext() const
Generic base class for all target subtargets.
LLVM Value Representation.
const MCSubtargetInfo & getSubtargetInfo() const
This class implements an extremely fast bulk output stream that can only output to a stream...
virtual DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef< uint8_t > Bytes, uint64_t Address, raw_ostream &VStream, raw_ostream &CStream) const =0
Returns the disassembly of a single instruction.