In-depth explanation of LLVM_Adenialzz’s blog
class=”markdown_views prism-atom-one-dark”> Introduction to LLVM From: https://www.jianshu.com/p/1367dad95445 What is LLVM? The LLVM project is a collection of modular, reusable compiler and toolchain technologies. The American Association for Computing Machinery (ACM) awarded LLVM its 2012 Software System Award. Previously awarded software and technologies include: Java, Apache, Mosaic, the World Wide Web, Smalltalk, UNIX, Eclipse, etc. . Founder: Chris Lattner is also the father of Swift. An interesting fact: Chris Latter originally wanted to write a low-level virtual machine, which is also the origin of the name of LLVM, low level virtual machine, which is the same as Java’s JVM virtual machine, but later, llvm has never been used as a virtual machine. Even the fame of LLVM has spread. So people decided to still call him LLVM, and more often it was used as a “trademark”, but it had nothing to do with virtual machines. The official description is as follows The name “LLVM” itself is not an acronym; it is the full name of the project. Compiler architecture Traditional Compiler Architecture Frontend: front end Lexical analysis, syntax analysis, semantic analysis, intermediate code generation Optimizer: Optimizer intermediate code optimization Backend: Backend Generate machine code LLVM Architecture Different front-end and back-end use…