Method GetFunctionType
GetFunctionType(ITypeRef, ITypeRef[])
Get an LLVM Function type (e.g. signature)
Declaration
public IFunctionType GetFunctionType(ITypeRef returnType, params ITypeRef[] args)
Parameters
public IFunctionType GetFunctionType(ITypeRef returnType, params ITypeRef[] args)
ITypeRef | returnType | Return type of the function |
ITypeRef[] | args | Optional set of function argument types |
Returns
IFunctionType | Signature type for the specified signature |
GetFunctionType(ITypeRef, IEnumerable<ITypeRef>)
Get an LLVM Function type (e.g. signature)
Declaration
public IFunctionType GetFunctionType(ITypeRef returnType, IEnumerable<ITypeRef> args)
Parameters
public IFunctionType GetFunctionType(ITypeRef returnType, IEnumerable<ITypeRef> args)
ITypeRef | returnType | Return type of the function |
IEnumerable<ITypeRef> | args | Potentially empty set of function argument types |
Returns
IFunctionType | Signature type for the specified signature |
GetFunctionType(ITypeRef, IEnumerable<ITypeRef>, Boolean)
Get an LLVM Function type (e.g. signature)
Declaration
public IFunctionType GetFunctionType(ITypeRef returnType, IEnumerable<ITypeRef> args, bool isVarArgs)
Parameters
public IFunctionType GetFunctionType(ITypeRef returnType, IEnumerable<ITypeRef> args, bool isVarArgs)
ITypeRef | returnType | Return type of the function |
IEnumerable<ITypeRef> | args | Potentially empty set of function argument types |
Boolean | isVarArgs | Flag to indicate if the method supports C/C++ style VarArgs |
Returns
IFunctionType | Signature type for the specified signature |