gives a string of textual LLVM code obtained by compiling the function func.
gives a string of textual code in the specified format.
Details and Options
- Possible values for "format" include:
"LLVM" LLVM intermediate code "Assembler" assembler for a specific architecture
- The following options can be given:
CompilerOptions Automatic detailed options for the compilation pipeline TargetSystem Automatic $SystemID for the target architecture
- With the setting TargetSystem->Automatic, FunctionCompileExportString will generate code for the machine architecture on which it is being run, including, for example, taking account of word length.
- In FunctionCompileExportString[func,…], func can be a CompiledCodeFunction object.
Introduced in 2019