Click or drag to resize
Llvm.NET LogoAttributeValue Structure

[This is preliminary documentation and is subject to change.]

Single attribute for functions, function returns and function parameters

Namespace:  Llvm.NET.Values
Assembly:  Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
Syntax
C#
public struct AttributeValue

The AttributeValue type exposes the following members.

Constructors
  NameDescription
Public methodAttributeValue(String)
Adds a valueless named attribute
Public methodAttributeValue(AttributeKind)
Creates a simple boolean attribute
Public methodAttributeValue(String, String)
Adds a Target specific named attribute with value
Public methodAttributeValue(AttributeKind, UInt64)
Creates an attribute with an integer value parameter
Public methodAttributeValue(Context, AttributeKind)
Creates a simple boolean attribute
Public methodAttributeValue(Context, String)
Adds a valueless named attribute
Public methodAttributeValue(Context, AttributeKind, UInt64)
Creates an attribute with an integer value parameter
Public methodAttributeValue(Context, String, String)
Adds a Target specific named attribute with value
Top
Properties
  NameDescription
Public propertyIntegerValue
Integer value of the attribute or null if the attribute doesn't have a value
Public propertyIsEnum
Flag to indicate if this attribute is a simple enumeration value
Public propertyIsInt
Flag to indicate if this attribute has an integer attribute
Public propertyIsString
Flag to indicate if this attribute is a target specific string value
Public propertyKind
Kind of the attribute, or null for target specif named attributes
Public propertyName
Name of a named attribute or null for other kinds of attributes
Public propertyStringValue
StringValue for named attributes with values
Top
Methods
Operators
Remarks
This is the equivalent to the underlying llvm::Attribute class. The name was changed to AttributeValue in .NET to prevent confusion with the Attribute class that is used throughout .NET libraries. As with the underlying LLVM type, this is an immutable value type.
See Also