simpleFunction: Define the skeleton of an LLVM Function

Description Usage Arguments Author(s) References

Description

This function creates an LLVM Function object and creates the initial Block and populates it with local variables that access the parameter values.

Usage

1
simpleFunction(.name, retType = VoidType, ..., .types = list(...), mod = Module())

Arguments

.name

the name of the function/routione

retType

the return type of the routine

...

individual type objects for the parameters of the routine

.types

the parameter types specified as a single object

mod

the module in which to create the function

Author(s)

DTL

References

LLVM Documentation http://llvm.org/docs/


doktorschiwago/Rllvm2 documentation built on May 15, 2019, 9:42 a.m.