mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-02 15:51:54 +00:00

This allows later passes (in particular InstCombine) to optimize more cases. One that's important to us is `memcmp(p, q, constant) < 0` and memcmp(p, q, constant) > 0. llvm-svn: 364412
186 lines
5.1 KiB
Plaintext
186 lines
5.1 KiB
Plaintext
static_library("CodeGen") {
|
|
output_name = "LLVMCodeGen"
|
|
public_deps = [
|
|
# Must be a public_dep because CodeGen's headers include llvm-config.h.
|
|
"//llvm/include/llvm/Config:llvm-config",
|
|
]
|
|
deps = [
|
|
"//llvm/lib/Analysis",
|
|
"//llvm/lib/Bitcode/Reader",
|
|
"//llvm/lib/Bitcode/Writer",
|
|
"//llvm/lib/IR",
|
|
"//llvm/lib/MC",
|
|
"//llvm/lib/ProfileData",
|
|
"//llvm/lib/Support",
|
|
"//llvm/lib/Target",
|
|
"//llvm/lib/Transforms/Scalar",
|
|
"//llvm/lib/Transforms/Utils",
|
|
]
|
|
sources = [
|
|
"AggressiveAntiDepBreaker.cpp",
|
|
"AllocationOrder.cpp",
|
|
"Analysis.cpp",
|
|
"AtomicExpandPass.cpp",
|
|
"BasicTargetTransformInfo.cpp",
|
|
"BranchFolding.cpp",
|
|
"BranchRelaxation.cpp",
|
|
"BreakFalseDeps.cpp",
|
|
"BuiltinGCs.cpp",
|
|
"CFIInstrInserter.cpp",
|
|
"CalcSpillWeights.cpp",
|
|
"CallingConvLower.cpp",
|
|
"CodeGen.cpp",
|
|
"CodeGenPrepare.cpp",
|
|
"CriticalAntiDepBreaker.cpp",
|
|
"DFAPacketizer.cpp",
|
|
"DeadMachineInstructionElim.cpp",
|
|
"DetectDeadLanes.cpp",
|
|
"DwarfEHPrepare.cpp",
|
|
"EarlyIfConversion.cpp",
|
|
"EdgeBundles.cpp",
|
|
"ExecutionDomainFix.cpp",
|
|
"ExpandPostRAPseudos.cpp",
|
|
"ExpandReductions.cpp",
|
|
"FEntryInserter.cpp",
|
|
"FaultMaps.cpp",
|
|
"FinalizeISel.cpp",
|
|
"FuncletLayout.cpp",
|
|
"GCMetadata.cpp",
|
|
"GCMetadataPrinter.cpp",
|
|
"GCRootLowering.cpp",
|
|
"GCStrategy.cpp",
|
|
"GlobalMerge.cpp",
|
|
"HardwareLoops.cpp",
|
|
"IfConversion.cpp",
|
|
"ImplicitNullChecks.cpp",
|
|
"IndirectBrExpandPass.cpp",
|
|
"InlineSpiller.cpp",
|
|
"InterferenceCache.cpp",
|
|
"InterleavedAccessPass.cpp",
|
|
"InterleavedLoadCombinePass.cpp",
|
|
"IntrinsicLowering.cpp",
|
|
"LLVMTargetMachine.cpp",
|
|
"LatencyPriorityQueue.cpp",
|
|
"LazyMachineBlockFrequencyInfo.cpp",
|
|
"LexicalScopes.cpp",
|
|
"LiveDebugValues.cpp",
|
|
"LiveDebugVariables.cpp",
|
|
"LiveInterval.cpp",
|
|
"LiveIntervalUnion.cpp",
|
|
"LiveIntervals.cpp",
|
|
"LivePhysRegs.cpp",
|
|
"LiveRangeCalc.cpp",
|
|
"LiveRangeEdit.cpp",
|
|
"LiveRangeShrink.cpp",
|
|
"LiveRegMatrix.cpp",
|
|
"LiveRegUnits.cpp",
|
|
"LiveStacks.cpp",
|
|
"LiveVariables.cpp",
|
|
"LocalStackSlotAllocation.cpp",
|
|
"LoopTraversal.cpp",
|
|
"LowLevelType.cpp",
|
|
"LowerEmuTLS.cpp",
|
|
"MIRCanonicalizerPass.cpp",
|
|
"MIRPrinter.cpp",
|
|
"MIRPrintingPass.cpp",
|
|
"MachineBasicBlock.cpp",
|
|
"MachineBlockFrequencyInfo.cpp",
|
|
"MachineBlockPlacement.cpp",
|
|
"MachineBranchProbabilityInfo.cpp",
|
|
"MachineCSE.cpp",
|
|
"MachineCombiner.cpp",
|
|
"MachineCopyPropagation.cpp",
|
|
"MachineDominanceFrontier.cpp",
|
|
"MachineDominators.cpp",
|
|
"MachineFrameInfo.cpp",
|
|
"MachineFunction.cpp",
|
|
"MachineFunctionPass.cpp",
|
|
"MachineFunctionPrinterPass.cpp",
|
|
"MachineInstr.cpp",
|
|
"MachineInstrBundle.cpp",
|
|
"MachineLICM.cpp",
|
|
"MachineLoopInfo.cpp",
|
|
"MachineModuleInfo.cpp",
|
|
"MachineModuleInfoImpls.cpp",
|
|
"MachineOperand.cpp",
|
|
"MachineOptimizationRemarkEmitter.cpp",
|
|
"MachineOutliner.cpp",
|
|
"MachinePipeliner.cpp",
|
|
"MachinePostDominators.cpp",
|
|
"MachineRegionInfo.cpp",
|
|
"MachineRegisterInfo.cpp",
|
|
"MachineSSAUpdater.cpp",
|
|
"MachineScheduler.cpp",
|
|
"MachineSink.cpp",
|
|
"MachineTraceMetrics.cpp",
|
|
"MachineVerifier.cpp",
|
|
"MacroFusion.cpp",
|
|
"OptimizePHIs.cpp",
|
|
"PHIElimination.cpp",
|
|
"PHIEliminationUtils.cpp",
|
|
"ParallelCG.cpp",
|
|
"PatchableFunction.cpp",
|
|
"PeepholeOptimizer.cpp",
|
|
"PostRAHazardRecognizer.cpp",
|
|
"PostRASchedulerList.cpp",
|
|
"PreISelIntrinsicLowering.cpp",
|
|
"ProcessImplicitDefs.cpp",
|
|
"PrologEpilogInserter.cpp",
|
|
"PseudoSourceValue.cpp",
|
|
"ReachingDefAnalysis.cpp",
|
|
"RegAllocBase.cpp",
|
|
"RegAllocBasic.cpp",
|
|
"RegAllocFast.cpp",
|
|
"RegAllocGreedy.cpp",
|
|
"RegAllocPBQP.cpp",
|
|
"RegUsageInfoCollector.cpp",
|
|
"RegUsageInfoPropagate.cpp",
|
|
"RegisterClassInfo.cpp",
|
|
"RegisterCoalescer.cpp",
|
|
"RegisterPressure.cpp",
|
|
"RegisterScavenging.cpp",
|
|
"RegisterUsageInfo.cpp",
|
|
"RenameIndependentSubregs.cpp",
|
|
"ResetMachineFunctionPass.cpp",
|
|
"SafeStack.cpp",
|
|
"SafeStackColoring.cpp",
|
|
"SafeStackLayout.cpp",
|
|
"ScalarizeMaskedMemIntrin.cpp",
|
|
"ScheduleDAG.cpp",
|
|
"ScheduleDAGInstrs.cpp",
|
|
"ScheduleDAGPrinter.cpp",
|
|
"ScoreboardHazardRecognizer.cpp",
|
|
"ShadowStackGCLowering.cpp",
|
|
"ShrinkWrap.cpp",
|
|
"SjLjEHPrepare.cpp",
|
|
"SlotIndexes.cpp",
|
|
"SpillPlacement.cpp",
|
|
"SplitKit.cpp",
|
|
"StackColoring.cpp",
|
|
"StackMapLivenessAnalysis.cpp",
|
|
"StackMaps.cpp",
|
|
"StackProtector.cpp",
|
|
"StackSlotColoring.cpp",
|
|
"SwiftErrorValueTracking.cpp",
|
|
"SwitchLoweringUtils.cpp",
|
|
"TailDuplication.cpp",
|
|
"TailDuplicator.cpp",
|
|
"TargetFrameLoweringImpl.cpp",
|
|
"TargetInstrInfo.cpp",
|
|
"TargetLoweringBase.cpp",
|
|
"TargetLoweringObjectFileImpl.cpp",
|
|
"TargetOptionsImpl.cpp",
|
|
"TargetPassConfig.cpp",
|
|
"TargetRegisterInfo.cpp",
|
|
"TargetSchedule.cpp",
|
|
"TargetSubtargetInfo.cpp",
|
|
"TwoAddressInstructionPass.cpp",
|
|
"UnreachableBlockElim.cpp",
|
|
"ValueTypes.cpp",
|
|
"VirtRegMap.cpp",
|
|
"WasmEHPrepare.cpp",
|
|
"WinEHPrepare.cpp",
|
|
"XRayInstrumentation.cpp",
|
|
]
|
|
}
|