LLVM API Documentation
#include "Sparc.h"
#include "SparcInstrInfo.h"
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Module.h"
#include "llvm/Assembly/Writer.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineConstantPool.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Support/Mangler.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/MathExtras.h"
#include <cctype>
#include <iostream>
#include "SparcGenAsmWriter.inc"
Include dependency graph for SparcAsmPrinter.cpp:
Go to the source code of this file.
Typedefs | |
typedef std::map< const Value *, unsigned > | ValueMapTy |
Functions | |
FunctionPass * | llvm::createSparcCodePrinterPass (std::ostream &o, TargetMachine &tm) |
Variables | |
Statistic | EmittedInsts ("asm-printer","Number of machine instrs printed") |
ValueMapTy | NumberForBB |
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 52 of file SparcAsmPrinter.cpp.
Statistic EmittedInsts("asm-printer","Number of machine instrs printed") [static] |
Definition at line 53 of file SparcAsmPrinter.cpp.