LLVM API Documentation

X86ATTAsmPrinter.cpp File Reference

#include "X86ATTAsmPrinter.h"
#include "X86.h"
#include "X86COFF.h"
#include "X86MachineFunctionInfo.h"
#include "X86TargetMachine.h"
#include "X86TargetAsmInfo.h"
#include "llvm/CallingConv.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Module.h"
#include "llvm/Type.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/CodeGen/MachineJumpTableInfo.h"
#include "llvm/Support/Mangler.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetAsmInfo.h"
#include "llvm/Target/TargetOptions.h"
#include "X86GenAsmWriter.inc"

Include dependency graph for X86ATTAsmPrinter.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "asm-printer"

Functions

 STATISTIC (EmittedInsts,"Number of machine instrs printed")
static std::string getPICLabelString (unsigned FnNum, const TargetAsmInfo *TAI, const X86Subtarget *Subtarget)
static X86MachineFunctionInfo calculateFunctionInfo (const Function *F, const TargetData *TD)
static void PrintUnmangledNameSafely (const Value *V, raw_ostream &OS)
static bool shouldPrintGOT (TargetMachine &TM, const X86Subtarget *ST)
static bool shouldPrintPLT (TargetMachine &TM, const X86Subtarget *ST)
static bool shouldPrintStub (TargetMachine &TM, const X86Subtarget *ST)


Define Documentation

#define DEBUG_TYPE   "asm-printer"

Definition at line 16 of file X86ATTAsmPrinter.cpp.


Function Documentation

static X86MachineFunctionInfo calculateFunctionInfo ( const Function F,
const TargetData TD 
) [static]

static std::string getPICLabelString ( unsigned  FnNum,
const TargetAsmInfo TAI,
const X86Subtarget Subtarget 
) [static]

static void PrintUnmangledNameSafely ( const Value V,
raw_ostream OS 
) [static]

PrintUnmangledNameSafely - Print out the printable characters in the name. Don't print things like
or .

Definition at line 88 of file X86ATTAsmPrinter.cpp.

References E, llvm::Value::getNameLen(), llvm::Value::getNameStart(), and Name.

static bool shouldPrintGOT ( TargetMachine TM,
const X86Subtarget ST 
) [inline, static]

static bool shouldPrintPLT ( TargetMachine TM,
const X86Subtarget ST 
) [inline, static]

static bool shouldPrintStub ( TargetMachine TM,
const X86Subtarget ST 
) [inline, static]

STATISTIC ( EmittedInsts  ,
"Number of machine instrs printed"   
)




This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.