{"product_id":"9781839213502-learn-llvm-12","title":"Learn LLVM 12","description":"\u003cmeta content=\"text\/html; charset=utf-8\" http-equiv=\"Content-Type\"\u003e\u003cp\u003e\u003cspan\u003eA beginner's guide to learning LLVM compiler tools and core libraries with C++. Learn LLVM 12 will show you how to build your own compiler, covering everything from reading the source to emitting optimized machine code. The book also shows you how to take advantage of the Just-in-Time (JIT) compilation framework, extend LLVM in a variety of ways, and apply the right tools to help you spot problems in your own compiler. \u003cp\u003e\u003cb\u003eLearn how to build and use all parts of real-world compilers, including the frontend, optimization pipeline, and a new backend by leveraging the power of LLVM core libraries\u003c\/b\u003e\u003c\/p\u003eKey Features\u003cul\u003e\n\u003cli\u003eGet to grips with effectively using LLVM libraries step-by-step \u003c\/li\u003e\n\u003cli\u003eUnderstand LLVM compiler high-level design and apply the same principles to your own compiler \u003c\/li\u003e\n\u003cli\u003eUse compiler-based tools to improve the quality of code in C++ projects\u003c\/li\u003e\n\u003c\/ul\u003eBook Description\u003cp\u003eLLVM was built to bridge the gap between compiler textbooks and actual compiler development. It provides a modular codebase and advanced tools which help developers to build compilers easily. This book provides a practical introduction to LLVM, gradually helping you navigate through complex scenarios with ease when it comes to building and working with compilers.\u003c\/p\u003e \u003cp\u003eYou'll start by configuring, building, and installing LLVM libraries, tools, and external projects. Next, the book will introduce you to LLVM design and how it works in practice during each LLVM compiler stage: frontend, optimizer, and backend. Using a subset of a real programming language as an example, you will then learn how to develop a frontend and generate LLVM IR, hand it over to the optimization pipeline, and generate machine code from it. Later chapters will show you how to extend LLVM with a new pass and how instruction selection in LLVM works. You'll also focus on Just-in-Time compilation issues and the current state of JIT-compilation support that LLVM provides, before finally going on to understand how to develop a new backend for LLVM.\u003c\/p\u003e \u003cp\u003eBy the end of this LLVM book, you will have gained real-world experience in working with the LLVM compiler development framework with the help of hands-on examples and source code snippets.\u003c\/p\u003eWhat you will learn\u003cul\u003e\n\u003cli\u003eConfigure, compile, and install the LLVM framework\u003c\/li\u003e\n\u003cli\u003eUnderstand how the LLVM source is organized\u003c\/li\u003e\n\u003cli\u003eDiscover what you need to do to use LLVM in your own projects\u003c\/li\u003e\n\u003cli\u003eExplore how a compiler is structured, and implement a tiny compiler\u003c\/li\u003e\n\u003cli\u003eGenerate LLVM IR for common source language constructs\u003c\/li\u003e\n\u003cli\u003eSet up an optimization pipeline and tailor it for your own needs\u003c\/li\u003e\n\u003cli\u003eExtend LLVM with transformation passes and clang tooling\u003c\/li\u003e\n\u003cli\u003eAdd new machine instructions and a complete backend\u003c\/li\u003e\n\u003c\/ul\u003eWho this book is for\u003cp\u003eThis book is for compiler developers, enthusiasts, and engineers who are new to LLVM and are interested in learning about the LLVM framework. It is also useful for C++ software engineers looking to use compiler-based tools for code analysis and improvement, as well as casual users of LLVM libraries who want to gain more knowledge of LLVM essentials. Intermediate-level experience with C++ programming is mandatory to understand the concepts covered in this book more effectively.\u003c\/p\u003e\n\u003cbr\u003e\u003c\/span\u003e\u003c\/p\u003e","brand":"Rarewaves","offers":[{"title":"Default Title","offer_id":41049938034785,"sku":"9781839213502","price":46.11,"currency_code":"GBP","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0092\/7504\/8033\/files\/0c326bfb7467a43d536cfd6911756a01.png?v=1698298436","url":"https:\/\/www.rarewaves.com\/products\/9781839213502-learn-llvm-12","provider":"Rarewaves.com","version":"1.0","type":"link"}