LLVM API Documentation

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

llvm::BytecodeBlock Class Reference

#include <WriterInternals.h>

Collaboration diagram for llvm::BytecodeBlock:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BytecodeBlock (unsigned ID, BytecodeWriter &w, bool elideIfEmpty=false, bool hasLongFormat=false)
 ~BytecodeBlock ()

Detailed Description

BytecodeBlock - Little helper class is used by the bytecode writer to help do backpatching of bytecode block sizes really easily. It backpatches when it goes out of scope.

Definition at line 113 of file WriterInternals.h.


Constructor & Destructor Documentation

BytecodeBlock::BytecodeBlock unsigned  ID,
BytecodeWriter w,
bool  elideIfEmpty = false,
bool  hasLongFormat = false
[inline]
 

Place holder for ID and length for this block

Definition at line 170 of file Bytecode/Writer/Writer.cpp.

References llvm::BytecodeWriter::output(), llvm::BytecodeWriter::size(), and U.

BytecodeBlock::~BytecodeBlock  )  [inline]
 

Definition at line 183 of file Bytecode/Writer/Writer.cpp.

References llvm::BytecodeWriter::output(), llvm::BytecodeWriter::resize(), and llvm::BytecodeWriter::size().


The documentation for this class was generated from the following files: