GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • WOLFRAM
  • Products
  • Wolfram|One
  • Mathematica
  • System Modeler
  • Wolfram|Alpha
  • AI Access
  • Compute Services
  • Consulting & Solutions
  • Wolfram Consulting
  • Solutions for Education
  • Learning & Support
  • Wolfram U Courses
  • Wolfram Language Resources

This view

  • Original page
  • New address

GeezerVison is showing www.wolfram.com — Create LLVM Code: New in Wolfram Language 12

‹›
Code CompilationAll Latest Features

Create LLVM Code

The Wolfram Compiler can generate output in a variety of native machine code formats. The LLVM Compiler Infrastructure defines a standard intermediate representation, commonly referred to as LLVM IR.

Define a simple function to square its argument.

The default format used by FunctionCompileExportString is LLVM IR.

Using a file with extension ".ll" in FunctionCompileExport produces LLVM IR output.

Print the first few lines of the file.

Related Examples

Accelerate Mandelbrot Set Computation
Compute the Date of Easter
Implement Quicksort
Visualize the Game of Life
Compile a Recursive Function
Call Compiled Code from Compiled Code
Use File Operations in Compiled Code
Use Plotting Operations in Compiled Code
Create Native Machine Code
Create LLVM Code
Create a Shared Library
Create Machine Code for Exotic Architectures
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.