LLVM API Documentation
#include "WriterInternals.h"
#include "llvm/Bytecode/WriteBytecodePass.h"
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Instructions.h"
#include "llvm/Module.h"
#include "llvm/SymbolTable.h"
#include "llvm/Support/GetElementPtrTypeIterator.h"
#include "llvm/Support/Compressor.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/Statistic.h"
#include <cstring>
#include <algorithm>
Include dependency graph for Bytecode/Writer/Writer.cpp:
Go to the source code of this file.
Typedefs | |
typedef unsigned char | uchar |
Functions | |
static bool | hasNullValue (unsigned TyID) |
static unsigned | getEncodedLinkage (const GlobalValue *GV) |
void | llvm::WriteBytecodeToFile (const Module *M, std::ostream &Out, bool compress) |
Variables | |
const unsigned | BCVersionNum = 5 |
The bytecode version number. | |
static RegisterPass< WriteBytecodePass > | X ("emitbytecode","Bytecode Writer") |
static Statistic | BytesWritten ("bytecodewriter","Number of bytecode bytes written") |
|
Definition at line 425 of file Bytecode/Writer/Writer.cpp. |
|
|
Definition at line 846 of file Bytecode/Writer/Writer.cpp. References llvm::Type::LabelTyID, and llvm::Type::VoidTyID. |
|
The bytecode version number. This value needs to be incremented every time the bytecode format changes so that the reader can distinguish which format of the bytecode file has been written. Definition at line 39 of file Bytecode/Writer/Writer.cpp. Referenced by llvm::BytecodeWriter::BytecodeWriter(). |
|
Referenced by llvm::WriteBytecodeToFile(). |
|
|