15 #ifndef LLVM_MC_MCINSTRANALYSIS_H
16 #define LLVM_MC_MCINSTRANALYSIS_H
virtual bool isBranch(const MCInst &Inst) const
virtual bool isReturn(const MCInst &Inst) const
Instances of this class represent a single low-level machine instruction.
virtual bool isIndirectBranch(const MCInst &Inst) const
virtual bool isUnconditionalBranch(const MCInst &Inst) const
Interface to description of machine instruction set.
virtual bool isCall(const MCInst &Inst) const
virtual bool evaluateBranch(const MCInst &Inst, uint64_t Addr, uint64_t Size, uint64_t &Target) const
Given a branch instruction try to get the address the branch targets.
virtual ~MCInstrAnalysis()
virtual bool isTerminator(const MCInst &Inst) const
const MCInstrDesc & get(unsigned Opcode) const
Return the machine instruction descriptor that corresponds to the specified instruction opcode...
virtual bool isConditionalBranch(const MCInst &Inst) const
unsigned getOpcode() const
Target - Wrapper for Target specific information.
MCInstrAnalysis(const MCInstrInfo *Info)