![]() | Function Class |
[This is preliminary documentation and is subject to change.]
Namespace: Llvm.NET.Values
public class Function : GlobalObject, IAttributeSetContainer
The Function type exposes the following members.
Name | Description | |
---|---|---|
![]() | Alignment | Alignment requirements for this object (Inherited from GlobalObject.) |
![]() | Attributes | |
![]() | BasicBlocks | Basic Blocks for the function |
![]() | CallingConvention | Calling convention for the method |
![]() | Context | (Inherited from Value.) |
![]() | DISubProgram | Debug information for this function |
![]() | EntryBlock | Entry block for this function |
![]() | GcName | Garbage collection engine name that this function is generated to work with |
![]() | IntrinsicId | LLVM instrinsicID for the method |
![]() | IsDeclaration | Flag to indicate if this is a declaration (Inherited from GlobalValue.) |
![]() | IsNull | Determines if the Value represents the NULL value for the values type (Inherited from Value.) |
![]() | IsUndefined | Indicates if this value is Undefined (Inherited from Value.) |
![]() | IsVarArg | Flag to indicate if the method signature accepts variable arguments |
![]() | IsZeroValue | Indicates if the constant is a Zero value for the its type (Inherited from Constant.) |
![]() | Linkage | Linkage specification for this symbol (Inherited from GlobalValue.) |
![]() | Name | Name of the value (if any) (Inherited from Value.) |
![]() | NativeType | Type of the value (Inherited from Value.) |
![]() | Operands | Collection of operands (Inherited from User.) |
![]() | Parameters | Parameters for the function including any method definition specific attributes (i.e. ByVal) |
![]() | ParentModule | Module containing this global value (Inherited from GlobalValue.) |
![]() | PersonalityFunction | |
![]() | ReturnType | Return type of the function |
![]() | Section | Linker section this object belongs to (Inherited from GlobalObject.) |
![]() | Signature | Signature type of the function |
![]() | UnnamedAddress | Flag to indicate if this is an Unnamed address (Inherited from GlobalValue.) |
![]() | Uses | Enumerable collection of Uses (Inherited from User.) |
![]() | Visibility | Visibility of this global value (Inherited from GlobalValue.) |
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.) |