LLVM
8.0.1
|
#include "MCTargetDesc/X86BaseInfo.h"
#include "MCTargetDesc/X86FixupKinds.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/BinaryFormat/MachO.h"
#include "llvm/MC/MCAsmBackend.h"
#include "llvm/MC/MCELFObjectWriter.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCFixupKindInfo.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCMachObjectWriter.h"
#include "llvm/MC/MCObjectWriter.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCSectionMachO.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
Go to the source code of this file.
Namespaces | |
CU | |
Enumerations | |
enum | CompactUnwindEncodings |
Compact unwind encoding values. More... | |
Functions | |
static unsigned | getFixupKindLog2Size (unsigned Kind) |
static unsigned | getRelaxedOpcodeBranch (const MCInst &Inst, bool is16BitMode) |
static unsigned | getRelaxedOpcodeArith (const MCInst &Inst) |
static unsigned | getRelaxedOpcode (const MCInst &Inst, bool is16BitMode) |
Compact unwind encoding values.
Definition at line 467 of file X86AsmBackend.cpp.
Definition at line 29 of file X86AsmBackend.cpp.
References llvm::HexStyle::Asm, assert(), llvm::Data, llvm::FirstTargetFixupKind, Fixup, llvm::FK_Data_1, llvm::FK_Data_2, llvm::FK_Data_4, llvm::FK_Data_8, llvm::FK_PCRel_1, llvm::FK_PCRel_2, llvm::FK_PCRel_4, llvm::FK_PCRel_8, llvm::FK_SecRel_1, llvm::FK_SecRel_2, llvm::FK_SecRel_4, llvm::FK_SecRel_8, llvm::MCFixupKindInfo::FKF_IsPCRel, llvm::MCAsmBackend::getFixupKindInfo(), llvm::MCFixup::getKind(), llvm::MCFixup::getOffset(), is64Bit(), llvm::isIntN(), Kind, llvm::support::little, llvm_unreachable, Name, llvm::X86::NumTargetFixupKinds, llvm::X86::reloc_branch_4byte_pcrel, llvm::X86::reloc_global_offset_table, llvm::X86::reloc_global_offset_table8, llvm::X86::reloc_riprel_4byte, llvm::X86::reloc_riprel_4byte_movq_load, llvm::X86::reloc_riprel_4byte_relax, llvm::X86::reloc_riprel_4byte_relax_rex, llvm::X86::reloc_signed_4byte, llvm::X86::reloc_signed_4byte_relax, Size, and llvm::ArrayRef< T >::size().
Definition at line 262 of file X86AsmBackend.cpp.
References llvm::StringSwitch< T, R >::Case(), llvm::createX86ELFObjectWriter(), llvm::createX86WinCOFFObjectWriter(), llvm::StringSwitch< T, R >::Default(), llvm::MCInst::dump_pretty(), llvm::ELF::EM_386, llvm::ELF::EM_IAMCU, llvm::ELF::EM_X86_64, Fixup, llvm::FK_Data_4, llvm::FK_SecRel_2, llvm::FK_SecRel_4, llvm::MCSubtargetInfo::getFeatureBits(), llvm::MCAsmBackend::getFixupKind(), llvm::MCInst::getNumOperands(), llvm::MCInst::getOpcode(), llvm::MCInst::getOperand(), getRelaxedOpcodeArith(), getRelaxedOpcodeBranch(), is64Bit(), llvm::MCOperand::isExpr(), Name, llvm::report_fatal_error(), llvm::MCInst::setOpcode(), llvm::raw_svector_ostream::str(), and llvm::raw_ostream::write().
Referenced by llvm::ARMAsmBackend::mayNeedRelaxation(), and llvm::ARMAsmBackend::relaxInstruction().
Definition at line 177 of file X86AsmBackend.cpp.
References llvm::MCInst::getOpcode().
Referenced by getRelaxedOpcode().
Definition at line 135 of file X86AsmBackend.cpp.
References llvm::MCInst::getOpcode().
Referenced by getRelaxedOpcode().