Call
public struct Call : Instruction
extension Call: CustomStringConvertible
Invokes callee with arguments and writes its result to output.
callee must have a lambda type; the type of the instruction must be the same as output type
of the callee. operands must contain as many operands as the callee’s type.
-
The callee, the return storage, and arguments of the call.
Declaration
Swift
public private(set) var operands: [Operand] { get } -
The site of the code corresponding to that instruction.
Declaration
Swift
public let site: SourceRange -
Creates an instance with the given properties.
Declaration
-
The callee.
Declaration
Swift
public var callee: Operand { get } -
The arguments of the call.
Declaration
Swift
public var arguments: ArraySlice<Operand> { get } -
trueiff the instruction denotes a call to a generic function.Declaration
Swift
public var isGeneric: Bool { get } -
Declaration
Swift
public mutating func replaceOperand(at i: Int, with new: Operand) -
Declaration
Swift
public var description: String { get }
View on GitHub