LLVM API Documentation

X86TargetAsmInfo.cpp File Reference

#include "X86TargetAsmInfo.h"
#include "X86TargetMachine.h"
#include "llvm/ADT/Triple.h"
#include "llvm/Support/CommandLine.h"

Include dependency graph for X86TargetAsmInfo.cpp:

Go to the source code of this file.

Enumerations

enum  AsmWriterFlavorTy { ATT = 0, Intel = 1 }

Variables

static cl::opt< AsmWriterFlavorTy > AsmWriterFlavor ("x86-asm-syntax", cl::init(ATT), 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"), clEnumValEnd))
static const char *const x86_asm_table []


Enumeration Type Documentation

Enumerator:
ATT 
Intel 

Definition at line 20 of file X86TargetAsmInfo.cpp.


Variable Documentation

cl::opt<AsmWriterFlavorTy> AsmWriterFlavor("x86-asm-syntax", cl::init(ATT), 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"),clEnumValEnd)) [static]

const char* const x86_asm_table[] [static]

Initial value:

 {
  "{si}", "S",
  "{di}", "D",
  "{ax}", "a",
  "{cx}", "c",
  "{memory}", "memory",
  "{flags}", "",
  "{dirflag}", "",
  "{fpsr}", "",
  "{cc}", "cc",
  0,0}

Definition at line 34 of file X86TargetAsmInfo.cpp.