targetLibraryInfo | R Documentation |
These functions help us deal with different targets.
targetLibraryInfo(triple)
setTargetTriple(m, str)
getTargetTriple(m)
lookupTarget(triple, arch = character())
getDefaultTargetTriple()
triple , str |
the triple string describing the target information |
m |
module object on which to get/set the triple |
arch |
a string identifying the architecture of the target, e.g. |
Duncan Temple Lang
LLVM Documentation
tri = getDefaultTargetTriple()
print(tri)
m = Module()
setTargetTriple(m, tri)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.