Rllvm (version 0.7-0)

clone: Collection of generic functions for LLVM objects

Description

These are some of the generic functions for LLVM

Usage

clone(x, ...)
eraseFromParent(x, delete = TRUE, ...)
getCalledFunction(obj, ...)
getContext(x, ...)
getDataLayout(from, asRef = FALSE, ...)
getDescription(x, ...)
getElementTypes(x, ...)
getModule(obj, ...)
getNumElements(x, ...)
getParent(x, ...)
getReturnType(obj, ...)
getType(obj, ...)
hasMetadata(x, ...)
hasMetadataOtherThanDebugLoc(x, ...)
isArithmeticShift(x, ...)
isAssociative(x, ...)
isBinaryOp(x, ...)
isCommutative(x, ...)
isLogicalShift(x, ...)
isSafeToSpeculativelyExecute(x, ...)
isShift(x, ...)
isTerminator(x, ...)
mayHaveSideEffects(x, ...)
mayReadFromMemory(x, ...)
mayThrow(x, ...)
mayWriteToMemory(x, ...)
setDataLayout(x, value, ...)

Arguments

x,obj

the object to be queried or whose data layout is to be set. Currently, there are only methods forsetDataLayout for a Module

additional arguments for methods

delete

a logical value indicating whether to not only remove from the parent but also destroy the object

from

the object whose data layout will be set

value

a character string describing the data layout. See the LLVM documentation for the Module class http://llvm.org/docs/LangRef.html#data-layout.

asRef

scalar logical indicating whether we want a reference to the DataLayout object or just a description of it.

References

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