LLVM 22.0.0git
llvm::BCFixed< Width > Class Template Reference

Represents a fixed-width value in a bitcode record. More...

#include "llvm/Bitcode/BitcodeConvenience.h"

Inheritance diagram for llvm::BCFixed< Width >:
[legend]

Static Public Member Functions

static void emitOp (llvm::BitCodeAbbrev &abbrev)
static void assertValid (const bool &data)
template<typename T>
static void assertValid (const T &data)
Static Public Member Functions inherited from llvm::detail::BCField< Compound >
template<typename T>
static void assertValid (const T &data)
 Asserts that the given data is a valid value for this field.
template<typename T>
static T convert (T rawValue)
 Converts a raw numeric representation of this value to its preferred type.

Additional Inherited Members

Static Public Attributes inherited from llvm::detail::BCField< Compound >
static const bool IsCompound = Compound

Detailed Description

template<unsigned Width>
class llvm::BCFixed< Width >

Represents a fixed-width value in a bitcode record.

Note that the LLVM bitcode format only supports unsigned values.

Definition at line 78 of file BitcodeConvenience.h.

Member Function Documentation

◆ assertValid() [1/2]

template<unsigned Width>
void llvm::BCFixed< Width >::assertValid ( const bool & data)
inlinestatic

Definition at line 86 of file BitcodeConvenience.h.

References assert(), data, and llvm::isUInt().

◆ assertValid() [2/2]

template<unsigned Width>
template<typename T>
void llvm::BCFixed< Width >::assertValid ( const T & data)
inlinestatic

Definition at line 91 of file BitcodeConvenience.h.

References assert(), data, llvm::isUInt(), and T.

◆ emitOp()

template<unsigned Width>
void llvm::BCFixed< Width >::emitOp ( llvm::BitCodeAbbrev & abbrev)
inlinestatic

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