OSDN Git Service

[TI removal] Remove `TerminatorInst` from GVN.h and GVN.cpp.
authorChandler Carruth <chandlerc@gmail.com>
Mon, 15 Oct 2018 10:00:15 +0000 (10:00 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 15 Oct 2018 10:00:15 +0000 (10:00 +0000)
commitaa517f562fbd28786bcdf69f9e8f365e791fad80
tree701f92bccafa17ead7ac5f2f901b063b7e20a05a
parentfc6649b88c16738a266813e6ce32e022d16a5439
[TI removal] Remove `TerminatorInst` from GVN.h and GVN.cpp.

This is the last interesting usage in all of LLVM's headers. The
remaining usages in headers are the core typesystem bits (Core.h,
instruction types, and InstVisitor) and as the return of
`BasicBlock::getTerminator`. The latter is the big remaining API point
that I'll remove after mass updates to user code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@344501 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Scalar/GVN.h
lib/Transforms/Scalar/GVN.cpp