Struct AttributeValue
Single attribute for functions, function returns and function parameters
Inherited Members
Namespace: Ubiquity.NET.Llvm.Values
Assembly: Ubiquity.NET.Llvm.dll
Syntax
public struct AttributeValue : IEquatable<AttributeValue>
Remarks
This is the equivalent to the underlying llvm::AttributeImpl class. The name was changed to AttributeValue in .NET to prevent confusion with the standard Attribute class that is used throughout .NET libraries.
Properties
Context | Gets the context that owns this AttributeValue |
HasIntegerVaue | Gets a value indicating whether this attribute has an integer attribute |
IntegerValue | Gets the Integer value of the attribute or |
IsEnum | Gets a value indicating whether this attribute is a simple enumeration value |
IsString | Gets a value indicating whether this attribute is a target specific string value |
Kind | Gets the kind of the attribute |
Name | Gets the Name of the attribute |
StringValue | Gets the value for named attributes with values |
TypeValue | Gets the Type value of this attribute, if any |
Methods
Equals(Object) | Performs equality checks against an Object |
Equals(AttributeValue) | Performs equality checks against an AttributeValue |
GetHashCode() | Gets a hash code for this instance |
IsValidOn(FunctionAttributeIndex, Value) | Tests if the attribute is valid for a Value on a given FunctionAttributeIndex |
ToString() | Gets a string representation of the attribute |
VerifyValidOn(FunctionAttributeIndex, Value) | Verifies the attribute is valid for a Value on a given FunctionAttributeIndex |
Operators
Equality(AttributeValue, AttributeValue) | Tests attributes for equality |
Inequality(AttributeValue, AttributeValue) | Tests attributes for inequality |