[Modules] Move InstIterator out of the Support library, where it had no
authorChandler Carruth <chandlerc@gmail.com>
Tue, 4 Mar 2014 10:30:26 +0000 (10:30 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 4 Mar 2014 10:30:26 +0000 (10:30 +0000)
commit876ac60880843f37c25ec03e46eb73b8e197e971
treee1198bd7b3fdff09a7adc7af42885d2cefd0dbc1
parent1decd56b8dec415b9d2270d636226b9fdb0b9c25
[Modules] Move InstIterator out of the Support library, where it had no
business.

This header includes Function and BasicBlock and directly uses the
interfaces of both classes. It has to do with the IR, it even has that
in the name. =] Put it in the library it belongs to.

This is one step toward making LLVM's Support library survive a C++
modules bootstrap.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202814 91177308-0d34-0410-b5e6-96231b3b80d8
26 files changed:
include/llvm/Analysis/ConstantsScanner.h
include/llvm/IR/InstIterator.h [new file with mode: 0644]
include/llvm/Support/InstIterator.h [deleted file]
lib/Analysis/AliasAnalysisEvaluator.cpp
lib/Analysis/AliasSetTracker.cpp
lib/Analysis/Delinearization.cpp
lib/Analysis/DependenceAnalysis.cpp
lib/Analysis/IPA/FindUsedTypes.cpp
lib/Analysis/IPA/GlobalsModRef.cpp
lib/Analysis/MemDepPrinter.cpp
lib/Analysis/ScalarEvolution.cpp
lib/IR/Function.cpp
lib/Target/Mips/MipsConstantIslandPass.cpp
lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp
lib/Target/NVPTX/NVPTXSplitBBatBar.cpp
lib/Target/NVPTX/NVPTXUtilities.cpp
lib/Transforms/IPO/FunctionAttrs.cpp
lib/Transforms/Instrumentation/BoundsChecking.cpp
lib/Transforms/Instrumentation/GCOVProfiling.cpp
lib/Transforms/ObjCARC/ObjCARC.h
lib/Transforms/ObjCARC/ObjCARCExpand.cpp
lib/Transforms/Scalar/ADCE.cpp
lib/Transforms/Scalar/ConstantProp.cpp
lib/Transforms/Scalar/DCE.cpp
lib/Transforms/Scalar/SampleProfile.cpp
unittests/Analysis/CFGTest.cpp