LLVM API Documentation

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 111 of file WriterInternals.h.


Constructor & Destructor Documentation

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

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

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

BytecodeBlock::~BytecodeBlock (  )  [inline]

Definition at line 178 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: