LLVM API Documentation
#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 <ios>
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. | |
BytecodeHandler * | llvm::createBytecodeAnalyzerHandler (BytecodeAnalysis &bca, std::ostream *output) |
A function for creating a BytecodeAnalzer as a handler for the Bytecode reader. | |
Variables | |
BytecodeAnalysis & | bca |
The structure in which data is recorded. | |
std::ostream * | os |
BytecodeAnalysis::BytecodeFunctionInfo * | currFunc |
Keeps track of current function. | |
Module * | M |
Keeps track of current module. |
static void @78::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 607 of file Analyzer.cpp.
static void @78::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 596 of file Analyzer.cpp.
static void @78::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 587 of file Analyzer.cpp.
static void @78::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 578 of file Analyzer.cpp.
Referenced by llvm::TypeMap< ValType, TypeClass >::add(), llvm::TypeMap< ValType, TypeClass >::dump(), llvm::PrintBytecodeAnalysis(), and llvm::TypeMap< ValType, TypeClass >::~TypeMap().
The structure in which data is recorded.
Definition at line 36 of file Analyzer.cpp.
Referenced by llvm::AnalyzeBytecodeBuffer(), llvm::AnalyzeBytecodeFile(), llvm::createBytecodeAnalyzerHandler(), llvm::operator<<(), and llvm::PrintBytecodeAnalysis().
std::ostream* os |
A convenience for osing data.
Definition at line 37 of file Analyzer.cpp.