LLVM API Documentation
#include "Alpha.h"
#include "AlphaInstrInfo.h"
#include "AlphaTargetMachine.h"
#include "llvm/Module.h"
#include "llvm/Type.h"
#include "llvm/Assembly/Writer.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Support/Mangler.h"
#include "llvm/ADT/Statistic.h"
#include <iostream>
#include "AlphaGenAsmWriter.inc"
Include dependency graph for AlphaAsmPrinter.cpp:
Go to the source code of this file.
Typedefs | |
typedef std::map< const Value *, unsigned > | ValueMapTy |
Functions | |
FunctionPass * | llvm::createAlphaCodePrinterPass (std::ostream &o, TargetMachine &tm) |
Variables | |
Statistic | EmittedInsts ("asm-printer","Number of machine instrs printed") |
unsigned | LabelNumber |
ValueMapTy | NumberForBB |
std::string | CurSection |
typedef std::map<const Value *, unsigned> ValueMapTy |
We name each basic block in a Function with a unique number, so that we can consistently refer to them later. This is cleared at the beginning of each call to runOnMachineFunction().
Definition at line 47 of file AlphaAsmPrinter.cpp.
std::string CurSection |
Definition at line 49 of file AlphaAsmPrinter.cpp.
Statistic EmittedInsts("asm-printer","Number of machine instrs printed") [static] |
unsigned LabelNumber |
Unique incrementer for label values for referencing Global values.
Definition at line 35 of file AlphaAsmPrinter.cpp.
Definition at line 48 of file AlphaAsmPrinter.cpp.