LLVM 20.0.0git
Static Public Member Functions | List of all members
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 >:
Inheritance graph
[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>
static void llvm::BCFixed< Width >::assertValid ( const bool data)
inlinestatic

Definition at line 86 of file BitcodeConvenience.h.

References assert().

◆ assertValid() [2/2]

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

Definition at line 91 of file BitcodeConvenience.h.

References assert().

◆ emitOp()

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

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