mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
4293ce2dc3
NOTE: Note that no attributes are derived yet. This patch will not go in alone but only with others that derive attributes. The framework is split for review purposes. This commit introduces the Attributor pass infrastructure and fixpoint iteration framework. Further patches will introduce abstract attributes into this framework. In a nutshell, the Attributor will update instances of abstract arguments until a fixpoint, or a "timeout", is reached. Communication between the Attributor and the abstract attributes that are derived is restricted to the AbstractState and AbstractAttribute interfaces. Please see the file comment in Attributor.h for detailed information including design decisions and typical use case. Also consider the class documentation for Attributor, AbstractState, and AbstractAttribute. Reviewers: chandlerc, homerdin, hfinkel, fedor.sergeev, sanjoy, spatel, nlopes, nicholas, reames Subscribers: mehdi_amini, mgorny, hiraditya, bollu, steven_wu, dexonsmith, dang, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D59918 llvm-svn: 362578
47 lines
949 B
CMake
47 lines
949 B
CMake
add_llvm_library(LLVMipo
|
|
AlwaysInliner.cpp
|
|
ArgumentPromotion.cpp
|
|
Attributor.cpp
|
|
BarrierNoopPass.cpp
|
|
BlockExtractor.cpp
|
|
CalledValuePropagation.cpp
|
|
ConstantMerge.cpp
|
|
CrossDSOCFI.cpp
|
|
DeadArgumentElimination.cpp
|
|
ElimAvailExtern.cpp
|
|
ExtractGV.cpp
|
|
ForceFunctionAttrs.cpp
|
|
FunctionAttrs.cpp
|
|
FunctionImport.cpp
|
|
GlobalDCE.cpp
|
|
GlobalOpt.cpp
|
|
GlobalSplit.cpp
|
|
HotColdSplitting.cpp
|
|
IPConstantPropagation.cpp
|
|
IPO.cpp
|
|
InferFunctionAttrs.cpp
|
|
InlineSimple.cpp
|
|
Inliner.cpp
|
|
Internalize.cpp
|
|
LoopExtractor.cpp
|
|
LowerTypeTests.cpp
|
|
MergeFunctions.cpp
|
|
PartialInlining.cpp
|
|
PassManagerBuilder.cpp
|
|
PruneEH.cpp
|
|
SampleProfile.cpp
|
|
SCCP.cpp
|
|
StripDeadPrototypes.cpp
|
|
StripSymbols.cpp
|
|
SyntheticCountsPropagation.cpp
|
|
ThinLTOBitcodeWriter.cpp
|
|
WholeProgramDevirt.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms
|
|
${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms/IPO
|
|
|
|
DEPENDS
|
|
intrinsics_gen
|
|
)
|