LLVM API Documentation

ARMAsmPrinter.cpp File Reference

#include "ARM.h"
#include "ARMTargetMachine.h"
#include "ARMAddressingModes.h"
#include "ARMConstantPoolValue.h"
#include "ARMMachineFunctionInfo.h"
#include "llvm/Constants.h"
#include "llvm/Module.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/DwarfWriter.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineJumpTableInfo.h"
#include "llvm/Target/TargetAsmInfo.h"
#include "llvm/Target/TargetData.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetOptions.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringSet.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Mangler.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/raw_ostream.h"
#include <cctype>
#include "ARMGenAsmWriter.inc"

Include dependency graph for ARMAsmPrinter.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "asm-printer"

Functions

 STATISTIC (EmittedInsts,"Number of machine instrs printed")
static void printSOImm (raw_ostream &O, int64_t V, const TargetAsmInfo *TAI)
static void PrintUnmangledNameSafely (const Value *V, raw_ostream &OS)
FunctionPass * llvm::createARMCodePrinterPass (raw_ostream &O, ARMTargetMachine &TM)

Variables

static struct { ... } ::Register Registrator


Define Documentation

#define DEBUG_TYPE   "asm-printer"

Definition at line 15 of file ARMAsmPrinter.cpp.


Function Documentation

static void printSOImm ( raw_ostream &  O,
int64_t  V,
const TargetAsmInfo *  TAI 
) [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 800 of file ARMAsmPrinter.cpp.

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

Referenced by llvm::X86ATTAsmPrinter::printModuleLevelGV().

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


Variable Documentation

AFI - Keep a pointer to ARMFunctionInfo for the current MachineFunction.

Definition at line 61 of file ARMAsmPrinter.cpp.

FnStubs - Keeps the set of external function GlobalAddresses that the asm printer should generate stubs for.

Definition at line 84 of file ARMAsmPrinter.cpp.

GVNonLazyPtrs - Keeps the set of GlobalValues that require non-lazy-pointers for indirect access.

Definition at line 76 of file ARMAsmPrinter.cpp.

HiddenGVNonLazyPtrs - Keeps the set of GlobalValues with hidden visibility that require non-lazy-pointers for indirect access.

Definition at line 80 of file ARMAsmPrinter.cpp.

bool InCPMode

True if asm printer is printing a series of CONSTPOOL_ENTRY.

Definition at line 87 of file ARMAsmPrinter.cpp.

MCP - Keep a pointer to constantpool entries of the current MachineFunction.

Definition at line 65 of file ARMAsmPrinter.cpp.

Referenced by llvm::X86InstrInfo::foldMemoryOperandImpl().

Definition at line 53 of file ARMAsmPrinter.cpp.

Definition at line 72 of file ARMAsmPrinter.cpp.

struct { ... } Register Registrator [static]

Subtarget - Keep a pointer to the ARMSubtarget around so that we can make the right decision when printing asm code for different targets.

Definition at line 57 of file ARMAsmPrinter.cpp.