LLVM API Documentation

Namespaces | Enumerations | Functions | Variables
X86AsmBackend.cpp File Reference
#include "MCTargetDesc/X86BaseInfo.h"
#include "MCTargetDesc/X86FixupKinds.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/MC/MCAsmBackend.h"
#include "llvm/MC/MCELFObjectWriter.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCFixupKindInfo.h"
#include "llvm/MC/MCMachObjectWriter.h"
#include "llvm/MC/MCObjectWriter.h"
#include "llvm/MC/MCSectionCOFF.h"
#include "llvm/MC/MCSectionELF.h"
#include "llvm/MC/MCSectionMachO.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/ELF.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/MachO.h"
#include "llvm/Support/TargetRegistry.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for X86AsmBackend.cpp:

Go to the source code of this file.

Namespaces

namespace  CU

Enumerations

enum  CompactUnwindEncodings
 Compact unwind encoding values. More...

Functions

static unsigned getFixupKindLog2Size (unsigned Kind)
static unsigned getRelaxedOpcodeBranch (unsigned Op)
static unsigned getRelaxedOpcodeArith (unsigned Op)
static unsigned getRelaxedOpcode (unsigned Op)

Variables

static cl::opt< boolMCDisableArithRelaxation ("mc-x86-disable-arith-relaxation", cl::desc("Disable relaxation of arithmetic instruction for X86"))

Enumeration Type Documentation

Compact unwind encoding values.

Definition at line 406 of file X86AsmBackend.cpp.


Function Documentation

static unsigned getFixupKindLog2Size ( unsigned  Kind) [static]
static unsigned getRelaxedOpcode ( unsigned  Op) [static]

Definition at line 232 of file X86AsmBackend.cpp.

References getRelaxedOpcodeArith(), and getRelaxedOpcodeBranch().

static unsigned getRelaxedOpcodeArith ( unsigned  Op) [static]

Definition at line 163 of file X86AsmBackend.cpp.

Referenced by getRelaxedOpcode().

static unsigned getRelaxedOpcodeBranch ( unsigned  Op) [static]

Definition at line 138 of file X86AsmBackend.cpp.

Referenced by getRelaxedOpcode().


Variable Documentation

cl::opt<bool> MCDisableArithRelaxation("mc-x86-disable-arith-relaxation", cl::desc("Disable relaxation of arithmetic instruction for X86")) [static]