Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / tools / llvm-reduce / CMakeLists.txt
blob43753768d89cbc821ae6beed95a0427e06ab0d5a
1 set(LLVM_LINK_COMPONENTS
2   AllTargetsAsmParsers
3   AllTargetsCodeGens
4   AllTargetsDescs
5   AllTargetsInfos
6   Analysis
7   BitReader
8   BitWriter
9   CodeGen
10   CodeGenTypes
11   Core
12   IPO
13   IRReader
14   MC
15   MIRParser
16   Passes
17   Support
18   Target
19   TargetParser
20   TransformUtils
21   )
23 add_llvm_tool(llvm-reduce
24   DeltaManager.cpp
25   ReducerWorkItem.cpp
26   TestRunner.cpp
27   deltas/Delta.cpp
28   deltas/Utils.cpp
29   deltas/ReduceAliases.cpp
30   deltas/ReduceArguments.cpp
31   deltas/ReduceAttributes.cpp
32   deltas/ReduceBasicBlocks.cpp
33   deltas/ReduceDIMetadata.cpp
34   deltas/ReduceFunctionBodies.cpp
35   deltas/ReduceFunctions.cpp
36   deltas/ReduceGlobalObjects.cpp
37   deltas/ReduceGlobalValues.cpp
38   deltas/ReduceGlobalVarInitializers.cpp
39   deltas/ReduceGlobalVars.cpp
40   deltas/ReduceInstructions.cpp
41   deltas/ReduceInstructionFlags.cpp
42   deltas/ReduceInvokes.cpp
43   deltas/ReduceMetadata.cpp
44   deltas/ReduceModuleData.cpp
45   deltas/ReduceMemoryOperations.cpp
46   deltas/ReduceOperandBundles.cpp
47   deltas/ReduceOpcodes.cpp
48   deltas/ReduceSpecialGlobals.cpp
49   deltas/ReduceOperands.cpp
50   deltas/ReduceOperandsSkip.cpp
51   deltas/ReduceOperandsToArgs.cpp
52   deltas/ReduceInstructionsMIR.cpp
53   deltas/ReduceInstructionFlagsMIR.cpp
54   deltas/ReduceIRReferences.cpp
55   deltas/ReduceVirtualRegisters.cpp
56   deltas/ReduceRegisterMasks.cpp
57   deltas/ReduceRegisterDefs.cpp
58   deltas/ReduceRegisterUses.cpp
59   deltas/ReduceUsingSimplifyCFG.cpp
60   deltas/RunIRPasses.cpp
61   deltas/SimplifyInstructions.cpp
62   deltas/StripDebugInfo.cpp
63   llvm-reduce.cpp
65   DEPENDS
66   intrinsics_gen
67   )