Holds an LLVM value of arbitrary type for the interpreter and related tools.

Synopsis

Declared in <llvm/ExecutionEngine/GenericValue.h>

struct GenericValue;

Types

Name

Description

IntPair

Pair of unsigned integers stored in the untyped union of GenericValue.

Member Functions

Name

Description

GenericValue [constructor]

Constructors

Data Members

Name

Description

AggregateVal

Nested values for aggregate data types such as structs and arrays.

DoubleVal [variant member]

Value when the GenericValue holds a double.

FloatVal [variant member]

Value when the GenericValue holds a float.

IntVal

Arbitrary‐precision integer value; also used for long doubles.

PointerVal [variant member]

Value when the GenericValue holds a pointer.

UIntPairVal [variant member]

Value when the GenericValue holds a pair of unsigned integers.

Untyped [variant member]

Raw bytes for values that do not fit the other union members.

Non-Member Functions

Name

Description

GVTOP

Extract the pointer stored in a GenericValue.

PTOGV

Convert a pointer to a GenericValue that holds it.

Created with MrDocs