| Function Methods |
[This is preliminary documentation and is subject to change.]
The Function type exposes the following members.
| Name | Description | |
|---|---|---|
| AddExtendedPropertyValue | Adds a value to the container (Inherited from Value.) | |
| AppendBasicBlock | Appends a new basic block to a function | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| FindOrCreateNamedBlock | Retrieves or creates block by name | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| PrependBasicBlock | Add a new basic block to the beginning of a function | |
| ReplaceAllUsesWith | Replace all uses of a Value with another one (Inherited from Value.) | |
| ToString | Generates a string representing the LLVM syntax of the value (Inherited from Value.) | |
| TryGetExtendedPropertyValueT | Try to get a value from the container (Inherited from Value.) | |
| Verify | Verifies the function is valid and all blocks properly terminated |
| Name | Description | |
|---|---|---|
| AddAttributes(AttributeValue) | Overloaded. Compatibility extension method to handle migrating code from older attribute handling (Defined by AttributeSetContainer.) | |
| AddAttributes(IEnumerableAttributeValue) | Overloaded. Compatibility extension method to handle migrating code from older attribute handling (Defined by AttributeSetContainer.) | |
| RemoveAttribute(String) | Overloaded. Compatibility extension method to handle migrating code from older attribute handling (Defined by AttributeSetContainer.) | |
| RemoveAttribute(AttributeKind) | Overloaded. Compatibility extension method to handle migrating code from older attribute handling (Defined by AttributeSetContainer.) |