|
LLVM 23.0.0git
|
#include "X86MCLFIRewriter.h"#include "X86BaseInfo.h"#include "X86MCTargetDesc.h"#include "llvm/MC/MCContext.h"#include "llvm/MC/MCExpr.h"#include "llvm/MC/MCInst.h"#include "llvm/MC/MCStreamer.h"#include "llvm/MC/MCSubtargetInfo.h"Go to the source code of this file.
Functions | |
| static bool | isSyscall (const MCInst &Inst) |
| static int | findFSMemOperand (const MCInst &Inst, const MCInstrInfo &InstInfo) |
| static bool | readsRegister (const MCInst &Inst, const MCInstrDesc &Desc, MCRegister Reg, const MCRegisterInfo &RI) |
| static bool | isGR64OrNone (MCRegister Reg) |
| static void | emitTPLoad (MCRegister Reg, MCStreamer &Out, const MCSubtargetInfo &STI) |
Variables | |
| static constexpr MCRegister | LFIBaseReg = X86::R14 |
| static constexpr MCRegister | LFIScratchReg = X86::R11 |
| static constexpr MCRegister | LFITPReg = X86::R15 |
| static constexpr int | TPOffset = 16 |
|
static |
Definition at line 107 of file X86MCLFIRewriter.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCStreamer::emitInstruction(), LFITPReg, Reg, llvm::MCInst::setOpcode(), and TPOffset.
|
static |
Definition at line 40 of file X86MCLFIRewriter.cpp.
References llvm::X86::AddrSegmentReg, llvm::X86II::getMemoryOperandNo(), llvm::MCInst::getOpcode(), llvm::MCInst::getOperand(), llvm::X86II::getOperandBias(), llvm::MCOperand::getReg(), and llvm::MCOperand::isReg().
|
static |
Definition at line 67 of file X86MCLFIRewriter.cpp.
References Reg.
Definition at line 34 of file X86MCLFIRewriter.cpp.
References llvm::MCInst::getOpcode().
|
static |
Definition at line 53 of file X86MCLFIRewriter.cpp.
References E(), llvm::MCInst::getNumOperands(), llvm::MCInst::getOperand(), I, Reg, and llvm::MCRegisterInfo::regsOverlap().
|
staticconstexpr |
Definition at line 26 of file X86MCLFIRewriter.cpp.
|
staticconstexpr |
Definition at line 27 of file X86MCLFIRewriter.cpp.
|
staticconstexpr |
Definition at line 28 of file X86MCLFIRewriter.cpp.
Referenced by emitTPLoad().
|
staticconstexpr |
Definition at line 32 of file X86MCLFIRewriter.cpp.
Referenced by emitTPLoad().