llvm::BCLiteral

Represents a literal operand in a bitcode record.

Synopsis

Declared in <llvm/Bitcode/BitcodeConvenience.h>

template<uint64_t Value>
class BCLiteral
    : public /* implementation-defined */

Description

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.

Base Classes

NameDescription
/* implementation-defined */Convenience base for all kinds of bitcode abbreviation fields.

Static Member Functions

NameDescription
assertValid
convert Converts a raw numeric representation of this value to its preferred type.
emitOp

Static Data Members

Name
IsCompound