mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	This patch implements the new LibCallSimplifier class as outlined in [1]. In addition to providing the new base library simplification infrastructure, all the fortified library call simplifications were moved over to the new infrastructure. The rest of the library simplification optimizations will be moved over with follow up patches. NOTE: The original fortified library call simplifier located in the SimplifyFortifiedLibCalls class was not removed because it is still used by CodeGenPrepare. This class will eventually go away too. [1] http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-August/052283.html git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165873 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			38 lines
		
	
	
		
			768 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			768 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| add_llvm_library(LLVMTransformUtils
 | |
|   AddrModeMatcher.cpp
 | |
|   BasicBlockUtils.cpp
 | |
|   BreakCriticalEdges.cpp
 | |
|   BuildLibCalls.cpp
 | |
|   BypassSlowDivision.cpp
 | |
|   CloneFunction.cpp
 | |
|   CloneModule.cpp
 | |
|   CmpInstAnalysis.cpp
 | |
|   CodeExtractor.cpp
 | |
|   DemoteRegToStack.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
 | |
|   SimplifyIndVar.cpp
 | |
|   SimplifyInstructions.cpp
 | |
|   SimplifyLibCalls.cpp
 | |
|   UnifyFunctionExitNodes.cpp
 | |
|   Utils.cpp
 | |
|   ValueMapper.cpp
 | |
|   )
 | |
| 
 | |
| add_dependencies(LLVMTransformUtils intrinsics_gen)
 |