OSDN Git Service

[TI removal] Remove `TerminatorInst` from BasicBlockUtils.h
authorChandler Carruth <chandlerc@gmail.com>
Mon, 15 Oct 2018 09:34:05 +0000 (09:34 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 15 Oct 2018 09:34:05 +0000 (09:34 +0000)
commitce1e09bcf53d60db89215c1800c1a6e2562d5b0b
tree49048720a6d000635360ce5923507e557ff7cdb0
parentf2c212eed34f9b1f4fa601de8c02f31f6bfe3f48
[TI removal] Remove `TerminatorInst` from BasicBlockUtils.h

This requires updating a number of .cpp files to adapt to the new API.
I've just systematically updated all uses of `TerminatorInst` within
these files te `Instruction` so thta I won't have to touch them again in
the future.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@344498 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Utils/BasicBlockUtils.h
lib/Transforms/Instrumentation/AddressSanitizer.cpp
lib/Transforms/Instrumentation/EfficiencySanitizer.cpp
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
lib/Transforms/Scalar/JumpThreading.cpp
lib/Transforms/Utils/BasicBlockUtils.cpp
lib/Transforms/Utils/CallPromotionUtils.cpp
lib/Transforms/Utils/LibCallsShrinkWrap.cpp
lib/Transforms/Utils/LowerMemIntrinsics.cpp