Table of Contents

Class AttributeContainerExtensions

Namespace
Ubiquity.NET.Llvm.Values
Assembly
Ubiquity.NET.Llvm.dll

Provides a layer of simplicity and backwards compatibility for manipulating attributes on Values

public static class AttributeContainerExtensions
Inheritance
AttributeContainerExtensions
Inherited Members

Methods

AddAttribute<T>(T, FunctionAttributeIndex, LazyEncodedString)

Adds a single AttributeValue to an IFunctionAttributeAccessor

AddAttribute<T>(T, FunctionAttributeIndex, AttributeValue)

Adds a single AttributeValue to an IFunctionAttributeAccessor

AddAttributes(IAttributeContainer, params LazyEncodedString[])

Add a range of attributes to an attribute container

AddAttributes(IAttributeContainer, params AttributeValue[])

Add a range of attributes to an attribute container

AddAttributes<T>(T, FunctionAttributeIndex, IEnumerable<LazyEncodedString>)

Adds AttributeValues to an IFunctionAttributeAccessor

AddAttributes<T>(T, FunctionAttributeIndex, IEnumerable<AttributeValue>)

Adds AttributeValues to an IFunctionAttributeAccessor

AddAttributes<T>(T, FunctionAttributeIndex, params LazyEncodedString[])

Adds AttributeValues to an IFunctionAttributeAccessor

AddAttributes<T>(T, FunctionAttributeIndex, params AttributeValue[])

Adds AttributeValues to an IFunctionAttributeAccessor

AddRange<T>(ICollection<T>, params T[])

Adds a range of values to a collection

Contains(ICollection<AttributeValue>, uint)

Determines if a collection of AttributeValue contains a given uint

FindAttribute<T>(T, FunctionAttributeIndex, LazyEncodedString)

Finds an AttributeValue by index and name

RemoveAttribute<T>(T, FunctionAttributeIndex, uint)

Removes an uint from an IFunctionAttributeAccessor

RemoveAttribute<T>(T, FunctionAttributeIndex, LazyEncodedString)

Removes a named attribute from an IFunctionAttributeAccessor