Table of Contents

Method GetFunctionType

Namespace
Ubiquity.NET.Llvm
Assembly
Ubiquity.NET.Llvm.dll

GetFunctionType(ITypeRef, params IEnumerable<ITypeRef>)

Get an LLVM Function type (e.g. signature)

public IFunctionType GetFunctionType(ITypeRef returnType, params IEnumerable<ITypeRef> args)

Parameters

returnType ITypeRef

Return 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 bool

Flag to indicate if the method supports C/C++ style VarArgs

returnType ITypeRef

Return type of the function

args IEnumerable<ITypeRef>

Potentially empty set of function argument types

Returns

IFunctionType

Signature type for the specified signature