SlideShare une entreprise Scribd logo
1  sur  4
Optimize Code with
LLVM
What is the main point?

The talk gives a detailed explanation of several new
Build Settings in XCode.
“Relax IEEE Compliance”
“Vectorize Loops”
“Link-Time Optimization”
“Unroll Loops”
“Optimization Level -Ofast”
What could you get out of it?

A C/Assembly level explanation of what the
complier is doing to take advantage of some of
the features of ARM/Intel processors.
It is especially useful if you write code that has
a lot of for-loops (games, scientific applications,
image processing, etc.)
What is the most interesting point?

There were a couple of interesting points which were
briefly mentioned:
The restrict keyword.
Structs of arrays are better than arrays of structs.

Contenu connexe

En vedette

App Idea - Meet your team
App Idea - Meet your teamApp Idea - Meet your team
App Idea - Meet your teamCheah Eng Soon
 
Connecting to a REST API in iOS
Connecting to a REST API in iOSConnecting to a REST API in iOS
Connecting to a REST API in iOSgillygize
 
Communication & public speaking
Communication & public speakingCommunication & public speaking
Communication & public speakingAaron Estacio
 
Azure With Windows Store App Development
Azure With Windows Store App DevelopmentAzure With Windows Store App Development
Azure With Windows Store App DevelopmentCheah Eng Soon
 

En vedette (6)

Categories
CategoriesCategories
Categories
 
App Idea - Meet your team
App Idea - Meet your teamApp Idea - Meet your team
App Idea - Meet your team
 
SQLite with UWP
SQLite with UWPSQLite with UWP
SQLite with UWP
 
Connecting to a REST API in iOS
Connecting to a REST API in iOSConnecting to a REST API in iOS
Connecting to a REST API in iOS
 
Communication & public speaking
Communication & public speakingCommunication & public speaking
Communication & public speaking
 
Azure With Windows Store App Development
Azure With Windows Store App DevelopmentAzure With Windows Store App Development
Azure With Windows Store App Development
 

Optimize llvm

  • 2. What is the main point? The talk gives a detailed explanation of several new Build Settings in XCode. “Relax IEEE Compliance” “Vectorize Loops” “Link-Time Optimization” “Unroll Loops” “Optimization Level -Ofast”
  • 3. What could you get out of it? A C/Assembly level explanation of what the complier is doing to take advantage of some of the features of ARM/Intel processors. It is especially useful if you write code that has a lot of for-loops (games, scientific applications, image processing, etc.)
  • 4. What is the most interesting point? There were a couple of interesting points which were briefly mentioned: The restrict keyword. Structs of arrays are better than arrays of structs.

Notes de l'éditeur

  1. {}