[PM] Replace the Pass argument to SplitEdge with specific analyses used
authorChandler Carruth <chandlerc@gmail.com>
Mon, 19 Jan 2015 12:36:53 +0000 (12:36 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 19 Jan 2015 12:36:53 +0000 (12:36 +0000)
commit10b853882cb337fd5d1efe03e2f7abc1133ed88e
tree5367955bdb25b73a057d97aa18ed7b0b20bbc14f
parentadf74a6403f357b5cf244ee97d5c999cfa9eb459
[PM] Replace the Pass argument to SplitEdge with specific analyses used
and updated.

This may appear to remove handling for things like alias analysis when
splitting critical edges here, but in fact no callers of SplitEdge
relied on this. Similarly, all of them wanted to preserve LCSSA if there
was any update of the loop info. That makes the interface much simpler.

With this, all of BasicBlockUtils.h is free of Pass arguments and
prepared for the new pass manager. This is tho majority of utilities
that relied on pass arguments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226459 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Utils/BasicBlockUtils.h
lib/Target/XCore/XCoreLowerThreadLocal.cpp
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
lib/Transforms/Scalar/JumpThreading.cpp
lib/Transforms/Scalar/LoopUnswitch.cpp
lib/Transforms/Utils/BasicBlockUtils.cpp
lib/Transforms/Utils/LoopUnrollRuntime.cpp