mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-04 09:30:13 +00:00
When a linkonce_odr value that is on the dso list is not unnamed_addr we can still look to see if anything is actually using its address. If not, it is safe to hide it. This patch implements that by moving GlobalStatus to Transforms/Utils and using it in Internalize. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193090 91177308-0d34-0410-b5e6-96231b3b80d8
40 lines
804 B
CMake
40 lines
804 B
CMake
add_llvm_library(LLVMTransformUtils
|
|
BasicBlockUtils.cpp
|
|
BreakCriticalEdges.cpp
|
|
BuildLibCalls.cpp
|
|
BypassSlowDivision.cpp
|
|
CloneFunction.cpp
|
|
CloneModule.cpp
|
|
CmpInstAnalysis.cpp
|
|
CodeExtractor.cpp
|
|
DemoteRegToStack.cpp
|
|
GlobalStatus.cpp
|
|
InlineFunction.cpp
|
|
InstructionNamer.cpp
|
|
IntegerDivision.cpp
|
|
LCSSA.cpp
|
|
Local.cpp
|
|
LoopSimplify.cpp
|
|
LoopUnroll.cpp
|
|
LoopUnrollRuntime.cpp
|
|
LowerExpectIntrinsic.cpp
|
|
LowerInvoke.cpp
|
|
LowerSwitch.cpp
|
|
Mem2Reg.cpp
|
|
MetaRenamer.cpp
|
|
ModuleUtils.cpp
|
|
PromoteMemoryToRegister.cpp
|
|
SSAUpdater.cpp
|
|
SimplifyCFG.cpp
|
|
FlattenCFG.cpp
|
|
SimplifyIndVar.cpp
|
|
SimplifyInstructions.cpp
|
|
SimplifyLibCalls.cpp
|
|
SpecialCaseList.cpp
|
|
UnifyFunctionExitNodes.cpp
|
|
Utils.cpp
|
|
ValueMapper.cpp
|
|
)
|
|
|
|
add_dependencies(LLVMTransformUtils intrinsics_gen)
|