Move the InstVisitor utility into VMCore where it belongs. It heavily
authorChandler Carruth <chandlerc@gmail.com>
Fri, 30 Nov 2012 03:08:41 +0000 (03:08 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 30 Nov 2012 03:08:41 +0000 (03:08 +0000)
commit84bcf93e0fd225de2217d1b712c01586a633a6d8
tree0d1476093103318968ab33033c17a71180e7a503
parent40eef5fe361d8c528f764f66e311359d0da4d5b2
Move the InstVisitor utility into VMCore where it belongs. It heavily
depends on the IR infrastructure, there is no sense in it being off in
Support land.

This is in preparation to start working to expand InstVisitor into more
special-purpose visitors that are still generic and can be re-used
across different passes. The expansion will go into the Analylis tree
though as nothing in VMCore needs it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168972 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
include/llvm/Analysis/MemoryBuiltins.h
include/llvm/InstVisitor.h [new file with mode: 0644]
include/llvm/Support/InstVisitor.h [deleted file]
lib/Analysis/InlineCost.cpp
lib/Analysis/InstCount.cpp
lib/Analysis/Lint.cpp
lib/ExecutionEngine/Interpreter/Interpreter.h
lib/Transforms/InstCombine/InstCombine.h
lib/Transforms/Instrumentation/MemorySanitizer.cpp
lib/Transforms/Scalar/SCCP.cpp
lib/Transforms/Scalar/SROA.cpp
lib/VMCore/Verifier.cpp
tools/bugpoint-passes/TestPasses.cpp