[cleanup] Move the Dominators.h and Verifier.h headers into the IR

Press ? to show keyboard shortcuts.
Committed
chandlercJan 13 2014, 1:26 AM
Parents
rL199081: [cleanup] Add a missing include exposed by resorting other includes.
Branches
Unknown
Tags
Unknown
Description

[cleanup] Move the Dominators.h and Verifier.h headers into the IR
directory. These passes are already defined in the IR library, and it
doesn't make any sense to have the headers in Analysis.

Long term, I think there is going to be a much better way to divide
these matters. The dominators code should be fully separated into the
abstract graph algorithm and have that put in Support where it becomes
obvious that evn Clang's CFGBlock's can use it. Then the verifier can
manually construct dominance information from the Support-driven
interface while the Analysis library can provide a pass which both
caches, reconstructs, and supports a nice update API.

But those are very long term, and so I don't want to leave the really
confusing structure until that day arrives.

Changes (94)

HistoryBrowseChangePath
HistoryBrowseModifiedllvm/trunk/include/llvm/Analysis/DominanceFrontier.h
HistoryBrowseMoved Awayllvm/trunk/include/llvm/Analysis/DominatorInternals.h
HistoryBrowseMoved Awayllvm/trunk/include/llvm/Analysis/Dominators.h
HistoryBrowseModifiedllvm/trunk/include/llvm/Analysis/LoopInfoImpl.h
HistoryBrowseModifiedllvm/trunk/include/llvm/Analysis/PostDominators.h
HistoryBrowseMoved Awayllvm/trunk/include/llvm/Analysis/Verifier.h
HistoryBrowseModifiedllvm/trunk/include/llvm/CodeGen/MachineDominators.h
HistoryBrowseModifiedllvm/trunk/include/llvm/CodeGen/MachinePostDominators.h
HistoryBrowseModifiedllvm/trunk/include/llvm/CodeGen/StackProtector.h
HistoryBrowseMoved Herellvm/trunk/include/llvm/IR/DominatorInternals.h
HistoryBrowseMoved Herellvm/trunk/include/llvm/IR/Dominators.h
HistoryBrowseMoved Herellvm/trunk/include/llvm/IR/Verifier.h
HistoryBrowseModifiedllvm/trunk/include/llvm/LinkAllIR.h
HistoryBrowseModifiedllvm/trunk/lib/Analysis/AliasAnalysis.cpp
HistoryBrowseModifiedllvm/trunk/lib/Analysis/Analysis.cpp
HistoryBrowseModifiedllvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
HistoryBrowseModifiedllvm/trunk/lib/Analysis/CFG.cpp
HistoryBrowseModifiedllvm/trunk/lib/Analysis/IVUsers.cpp
HistoryBrowseModifiedllvm/trunk/lib/Analysis/InstructionSimplify.cpp
HistoryBrowseModifiedllvm/trunk/lib/Analysis/Lint.cpp
HistoryBrowseModifiedllvm/trunk/lib/Analysis/LoopInfo.cpp
HistoryBrowseModifiedllvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp
HistoryBrowseModifiedllvm/trunk/lib/Analysis/PHITransAddr.cpp
HistoryBrowseModifiedllvm/trunk/lib/Analysis/PostDominators.cpp
HistoryBrowseModifiedllvm/trunk/lib/Analysis/ScalarEvolution.cpp
HistoryBrowseModifiedllvm/trunk/lib/Analysis/ScalarEvolutionExpander.cpp
HistoryBrowseModifiedllvm/trunk/lib/Analysis/ScalarEvolutionNormalization.cpp
HistoryBrowseModifiedllvm/trunk/lib/CodeGen/DwarfEHPrepare.cpp
HistoryBrowseModifiedllvm/trunk/lib/CodeGen/GCStrategy.cpp
HistoryBrowseModifiedllvm/trunk/lib/CodeGen/Passes.cpp
HistoryBrowseModifiedllvm/trunk/lib/CodeGen/StackColoring.cpp
HistoryBrowseModifiedllvm/trunk/lib/CodeGen/UnreachableBlockElim.cpp
HistoryBrowseModifiedllvm/trunk/lib/IR/Dominators.cpp
HistoryBrowseModifiedllvm/trunk/lib/IR/Verifier.cpp
HistoryBrowseModifiedllvm/trunk/lib/LTO/LTOCodeGenerator.cpp
HistoryBrowseModifiedllvm/trunk/lib/Target/NVPTX/NVPTXTargetMachine.cpp
HistoryBrowseModifiedllvm/trunk/lib/Target/PowerPC/PPCCTRLoops.cpp
HistoryBrowseModifiedllvm/trunk/lib/Target/R600/AMDGPUTargetMachine.cpp
HistoryBrowseModifiedllvm/trunk/lib/Target/R600/AMDILCFGStructurizer.cpp
HistoryBrowseModifiedllvm/trunk/lib/Target/R600/SIAnnotateControlFlow.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/IPO/LoopExtractor.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/IPO/PartialInlining.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/ObjCARC/ObjCARCContract.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Scalar/CodeGenPrepare.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Scalar/DeadStoreElimination.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Scalar/EarlyCSE.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Scalar/GVN.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Scalar/LICM.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Scalar/LoopDeletion.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Scalar/LoopInstSimplify.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Scalar/LoopRerollPass.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Scalar/LoopRotation.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Scalar/LoopUnrollPass.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Scalar/MemCpyOptimizer.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Scalar/SROA.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Scalar/SampleProfile.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Scalar/Scalar.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Scalar/Sink.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Utils/BasicBlockUtils.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Utils/BreakCriticalEdges.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Utils/CodeExtractor.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Utils/LCSSA.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Utils/Local.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Utils/LoopSimplify.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Utils/LoopUnroll.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Utils/Mem2Reg.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Utils/SimplifyIndVar.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Utils/SimplifyInstructions.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Vectorize/BBVectorize.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Vectorize/Vectorize.cpp
HistoryBrowseModifiedllvm/trunk/tools/bugpoint/CrashDebugger.cpp
HistoryBrowseModifiedllvm/trunk/tools/bugpoint/ExtractFunction.cpp
HistoryBrowseModifiedllvm/trunk/tools/bugpoint/Miscompilation.cpp
HistoryBrowseModifiedllvm/trunk/tools/bugpoint/OptimizerDriver.cpp
HistoryBrowseModifiedllvm/trunk/tools/llvm-as/llvm-as.cpp
HistoryBrowseModifiedllvm/trunk/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
HistoryBrowseModifiedllvm/trunk/tools/llvm-link/llvm-link.cpp
HistoryBrowseModifiedllvm/trunk/tools/llvm-stress/llvm-stress.cpp
HistoryBrowseModifiedllvm/trunk/tools/opt/GraphPrinters.cpp
HistoryBrowseModifiedllvm/trunk/tools/opt/opt.cpp
HistoryBrowseModifiedllvm/trunk/unittests/Analysis/CFGTest.cpp
HistoryBrowseModifiedllvm/trunk/unittests/Bitcode/BitReaderTest.cpp
HistoryBrowseModifiedllvm/trunk/unittests/IR/DominatorTreeTest.cpp
HistoryBrowseModifiedllvm/trunk/unittests/IR/LegacyPassManagerTest.cpp
HistoryBrowseModifiedllvm/trunk/unittests/IR/VerifierTest.cpp

rL199082

llvm/trunk/include/llvm/Analysis/DominanceFrontier.h

Loading...

llvm/trunk/include/llvm/Analysis/DominatorInternals.h

Loading...

llvm/trunk/include/llvm/Analysis/Dominators.h

Loading...

llvm/trunk/include/llvm/Analysis/LoopInfoImpl.h

Loading...

llvm/trunk/include/llvm/Analysis/PostDominators.h

Loading...

llvm/trunk/include/llvm/Analysis/Verifier.h

Loading...

llvm/trunk/include/llvm/CodeGen/MachineDominators.h

Loading...

llvm/trunk/include/llvm/CodeGen/MachinePostDominators.h

Loading...

llvm/trunk/include/llvm/CodeGen/StackProtector.h

Loading...

llvm/trunk/include/llvm/IR/DominatorInternals.h

Loading...

llvm/trunk/include/llvm/IR/Dominators.h

Loading...

llvm/trunk/include/llvm/IR/Verifier.h

Loading...

llvm/trunk/include/llvm/LinkAllIR.h

Loading...

llvm/trunk/lib/Analysis/AliasAnalysis.cpp

Loading...

llvm/trunk/lib/Analysis/Analysis.cpp

Loading...

llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp

Loading...

llvm/trunk/lib/Analysis/CFG.cpp

Loading...

llvm/trunk/lib/Analysis/IVUsers.cpp

Loading...

llvm/trunk/lib/Analysis/InstructionSimplify.cpp

Loading...

llvm/trunk/lib/Analysis/Lint.cpp

Loading...

llvm/trunk/lib/Analysis/LoopInfo.cpp

Loading...

llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp

Loading...

llvm/trunk/lib/Analysis/PHITransAddr.cpp

Loading...

llvm/trunk/lib/Analysis/PostDominators.cpp

Loading...

llvm/trunk/lib/Analysis/ScalarEvolution.cpp

Loading...

llvm/trunk/lib/Analysis/ScalarEvolutionExpander.cpp

Loading...

llvm/trunk/lib/Analysis/ScalarEvolutionNormalization.cpp

Loading...

llvm/trunk/lib/CodeGen/DwarfEHPrepare.cpp

Loading...

llvm/trunk/lib/CodeGen/GCStrategy.cpp

Loading...

llvm/trunk/lib/CodeGen/Passes.cpp

Loading...

llvm/trunk/lib/CodeGen/StackColoring.cpp

Loading...

llvm/trunk/lib/CodeGen/UnreachableBlockElim.cpp

Loading...

llvm/trunk/lib/IR/Dominators.cpp

Loading...

llvm/trunk/lib/IR/Verifier.cpp

Loading...

llvm/trunk/lib/LTO/LTOCodeGenerator.cpp

Loading...

llvm/trunk/lib/Target/NVPTX/NVPTXTargetMachine.cpp

Loading...

llvm/trunk/lib/Target/PowerPC/PPCCTRLoops.cpp

Loading...

llvm/trunk/lib/Target/R600/AMDGPUTargetMachine.cpp

Loading...

llvm/trunk/lib/Target/R600/AMDILCFGStructurizer.cpp

Loading...

llvm/trunk/lib/Target/R600/SIAnnotateControlFlow.cpp

Loading...

llvm/trunk/lib/Transforms/IPO/LoopExtractor.cpp

Loading...

llvm/trunk/lib/Transforms/IPO/PartialInlining.cpp

Loading...

llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp

Loading...

llvm/trunk/lib/Transforms/ObjCARC/ObjCARCContract.cpp

Loading...

llvm/trunk/lib/Transforms/Scalar/CodeGenPrepare.cpp

Loading...

llvm/trunk/lib/Transforms/Scalar/DeadStoreElimination.cpp

Loading...

llvm/trunk/lib/Transforms/Scalar/EarlyCSE.cpp

Loading...

llvm/trunk/lib/Transforms/Scalar/GVN.cpp

Loading...

llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp

Loading...

llvm/trunk/lib/Transforms/Scalar/LICM.cpp

Loading...

llvm/trunk/lib/Transforms/Scalar/LoopDeletion.cpp

Loading...

llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp

Loading...

llvm/trunk/lib/Transforms/Scalar/LoopInstSimplify.cpp

Loading...

llvm/trunk/lib/Transforms/Scalar/LoopRerollPass.cpp

Loading...

llvm/trunk/lib/Transforms/Scalar/LoopRotation.cpp

Loading...

llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp

Loading...

llvm/trunk/lib/Transforms/Scalar/LoopUnrollPass.cpp

Loading...

llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp

Loading...

llvm/trunk/lib/Transforms/Scalar/MemCpyOptimizer.cpp

Loading...

llvm/trunk/lib/Transforms/Scalar/SROA.cpp

Loading...

llvm/trunk/lib/Transforms/Scalar/SampleProfile.cpp

Loading...

llvm/trunk/lib/Transforms/Scalar/Scalar.cpp

Loading...

llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp

Loading...

llvm/trunk/lib/Transforms/Scalar/Sink.cpp

Loading...

llvm/trunk/lib/Transforms/Utils/BasicBlockUtils.cpp

Loading...

llvm/trunk/lib/Transforms/Utils/BreakCriticalEdges.cpp

Loading...

llvm/trunk/lib/Transforms/Utils/CodeExtractor.cpp

Loading...

llvm/trunk/lib/Transforms/Utils/LCSSA.cpp

Loading...

llvm/trunk/lib/Transforms/Utils/Local.cpp

Loading...

llvm/trunk/lib/Transforms/Utils/LoopSimplify.cpp

Loading...

llvm/trunk/lib/Transforms/Utils/LoopUnroll.cpp

Loading...

llvm/trunk/lib/Transforms/Utils/Mem2Reg.cpp

Loading...

llvm/trunk/lib/Transforms/Utils/PromoteMemoryToRegister.cpp

Loading...

llvm/trunk/lib/Transforms/Utils/SimplifyIndVar.cpp

Loading...

llvm/trunk/lib/Transforms/Utils/SimplifyInstructions.cpp

Loading...

llvm/trunk/lib/Transforms/Vectorize/BBVectorize.cpp

Loading...

llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp

Loading...

llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp

Loading...

llvm/trunk/lib/Transforms/Vectorize/Vectorize.cpp

Loading...

llvm/trunk/tools/bugpoint/CrashDebugger.cpp

Loading...

llvm/trunk/tools/bugpoint/ExtractFunction.cpp

Loading...

llvm/trunk/tools/bugpoint/Miscompilation.cpp

Loading...

llvm/trunk/tools/bugpoint/OptimizerDriver.cpp

Loading...

llvm/trunk/tools/llvm-as/llvm-as.cpp

Loading...

llvm/trunk/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp

Loading...

llvm/trunk/tools/llvm-link/llvm-link.cpp

Loading...

llvm/trunk/tools/llvm-stress/llvm-stress.cpp

Loading...

llvm/trunk/tools/opt/GraphPrinters.cpp

Loading...

llvm/trunk/tools/opt/opt.cpp

Loading...

llvm/trunk/unittests/Analysis/CFGTest.cpp

Loading...

llvm/trunk/unittests/Bitcode/BitReaderTest.cpp

Loading...

llvm/trunk/unittests/IR/DominatorTreeTest.cpp

Loading...

llvm/trunk/unittests/IR/LegacyPassManagerTest.cpp

Loading...

llvm/trunk/unittests/IR/VerifierTest.cpp

Loading...

Add Comment