LLVM Cookbook
eBook - ePub

LLVM Cookbook

Mayur Pandey, Suyog Sarda

Partager le livre
  1. 296 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

LLVM Cookbook

Mayur Pandey, Suyog Sarda

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que LLVM Cookbook est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  LLVM Cookbook par Mayur Pandey, Suyog Sarda en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Informatica et Linguaggi di programmazione. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2015
ISBN
9781785285981

LLVM Cookbook


Table of Contents

LLVM Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it

How it works

There's more

See also
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. LLVM Design and Use
Introduction
Understanding modular design
Getting ready
How to do it...
How it works...
There's more...
See also
Cross-compiling Clang/LLVM
Getting ready
How to do it...
How it works...
Converting a C source code to LLVM assembly
Getting ready
How to do it...
How it works...
See also
Converting IR to LLVM bitcode
Getting Ready
How to do it...
How it works...
There's more...
See also
Converting LLVM bitcode to target machine assembly
Getting ready
How to do it...
How it works...
There's more...
Converting LLVM bitcode back to LLVM assembly
Getting ready
How to do it...
How it works...
Transforming LLVM IR
Getting ready
How to do it...
How it works...
There's more...
Linking LLVM bitcode
Getting ready
How to do it...
How it works...
Executing LLVM bitcode
Getting ready
How to do it...
How it works...
See also
Using the C frontend Clang
Getting ready
How to do it

How it works...
See also
Using the GO frontend
Getting ready
How to do it

How it works

See also
Using DragonEgg
Getting ready
How to do It

See also
2. Steps in Writing a Frontend
Introduction
Defining a TOY language
How to do it

Implementing a lexer
Getting ready
How to do it

How it works

See also
Defining Abstract Syntax Tree
Getting ready
How to do it

How it works

See also
Implementing a parser
Getting ready
How to do it

How it works

See also
Parsing simple expressions
Getting ready
How to do it

How it works

Parsing binary expressions
Getting ready
How to do it

See also
Invoking a driver for parsing
How to do it

How it works

See also
Running lexer and parser on our TOY language
Getting ready
How to do it

How it works

See also
Defining IR code generation methods for each AST class
Getting ready
How to do it

How it works

Generating IR code for expressions
How to do it

See also
Generating IR code for functions
How to do it

How it works

See also
Adding IR optimization support
How to do it

See also
3. Extending the Frontend and Adding JIT Support
Introduction
Handling decision making paradigms – if/then/else constructs
Getting ready
How to do it...
How it works

See also
Generating code for loops
Getting ready
How to do it...
How it works...
See also
Handling user-defined operators – binary operators
Getting ready
How to do it...
How it works...
See also
Handling user-defined operators – unary operators
Getting ready
How to do it...
How it works...
See also
Adding JIT support
How to do it...
How it works

4. Preparing Optimizations
Introduction
Various levels of optimization
Getting ready...
How to do it

How it works

See Also
Writing your own LLVM pass
Getting ready
How to do it

How it works
See also
Running your own pass with the opt tool
How to do it

How it works

See also
Using another pass in a new pass
Getting ready
How to do it

How it works

There's more

Registering a pass with pass manager
Getting ready
How to do it

How it works

See Also
Writing an analysis pass
Getting ready
How to do it

How it works

Writing an alias analysis pass
Getting ready
How to do it...
How it works

See also
Using other analysis passes
Getting ready

How to do it

How it works

See also
5. Implementing Optimizations
Introduction
Writing a dead code elimination pass
Getting ready
How to do it

How it works

See also
Writing an inlining transformation pass
Getting ready
How to do it

How it works...
Writing a pass for memory optimization
Getting ready
How to do it

How it works

See also
Combining LLVM IR
Getting started
How to do it

How it works

See also
Transforming and optimizing loops
Getting ready
How to do it

How it works

Reassociating expressions
Getting Ready
How to do it

How it works 

Vectorizing IR
Getting ready
How to do it...
How it works

See also

Other optimization passes
Getting ready

How to do it

How it works

See also
6. Target-independent Code Generator
Introduction
The life of an LLVM IR instruction
C Code to LLVM IR
IR optimization
LLVM IR to SelectionDAG
SelectionDAG legalization
Conversion from target-independent DAG to machine DAG
Scheduling instructions
Register allocation
Code emission
Visualizing LLVM IR CFG using GraphViz
Getting ready
How to do it

See also
Describing targets using TableGen
Getting ready
How to do it
How it works
See also
Defining an instruction set
Getting ready
How to do it

How it works

See also
A...

Table des matiĂšres