[all-commits] [llvm/llvm-project] 5dd566: PassManager.h - remove unnecessary Function.h/Modu...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Jul 24 04:53:00 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5dd566b7c7b78bd385418c72d63c79895be9ae97
      https://github.com/llvm/llvm-project/commit/5dd566b7c7b78bd385418c72d63c79895be9ae97
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-07-24 (Fri, 24 Jul 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/DemandedBits.h
    M llvm/include/llvm/Analysis/DominanceFrontier.h
    M llvm/include/llvm/Analysis/LazyValueInfo.h
    M llvm/include/llvm/Analysis/OptimizationRemarkEmitter.h
    M llvm/include/llvm/Analysis/ScalarEvolution.h
    M llvm/include/llvm/IR/PassManager.h
    M llvm/include/llvm/Transforms/IPO/HotColdSplitting.h
    M llvm/include/llvm/Transforms/Scalar/AlignmentFromAssumptions.h
    M llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h
    M llvm/include/llvm/Transforms/Scalar/Reassociate.h
    M llvm/include/llvm/Transforms/Utils/Debugify.h
    M llvm/include/llvm/Transforms/Vectorize/LoopVectorize.h
    M llvm/lib/Analysis/CallPrinter.cpp
    M llvm/lib/Analysis/LoopPass.cpp
    M llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
    M llvm/lib/CodeGen/AsmPrinter/WinCFGuard.cpp
    M llvm/lib/CodeGen/CFGuardLongjmp.cpp
    M llvm/lib/CodeGen/MachineSizeOpts.cpp
    M llvm/lib/CodeGen/RegAllocBase.cpp
    M llvm/lib/CodeGen/WinEHPrepare.cpp
    M llvm/lib/IR/PassManager.cpp
    M llvm/lib/Linker/IRMover.cpp
    M llvm/lib/Target/BPF/BTFDebug.cpp
    M llvm/lib/Target/TargetMachine.cpp
    M llvm/lib/Transforms/Instrumentation/CGProfile.cpp
    M llvm/lib/Transforms/Scalar/ConstantHoisting.cpp
    M llvm/lib/Transforms/Scalar/StructurizeCFG.cpp
    M llvm/lib/Transforms/Utils/Debugify.cpp
    M llvm/lib/Transforms/Utils/DemoteRegToStack.cpp
    M llvm/lib/Transforms/Utils/LowerSwitch.cpp
    M llvm/unittests/Analysis/AssumeBundleQueriesTest.cpp
    M llvm/unittests/Transforms/Utils/BasicBlockUtilsTest.cpp

  Log Message:
  -----------
  PassManager.h - remove unnecessary Function.h/Module.h includes. NFCI.

PassManager.h is one of the top headers in the ClangBuildAnalyzer frontend worst offenders list.

This exposes a large number of implicit dependencies on various forward declarations/includes in other headers that need addressing.




More information about the All-commits mailing list