Class Constant
Contains an LLVM Constant value
Namespace: Llvm.NET.Values
Assembly: Llvm.NET.dll
Syntax
public class Constant : User, IExtensiblePropertyContainer, IOperandContainer<Value>
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 |
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 Metadata node |
UndefinedValueFor(ITypeRef) | Creates an Constant representing an undefined value for |