LLVM 23.0.0git
llvm::X86::X86MCLFIRewriter Class Reference

#include "Target/X86/MCTargetDesc/X86MCLFIRewriter.h"

Inheritance diagram for llvm::X86::X86MCLFIRewriter:
[legend]

Public Member Functions

 X86MCLFIRewriter (MCContext &Ctx, std::unique_ptr< MCRegisterInfo > &&RI, std::unique_ptr< MCInstrInfo > &&II)
bool rewriteInst (const MCInst &Inst, MCStreamer &Out, const MCSubtargetInfo &STI) override
Public Member Functions inherited from llvm::MCLFIRewriter
 MCLFIRewriter (MCContext &Ctx, std::unique_ptr< MCRegisterInfo > &&RI, std::unique_ptr< MCInstrInfo > &&II)
LLVM_ABI void error (const MCInst &Inst, const Twine &Msg)
LLVM_ABI void warning (const MCInst &Inst, const Twine &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
LLVM_ABI bool explicitlyModifiesRegister (const MCInst &Inst, MCRegister Reg) const
virtual ~MCLFIRewriter ()=default
virtual void onLabel (const MCSymbol *Symbol)

Additional Inherited Members

Protected Attributes inherited from llvm::MCLFIRewriter
bool Enabled = true
std::unique_ptr< MCInstrInfoInstInfo
std::unique_ptr< MCRegisterInfoRegInfo

Detailed Description

Definition at line 28 of file X86MCLFIRewriter.h.

Constructor & Destructor Documentation

◆ X86MCLFIRewriter()

llvm::X86::X86MCLFIRewriter::X86MCLFIRewriter ( MCContext & Ctx,
std::unique_ptr< MCRegisterInfo > && RI,
std::unique_ptr< MCInstrInfo > && II )
inline

Definition at line 30 of file X86MCLFIRewriter.h.

References II, llvm::MCLFIRewriter::MCLFIRewriter(), and llvm::move().

Member Function Documentation

◆ rewriteInst()

bool X86::X86MCLFIRewriter::rewriteInst ( const MCInst & Inst,
MCStreamer & Out,
const MCSubtargetInfo & STI )
overridevirtual

Implements llvm::MCLFIRewriter.

Definition at line 236 of file X86MCLFIRewriter.cpp.

References llvm::MCLFIRewriter::Enabled.


The documentation for this class was generated from the following files: