LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Analyzer.cpp File Reference

#include "Reader.h"
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Module.h"
#include "llvm/Analysis/Verifier.h"
#include "llvm/Bytecode/BytecodeHandler.h"
#include "llvm/Assembly/Writer.h"
#include <iomanip>
#include <sstream>

Include dependency graph for Analyzer.cpp:

Go to the source code of this file.

Namespaces

namespace  llvm

Functions

static void print (std::ostream &Out, const char *title, unsigned val, bool nl=true)
 Utility for printing a titled unsigned value with an aligned colon.
static void print (std::ostream &Out, const char *title, double val)
 Utility for printing a titled double value with an aligned colon.
static void print (std::ostream &Out, const char *title, double top, double bot)
 Utility for printing a titled double value with a percentage and aligned colon.
static void print (std::ostream &Out, const char *title, std::string val, bool nl=true)
 Utility for printing a titled string value with an aligned colon.
void llvm::PrintBytecodeAnalysis (BytecodeAnalysis &bca, std::ostream &Out)
 Print BytecodeAnalysis structure to an ostream.
BytecodeHandlerllvm::createBytecodeAnalyzerHandler (BytecodeAnalysis &bca, std::ostream *output)
 A function for creating a BytecodeAnalzer as a handler for the Bytecode reader.


Function Documentation

static void @0::print std::ostream &  Out,
const char *  title,
std::string  val,
bool  nl = true
[inline, static]
 

Utility for printing a titled string value with an aligned colon.

Definition at line 606 of file Analyzer.cpp.

static void @0::print std::ostream &  Out,
const char *  title,
double  top,
double  bot
[inline, static]
 

Utility for printing a titled double value with a percentage and aligned colon.

Definition at line 595 of file Analyzer.cpp.

static void @0::print std::ostream &  Out,
const char *  title,
double  val
[inline, static]
 

Utility for printing a titled double value with an aligned colon.

Definition at line 586 of file Analyzer.cpp.

static void @0::print std::ostream &  Out,
const char *  title,
unsigned  val,
bool  nl = true
[inline, static]
 

Utility for printing a titled unsigned value with an aligned colon.

Definition at line 577 of file Analyzer.cpp.

Referenced by llvm::TypeMap< ValType, TypeClass >::add(), llvm::TypeMap< ValType, TypeClass >::dump(), llvm::PrintBytecodeAnalysis(), and llvm::TypeMap< ValType, TypeClass >::~TypeMap().