getHostCPUName | R Documentation |
These functions provide information about the machine/architecture and also the data layout for this architecture.
getHostCPUName()
getHostCPUFeatures()
getDataLayoutString()
isLittleEndian(datalayout)
getABITypeAlignment(datalayout, type)
datalayout |
a DataLayout instance |
type |
a Type object |
getHostCPUName
returns a character string.
getHostCPUFeatures
returns a named-logical vector
indicating whether each named feature is available.
getDataLayoutString
gives the information about the
size of the data types on this architecture/machine (possibly virtual).
DTL
getDataLayoutString()
getHostCPUName()
getHostCPUFeatures()
# Get and set the data layout generally and on a Module.
dl = getDataLayoutString()
m = Module()
getDataLayout(m)
setDataLayout(m, dl)
getDataLayout(m)
f = system.file("IR/fib.ll", package = "Rllvm")
fib = Module(f)
getDataLayout(fib)
setDataLayout(fib, getDataLayoutString())
getDataLayout(fib)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.