getCallingConv: Get and set the calling convention for a routine

View source: R/Function.R

getCallingConvR Documentation

Get and set the calling convention for a routine

Description

These functions allow us to specify and query the calling convention of an LLVM routine.

Usage

getCallingConv(fun)

Arguments

fun

the LLVM Function object

Value

getCallingConv returns an enumerated constant identifying the specific calling convention.

Author(s)

Duncan Temple Lang

References

LLVM documentation

See Also

Function

Examples

 f = Function("foo", Int32Type, list(x = Int32Type, y = DoubleType))
 getCallingConv(f)

duncantl/Rllvm documentation built on April 23, 2024, 6:14 p.m.