December 2015
Beginner to intermediate
166 pages
3h 8m
English
LLVM's Pass infrastructure is one of the many important features of the LLVM system. There are a number of analysis and optimization passes that can be run using this infrastructure. The starting point for LLVM passes is the Pass class, which is a superclass of all the passes. We need to inherit from some predefined subclasses taking into account what our pass is going to implement.
ModulePass subclass and overloads the runOnModule function.Before going ahead with the discussion ...
Read now
Unlock full access