CallFFI
public struct CallFFI : Instruction
extension CallFFI: CustomStringConvertible
Invokes callee, which is a foreign function interface, with operands.
-
The type of the return value.
Declaration
Swift
public let returnType: IR.Type -
The name of the foreign function.
Declaration
Swift
public let callee: String -
The 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
Swift
fileprivate init( returnType: IR.`Type`, callee: String, arguments: [Operand], site: SourceRange ) -
Declaration
Swift
public var result: IR.Type? { get } -
Declaration
Swift
public mutating func replaceOperand(at i: Int, with new: Operand) -
Declaration
Swift
public var description: String { get }
View on GitHub