LLVM API Documentation
#include <OutputBuffer.h>
Public Member Functions | |
| OutputBuffer (std::vector< unsigned char > &Out, bool is64bit, bool le) | |
| void | align (unsigned Boundary) |
| void | outbyte (unsigned char X) |
| void | outhalf (unsigned short X) |
| void | outword (unsigned X) |
| void | outxword (uint64_t X) |
| void | outaddr32 (unsigned X) |
| void | outaddr64 (uint64_t X) |
| void | outaddr (uint64_t X) |
| void | outstring (const std::string &S, unsigned Length) |
| void | fixhalf (unsigned short X, unsigned Offset) |
| void | fixword (unsigned X, unsigned Offset) |
| void | fixaddr (uint64_t X, unsigned Offset) |
| unsigned char & | operator[] (unsigned Index) |
| const unsigned char & | operator[] (unsigned Index) const |
Definition at line 22 of file OutputBuffer.h.
| llvm::OutputBuffer::OutputBuffer | ( | std::vector< unsigned char > & | Out, | |
| bool | is64bit, | |||
| bool | le | |||
| ) | [inline] |
Definition at line 30 of file OutputBuffer.h.
| void llvm::OutputBuffer::align | ( | unsigned | Boundary | ) | [inline] |
Definition at line 36 of file OutputBuffer.h.
| void llvm::OutputBuffer::outbyte | ( | unsigned char | X | ) | [inline] |
Definition at line 51 of file OutputBuffer.h.
Referenced by llvm::ELFWriter::doInitialization(), llvm::MachOCodeEmitter::emitConstantPool(), and outstring().
| void llvm::OutputBuffer::outhalf | ( | unsigned short | X | ) | [inline] |
| void llvm::OutputBuffer::outword | ( | unsigned | X | ) | [inline] |
Definition at line 63 of file OutputBuffer.h.
Referenced by llvm::ELFWriter::doInitialization(), llvm::PPCMachOWriterInfo::GetTargetRelocation(), outaddr(), and outaddr32().
| void llvm::OutputBuffer::outxword | ( | uint64_t | X | ) | [inline] |
| void llvm::OutputBuffer::outaddr32 | ( | unsigned | X | ) | [inline] |
| void llvm::OutputBuffer::outaddr64 | ( | uint64_t | X | ) | [inline] |
| void llvm::OutputBuffer::outaddr | ( | uint64_t | X | ) | [inline] |
Definition at line 103 of file OutputBuffer.h.
References outword(), and outxword().
Referenced by llvm::ELFWriter::doInitialization(), and llvm::MachOCodeEmitter::emitJumpTables().
| void llvm::OutputBuffer::outstring | ( | const std::string & | S, | |
| unsigned | Length | |||
| ) | [inline] |
Definition at line 125 of file OutputBuffer.h.
Referenced by llvm::PPCMachOWriterInfo::GetTargetRelocation().
Definition at line 130 of file OutputBuffer.h.
Referenced by fixaddr(), and llvm::PPCMachOWriterInfo::GetTargetRelocation().
| void llvm::OutputBuffer::fixaddr | ( | uint64_t | X, | |
| unsigned | Offset | |||
| ) | [inline] |
Definition at line 144 of file OutputBuffer.h.
Definition at line 147 of file OutputBuffer.h.