mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
31a4111f50
Summary: The class will obviously need improvement down the road. For one, there is no reason that addPHINodes would have to be exposed like that. I will make this and other improvements in follow-up patches. The main goal is to be able to share this functionality. The LoopLoadElimination pass I am working on needs it too. Later we can move other clients as well (LV and Ashutosh's LICMVer). Reviewers: hfinkel, ashutosh.nema Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D10577 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241932 91177308-0d34-0410-b5e6-96231b3b80d8
48 lines
998 B
CMake
48 lines
998 B
CMake
add_llvm_library(LLVMTransformUtils
|
|
ASanStackFrameLayout.cpp
|
|
AddDiscriminators.cpp
|
|
BasicBlockUtils.cpp
|
|
BreakCriticalEdges.cpp
|
|
BuildLibCalls.cpp
|
|
BypassSlowDivision.cpp
|
|
CloneFunction.cpp
|
|
CloneModule.cpp
|
|
CmpInstAnalysis.cpp
|
|
CodeExtractor.cpp
|
|
CtorUtils.cpp
|
|
DemoteRegToStack.cpp
|
|
FlattenCFG.cpp
|
|
GlobalStatus.cpp
|
|
InlineFunction.cpp
|
|
InstructionNamer.cpp
|
|
IntegerDivision.cpp
|
|
LCSSA.cpp
|
|
Local.cpp
|
|
LoopSimplify.cpp
|
|
LoopUnroll.cpp
|
|
LoopUnrollRuntime.cpp
|
|
LoopUtils.cpp
|
|
LoopVersioning.cpp
|
|
LowerInvoke.cpp
|
|
LowerSwitch.cpp
|
|
Mem2Reg.cpp
|
|
MetaRenamer.cpp
|
|
ModuleUtils.cpp
|
|
PromoteMemoryToRegister.cpp
|
|
SSAUpdater.cpp
|
|
SimplifyCFG.cpp
|
|
SimplifyIndVar.cpp
|
|
SimplifyInstructions.cpp
|
|
SimplifyLibCalls.cpp
|
|
SymbolRewriter.cpp
|
|
UnifyFunctionExitNodes.cpp
|
|
Utils.cpp
|
|
ValueMapper.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms
|
|
${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms/Utils
|
|
)
|
|
|
|
add_dependencies(LLVMTransformUtils intrinsics_gen)
|