2019-08-09 00:16:33 +02:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
|
|
AllTargetsAsmParsers
|
|
|
|
AllTargetsCodeGens
|
|
|
|
AllTargetsDescs
|
|
|
|
AllTargetsInfos
|
2019-08-09 01:00:28 +02:00
|
|
|
Core
|
2019-08-09 00:16:33 +02:00
|
|
|
IRReader
|
|
|
|
Support
|
|
|
|
Target
|
|
|
|
TransformUtils
|
|
|
|
)
|
|
|
|
|
|
|
|
add_llvm_tool(llvm-reduce
|
|
|
|
TestRunner.cpp
|
|
|
|
deltas/Delta.cpp
|
2020-10-28 14:06:42 +01:00
|
|
|
deltas/ReduceAliases.cpp
|
2020-02-05 20:15:11 +01:00
|
|
|
deltas/ReduceArguments.cpp
|
[llvm-reduce] Reducing attributes
Summary:
This handles all three places where attributes could currently be - `GlobalVariable`, `Function` and `CallBase`.
For last two, it correctly handles all three possible attribute locations (return value, arguments and function itself)
There was a previous attempt at it D73853,
which was committed in rGfc62b36a000681c01e993242b583c5ec4ab48a3c,
but then reverted all the way back in rGb12176d2aafa0ccb2585aa218fc3b454ba84f2a9
due to some (osx?) test failures.
Reviewers: nickdesaulniers, dblaikie, diegotf, george.burgess.iv, jdoerfert, Tyker, arsenm
Reviewed By: nickdesaulniers
Subscribers: wdng, MaskRay, arsenm, llvm-commits, mgorny
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D83351
2020-07-09 22:06:59 +02:00
|
|
|
deltas/ReduceAttributes.cpp
|
2020-02-05 20:15:11 +01:00
|
|
|
deltas/ReduceBasicBlocks.cpp
|
2020-07-25 20:43:36 +02:00
|
|
|
deltas/ReduceFunctionBodies.cpp
|
2020-07-07 00:16:37 +02:00
|
|
|
deltas/ReduceFunctions.cpp
|
2021-01-02 17:56:27 +01:00
|
|
|
deltas/ReduceGlobalVarInitializers.cpp
|
2020-07-07 00:16:37 +02:00
|
|
|
deltas/ReduceGlobalVars.cpp
|
2020-02-05 20:15:11 +01:00
|
|
|
deltas/ReduceInstructions.cpp
|
2020-07-07 00:16:37 +02:00
|
|
|
deltas/ReduceMetadata.cpp
|
|
|
|
deltas/ReduceOperandBundles.cpp
|
2020-11-10 20:44:18 +01:00
|
|
|
deltas/ReduceSpecialGlobals.cpp
|
2020-07-07 00:16:37 +02:00
|
|
|
llvm-reduce.cpp
|
2019-08-09 00:16:33 +02:00
|
|
|
|
|
|
|
DEPENDS
|
|
|
|
intrinsics_gen
|
|
|
|
)
|