Expand description
A value is an instance of a type.
Structs§
- Array
Value - An
ArrayValueis a block of contiguous constants or variables. - Basic
Value Use - A usage of a
BasicValuein another value. - Call
Site Value - A value resulting from a function call. It may have function attributes applied to it.
- Field
Value Iter - Iterate over all the field values of this struct.
- Float
Value - Function
Value - Generic
Value - Global
Value - Incoming
Iter - Iterate over all the incoming edges of a phi value.
- Instruction
Value - IntValue
- Metadata
Value - Operand
Iter - Iterate over all the operands of an instruction value.
- Operand
UseIter - Iterate over all the operands of an instruction value.
- PhiValue
- A Phi Instruction returns a value based on which basic block branched into the Phi’s containing basic block.
- Pointer
Value - Scalable
Vector Value - Struct
Value - Vector
Value
Enums§
- Aggregate
Value Enum - AnyValue
Enum - Atomic
Error - Errors for atomic operations on load/store instructions.
- Basic
Metadata Value Enum - Basic
Value Enum - Instruction
Opcode - Instruction
Value Error - Errors for InstructionValue.
- Operand
- Either BasicValueEnum or BasicBlock.
- Unnamed
Address - This enum determines the significance of a
GlobalValue’s address. - Value
Kind - Either BasicValueEnum or InstructionValue.
Constants§
- FIRST_
CUSTOM_ METADATA_ KIND_ ID - Value returned by
Context::get_kind_id()for the first input string that isn’t known.
Traits§
- Aggregate
Value - Represents an aggregate value, built on top of other values.
- AnyValue
- Defines any struct wrapping an LLVM value.
- AsValue
Ref - Basic
Value - Represents a basic value, which can be used both by itself, or in an
AggregateValue. - Float
Math Value - Represents a value which is permitted in floating point math operations
- IntMath
Value - Represents a value which is permitted in integer math operations
- Pointer
Math Value - Vector
Base Value - Represents a value which is permitted in vector operations, either fixed or scalable