Class Constant
Contains an LLVM Constant value
public class Constant : User, IEquatable<Value>
- Inheritance
-
Constant
- Implements
- Derived
- Inherited Members
- Extension Methods
Properties
- IsZeroValue
Gets a value indicating whether the constant is a Zero value for the its type
Methods
- AllOnesValueFor(ITypeRef)
Creates a constant instance of
typeRef
with all bits in the instance set to 1
- ConstPointerToNullFor(ITypeRef)
Create a constant NULL pointer for a given type
- NullValueFor(ITypeRef)
Create a NULL pointer for a given type
- ToMetadata()
Gets the constant as a IrMetadata node
- UndefinedValueFor(ITypeRef)
Creates an Constant representing an undefined value for
typeRef