LLVM Retargeting Tutorial : Building a backend in 24 hours (2009) Tutorial : Building a backend in 24 hours (2012) Understanding SelectionDAG construction CodeGen Overview and Focus on SelectionDAGs Resources LLVM Developers' Meeting Useful Post in llvm-dev list Data layout and Optimization CodeGen instructions and patterns Pattern matching in a SelectionDAG Conceptual difference between "Unallocatable" and "Reserved" registers. Technical Libraries. STLPort: A port of the original STL to many platforms. Derived from the SGI implementation. Memo llvm/lib/Target/ISDOpcodes.h. The target-independent operators for a SelectionDAG are defined here.