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