Click or drag to resize
Llvm.NET LogoContext Methods

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

The Context type exposes the following members.

Methods
  NameDescription
Public methodCreateConstant(Boolean)
Creates a new ConstantInt with a bit length of 1
Public methodCreateConstant(Byte)
Creates a new ConstantInt with a bit length of 8
Public methodCreateConstant(Double)
Creates a constant floating point value for a given value
Public methodCreateConstant(Int16)
Creates a new ConstantInt with a bit length of 16
Public methodCreateConstant(Int32)
Creates a new ConstantInt with a bit length of 32
Public methodCreateConstant(Int64)
Creates a new ConstantInt with a bit length of 64
Public methodCreateConstant(SByte)
Creates a new ConstantInt with a bit length of 8
Public methodCreateConstant(Single)
Creates a constant floating point value for a given value
Public methodCreateConstant(UInt16)
Creates a new ConstantInt with a bit length of 16
Public methodCreateConstant(UInt32)
Creates a new ConstantInt with a bit length of 32
Public methodCreateConstant(UInt64)
Creates a new ConstantInt with a bit length of 64
Public methodCreateConstant(UInt32, UInt64, Boolean)
Creates a new ConstantInt with a bit length of 64
Public methodCreateConstant(ITypeRef, UInt64, Boolean)
Create a constant value of the specified integer type
Public methodCreateConstantString(String)
Create a constant data string value
Public methodCreateConstantString(String, Boolean)
Create a constant data string value
Public methodCreateConstantStruct(Boolean, Constant)
Creates a constant structure from a set of values
Public methodCreateConstantStruct(Boolean, IEnumerableConstant)
Creates a constant structure from a set of values
Public methodCreateFunctionType(DebugInfoBuilder, IDebugTypeITypeRef, DIType, IDebugTypeITypeRef, DIType)
Creates a FunctionType with Debug information
Public methodCreateFunctionType(DebugInfoBuilder, IDebugTypeITypeRef, DIType, IEnumerableIDebugTypeITypeRef, DIType)
Creates a FunctionType with Debug information
Public methodCreateFunctionType(DebugInfoBuilder, Boolean, IDebugTypeITypeRef, DIType, IDebugTypeITypeRef, DIType)
Creates a FunctionType with Debug information
Public methodCreateFunctionType(DebugInfoBuilder, Boolean, IDebugTypeITypeRef, DIType, IEnumerableIDebugTypeITypeRef, DIType)
Creates a FunctionType with Debug information
Public methodCreateMetadataString
Creates a metadata string from the given string
Public methodCreateNamedConstantStruct(IStructType, Constant)
Creates a constant instance of a specified structure type from a set of values
Public methodCreateNamedConstantStruct(IStructType, IEnumerableConstant)
Creates a constant instance of a specified structure type from a set of values
Public methodCreateStructType(String)
Create an empty structure type
Public methodCreateStructType(Boolean, ITypeRef, ITypeRef)
Create an anonymous structure type (e.g. Tuple)
Public methodCreateStructType(String, Boolean, ITypeRef)
Creates a new structure type in this Context
Public methodDispose
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize (Overrides ObjectFinalize.)
Public methodGetFunctionType(ITypeRef, ITypeRef)
Get an LLVM Function type (e.g. signature)
Public methodGetFunctionType(ITypeRef, IEnumerableITypeRef)
Get an LLVM Function type (e.g. signature)
Public methodGetFunctionType(ITypeRef, IEnumerableITypeRef, Boolean)
Get an LLVM Function type (e.g. signature)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetIntType
Get's an LLVM integer type of arbitrary bit width
Public methodGetPointerTypeFor
Get a type that is a pointer to a value of a given type
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodVerify
Execute a given action if the Context is or is disposed
(Defined by ContextValidator.)
Public Extension MethodVerifyAsArg(String)Overloaded.
Throw an ArgumentException if the Context is or is disposed
(Defined by ContextValidator.)
Public Extension MethodVerifyAsArg(String, String)Overloaded.
Throw an ArgumentException if the Context is or is disposed
(Defined by ContextValidator.)
Public Extension MethodVerifyOperationOverloaded.
Throw an InvalidOperationException if the Context is or is disposed
(Defined by ContextValidator.)
Public Extension MethodVerifyOperation(String)Overloaded.
Throw an InvalidOperationException if the Context is or is disposed
(Defined by ContextValidator.)
Top
See Also