Method Call
- Namespace
- Ubiquity.NET.Llvm.Instructions
- Assembly
- Ubiquity.NET.Llvm.dll
Call(Function, params IEnumerable<Value>)
Creates a call function
public CallInstruction Call(Function func, params IEnumerable<Value> args)
Parameters
funcFunctionFunction to call
argsIEnumerable<Value>Arguments to pass to the function
Returns
Exceptions
- ArgumentException
One of the parameters to this function is invalid
Call(Function, IReadOnlyList<Value>)
Creates a call function
public CallInstruction Call(Function func, IReadOnlyList<Value> args)
Parameters
funcFunctionFunction to call
argsIReadOnlyList<Value>Arguments to pass to the function
Returns
Exceptions
- ArgumentException
One of the parameters to this function is invalid
Call(IFunctionType, Value, params IEnumerable<Value>)
Creates a call instruction
public CallInstruction Call(IFunctionType signature, Value target, params IEnumerable<Value> args)
Parameters
signatureIFunctionTypeFunction signature of the target
targetValueTarget of the function call (Must be invocable as
signature)argsIEnumerable<Value>Arguments to the function call (Must match types and number of
signature)
Returns
- CallInstruction
Instruction created
Exceptions
- ArgumentException
One of the parameters to this function is invalid
Call(IFunctionType, Value, IReadOnlyList<Value>)
Creates a call instruction
public CallInstruction Call(IFunctionType signature, Value target, IReadOnlyList<Value> args)
Parameters
signatureIFunctionTypeFunction signature of the target
targetValueTarget of the function call (Must be invocable as
signature)argsIReadOnlyList<Value>Arguments to the function call (Must match types and number of
signature)
Returns
- CallInstruction
Instruction created
Exceptions
- ArgumentException
One of the parameters to this function is invalid