#include "X86MCAsmInfo.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/TargetParser/Triple.h"
usingnamespacellvm;
enum AsmWriterFlavorTy { … };
static cl::opt<AsmWriterFlavorTy> AsmWriterFlavor(
"x86-asm-syntax", cl::init(ATT), cl::Hidden,
cl::desc("Choose style of code to emit from X86 backend:"),
cl::values(clEnumValN(ATT, "att", "Emit AT&T-style assembly"),
clEnumValN(Intel, "intel", "Emit Intel-style assembly")));
static cl::opt<bool>
MarkedJTDataRegions("mark-data-regions", cl::init(true),
cl::desc("Mark code section jump table data regions."),
cl::Hidden);
void X86MCAsmInfoDarwin::anchor() { … }
X86MCAsmInfoDarwin::X86MCAsmInfoDarwin(const Triple &T) { … }
X86_64MCAsmInfoDarwin::X86_64MCAsmInfoDarwin(const Triple &Triple)
: … { … }
void X86ELFMCAsmInfo::anchor() { … }
X86ELFMCAsmInfo::X86ELFMCAsmInfo(const Triple &T) { … }
const MCExpr *
X86_64MCAsmInfoDarwin::getExprForPersonalitySymbol(const MCSymbol *Sym,
unsigned Encoding,
MCStreamer &Streamer) const { … }
void X86MCAsmInfoMicrosoft::anchor() { … }
X86MCAsmInfoMicrosoft::X86MCAsmInfoMicrosoft(const Triple &Triple) { … }
void X86MCAsmInfoMicrosoftMASM::anchor() { … }
X86MCAsmInfoMicrosoftMASM::X86MCAsmInfoMicrosoftMASM(const Triple &Triple)
: … { … }
void X86MCAsmInfoGNUCOFF::anchor() { … }
X86MCAsmInfoGNUCOFF::X86MCAsmInfoGNUCOFF(const Triple &Triple) { … }