LLVM API Documentation

X86AsmPrinter.cpp File Reference

#include "X86.h"
#include "X86ATTAsmPrinter.h"
#include "X86IntelAsmPrinter.h"
#include "llvm/Target/TargetAsmInfo.h"
#include "llvm/Target/TargetRegistry.h"

Include dependency graph for X86AsmPrinter.cpp:

Go to the source code of this file.

Functions

static AsmPrinter * createX86CodePrinterPass (formatted_raw_ostream &o, TargetMachine &tm, const TargetAsmInfo *tai, bool verbose)
void LLVMInitializeX86AsmPrinter ()


Function Documentation

static AsmPrinter* createX86CodePrinterPass ( formatted_raw_ostream &  o,
TargetMachine &  tm,
const TargetAsmInfo *  tai,
bool  verbose 
) [static]

createX86CodePrinterPass - Returns a pass that prints the X86 assembly code for a MachineFunction to the given output stream, using the given target machine description.

Definition at line 28 of file X86AsmPrinter.cpp.

References llvm::TargetAsmInfo::getAssemblerDialect(), and llvm::TargetMachine::getTargetAsmInfo().

Referenced by LLVMInitializeX86AsmPrinter().

void LLVMInitializeX86AsmPrinter (  )