LLVM 20.0.0git
|
Represents a literal operand in a bitcode record. More...
#include "llvm/Bitcode/BitcodeConvenience.h"
Static Public Member Functions | |
static void | emitOp (llvm::BitCodeAbbrev &abbrev) |
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 |
Represents a literal operand in a bitcode record.
The value of a literal operand is the same for all instances of the record, so it is only emitted in the abbreviation definition.
Note that because this uses a compile-time template, you cannot have a literal operand that is fixed at run-time without dropping down to the raw LLVM APIs.
Definition at line 64 of file BitcodeConvenience.h.
|
inlinestatic |
Definition at line 70 of file BitcodeConvenience.h.
References assert().
|
inlinestatic |
Definition at line 66 of file BitcodeConvenience.h.
References llvm::BitCodeAbbrev::Add().