August 2014
Beginner to intermediate
314 pages
7h 57m
English
The backend implementation is scattered among different directories in the LLVM source tree. The main libraries behind code generation are found in the lib directory and its subfolders CodeGen, MC, TableGen, and Target:
CodeGen directory contains implementation files and headers for all generic code generation algorithms: instruction selection, scheduler, register allocation, and all analyses needed for them.MC directory holds the implementation of low-level functionality for the assembler (assembly parser), relaxation algorithm (disassembler), and specific object file idioms such as ELF, COFF, MachO, and so on.TableGen directory holds the complete implementation of the TableGen tool, which is used ...Read now
Unlock full access