|
LLVM 23.0.0git
|
#include "llvm/MC/MCLFIRewriter.h"
Public Member Functions | |
| MCLFIRewriter (MCContext &Ctx, std::unique_ptr< MCRegisterInfo > &&RI, std::unique_ptr< MCInstrInfo > &&II) | |
| LLVM_ABI void | error (const MCInst &Inst, const char Msg[]) |
| void | disable () |
| void | enable () |
| LLVM_ABI bool | isCall (const MCInst &Inst) const |
| LLVM_ABI bool | isBranch (const MCInst &Inst) const |
| LLVM_ABI bool | isIndirectBranch (const MCInst &Inst) const |
| LLVM_ABI bool | isReturn (const MCInst &Inst) const |
| LLVM_ABI bool | mayLoad (const MCInst &Inst) const |
| LLVM_ABI bool | mayStore (const MCInst &Inst) const |
| LLVM_ABI bool | mayModifyRegister (const MCInst &Inst, MCRegister Reg) const |
| virtual | ~MCLFIRewriter ()=default |
| virtual bool | rewriteInst (const MCInst &Inst, MCStreamer &Out, const MCSubtargetInfo &STI)=0 |
| virtual void | onLabel (const MCSymbol *Symbol) |
Protected Attributes | |
| bool | Enabled = true |
| std::unique_ptr< MCInstrInfo > | InstInfo |
| std::unique_ptr< MCRegisterInfo > | RegInfo |
Definition at line 29 of file MCLFIRewriter.h.
|
inline |
Definition at line 39 of file MCLFIRewriter.h.
References II, InstInfo, llvm::move(), and RegInfo.
|
virtualdefault |
|
inline |
Definition at line 45 of file MCLFIRewriter.h.
References Enabled.
|
inline |
Definition at line 46 of file MCLFIRewriter.h.
References Enabled.
Definition at line 22 of file MCLFIRewriter.cpp.
References llvm::MCInst::getLoc().
Definition at line 30 of file MCLFIRewriter.cpp.
References llvm::MCInst::getOpcode(), and InstInfo.
Definition at line 26 of file MCLFIRewriter.cpp.
References llvm::MCInst::getOpcode(), and InstInfo.
Definition at line 34 of file MCLFIRewriter.cpp.
References llvm::MCInst::getOpcode(), and InstInfo.
Definition at line 38 of file MCLFIRewriter.cpp.
References llvm::MCInst::getOpcode(), and InstInfo.
Definition at line 42 of file MCLFIRewriter.cpp.
References llvm::MCInst::getOpcode(), and InstInfo.
| bool llvm::MCLFIRewriter::mayModifyRegister | ( | const MCInst & | Inst, |
| MCRegister | Reg ) const |
Definition at line 50 of file MCLFIRewriter.cpp.
References llvm::MCInst::getOpcode(), InstInfo, Reg, and RegInfo.
Definition at line 46 of file MCLFIRewriter.cpp.
References llvm::MCInst::getOpcode(), and InstInfo.
Definition at line 64 of file MCLFIRewriter.h.
|
pure virtual |
|
protected |
Definition at line 34 of file MCLFIRewriter.h.
|
protected |
Definition at line 35 of file MCLFIRewriter.h.
Referenced by isBranch(), isCall(), isIndirectBranch(), isReturn(), mayLoad(), mayModifyRegister(), mayStore(), and MCLFIRewriter().
|
protected |
Definition at line 36 of file MCLFIRewriter.h.
Referenced by mayModifyRegister(), and MCLFIRewriter().