Skip to content
  • Andrew Trick's avatar
    Codegen pass definition cleanup. No functionality. · 1fa5bcbe
    Andrew Trick authored
    Moving toward a uniform style of pass definition to allow easier target configuration.
    Globally declare Pass ID.
    Globally declare pass initializer.
    Use INITIALIZE_PASS consistently.
    Add a call to the initializer from CodeGen.cpp.
    Remove redundant "createPass" functions and "getPassName" methods.
    
    While cleaning up declarations, cleaned up comments (sorry for large diff).
    
    llvm-svn: 150100
    1fa5bcbe
Loading