Call
public struct Call : IRValue
Represents a simple function call.
-
Retrieves the underlying LLVM value object.
Declaration
Swift
public func asLLVM() -> LLVMValueRef
-
Retrieves the number of argument operands passed by this call.
Declaration
Swift
public var argumentCount: Int { get }
-
Accesses the calling convention for this function call.
Declaration
Swift
public var callingConvention: CallingConvention { get set }
-
Returns whether this function call is a tail call. That is, if the callee may reuse the stack memory of the caller.
This attribute requires support from the target architecture.
Declaration
Swift
public var isTailCall: Bool { get set }
-
Retrieves the alignment of the parameter at the given index.
This property is currently set-only due to limitations of the LLVM C API.
Declaration
Swift
public func setParameterAlignment(at i: Int, to alignment: Alignment)
Parameters
i
The index of the parameter to retrieve.
alignment
The alignment to apply to the parameter.