[PATCH] D12075: [PM/AA] Remove the last relics of the separate IPA library from LLVM, folding the code into the main Analysis library.

Chandler Carruth via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 17 02:20:23 PDT 2015


chandlerc created this revision.
chandlerc added a subscriber: llvm-commits.

There already wasn't much of a distinction between Analysis and IPA.
A number of the passes in Analysis are actually IPA passes, and there
doesn't seem to be any advantage to separating them.

Moreover, it makes it hard to have interactions between analyses that
are both local and interprocedural. In trying to make the Alias Analysis
infrastructure work with the new pass manager, it becomes particularly
awkward to navigate this split.

I've tried to find all the places where we referenced this, but I may
have missed some. I have also adjusted the C API to continue to be
equivalently functional after this change.

http://reviews.llvm.org/D12075

Files:
  bindings/python/llvm/core.py
  include/llvm/InitializePasses.h
  lib/Analysis/Analysis.cpp
  lib/Analysis/CMakeLists.txt
  lib/Analysis/CallGraph.cpp
  lib/Analysis/CallGraphSCCPass.cpp
  lib/Analysis/CallPrinter.cpp
  lib/Analysis/GlobalsModRef.cpp
  lib/Analysis/IPA/CMakeLists.txt
  lib/Analysis/IPA/CallGraph.cpp
  lib/Analysis/IPA/CallGraphSCCPass.cpp
  lib/Analysis/IPA/CallPrinter.cpp
  lib/Analysis/IPA/GlobalsModRef.cpp
  lib/Analysis/IPA/IPA.cpp
  lib/Analysis/IPA/InlineCost.cpp
  lib/Analysis/IPA/LLVMBuild.txt
  lib/Analysis/IPA/Makefile
  lib/Analysis/InlineCost.cpp
  lib/Analysis/LLVMBuild.txt
  lib/Analysis/Makefile
  lib/LTO/LLVMBuild.txt
  lib/Passes/LLVMBuild.txt
  lib/Transforms/IPO/LLVMBuild.txt
  lib/Transforms/Utils/LLVMBuild.txt
  tools/bugpoint/CMakeLists.txt
  tools/bugpoint/bugpoint.cpp
  tools/llvm-shlib/CMakeLists.txt
  tools/llvm-stress/CMakeLists.txt
  tools/opt/CMakeLists.txt
  tools/opt/opt.cpp
  unittests/Analysis/CMakeLists.txt
  unittests/Analysis/Makefile
  unittests/IR/CMakeLists.txt
  unittests/IR/Makefile

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12075.32276.patch
Type: text/x-patch
Size: 140848 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150817/b7c85113/attachment-0001.bin>


More information about the llvm-commits mailing list