blob: 3ea8d6a5935ee7cb7b29d6aa7ce388908963a715 [file] [log] [blame]
# Copyright 2020 The SwiftShader Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
set(LLVM_DIR ${CMAKE_CURRENT_SOURCE_DIR}/llvm)
set(LLVM_CONFIG_DIR ${CMAKE_CURRENT_SOURCE_DIR}/configs)
set(LLVM_LIST
${LLVM_DIR}/lib/Analysis/AliasAnalysis.cpp
${LLVM_DIR}/lib/Analysis/AliasAnalysisSummary.cpp
${LLVM_DIR}/lib/Analysis/AliasSetTracker.cpp
${LLVM_DIR}/lib/Analysis/AssumptionCache.cpp
${LLVM_DIR}/lib/Analysis/BasicAliasAnalysis.cpp
${LLVM_DIR}/lib/Analysis/BlockFrequencyInfo.cpp
${LLVM_DIR}/lib/Analysis/BlockFrequencyInfoImpl.cpp
${LLVM_DIR}/lib/Analysis/BranchProbabilityInfo.cpp
${LLVM_DIR}/lib/Analysis/CallGraph.cpp
${LLVM_DIR}/lib/Analysis/CallGraphSCCPass.cpp
${LLVM_DIR}/lib/Analysis/CaptureTracking.cpp
${LLVM_DIR}/lib/Analysis/CFG.cpp
${LLVM_DIR}/lib/Analysis/CFLAndersAliasAnalysis.cpp
${LLVM_DIR}/lib/Analysis/CFLSteensAliasAnalysis.cpp
${LLVM_DIR}/lib/Analysis/CGSCCPassManager.cpp
${LLVM_DIR}/lib/Analysis/CmpInstAnalysis.cpp
${LLVM_DIR}/lib/Analysis/CodeMetrics.cpp
${LLVM_DIR}/lib/Analysis/ConstantFolding.cpp
${LLVM_DIR}/lib/Analysis/DemandedBits.cpp
${LLVM_DIR}/lib/Analysis/DependenceAnalysis.cpp
${LLVM_DIR}/lib/Analysis/DivergenceAnalysis.cpp
${LLVM_DIR}/lib/Analysis/DominanceFrontier.cpp
${LLVM_DIR}/lib/Analysis/DomTreeUpdater.cpp
${LLVM_DIR}/lib/Analysis/EHPersonalities.cpp
${LLVM_DIR}/lib/Analysis/GlobalsModRef.cpp
${LLVM_DIR}/lib/Analysis/GuardUtils.cpp
${LLVM_DIR}/lib/Analysis/IndirectCallPromotionAnalysis.cpp
${LLVM_DIR}/lib/Analysis/InlineCost.cpp
${LLVM_DIR}/lib/Analysis/InstructionPrecedenceTracking.cpp
${LLVM_DIR}/lib/Analysis/InstructionSimplify.cpp
${LLVM_DIR}/lib/Analysis/IVDescriptors.cpp
${LLVM_DIR}/lib/Analysis/IVUsers.cpp
${LLVM_DIR}/lib/Analysis/LazyBlockFrequencyInfo.cpp
${LLVM_DIR}/lib/Analysis/LazyBranchProbabilityInfo.cpp
${LLVM_DIR}/lib/Analysis/LazyCallGraph.cpp
${LLVM_DIR}/lib/Analysis/LazyValueInfo.cpp
${LLVM_DIR}/lib/Analysis/LegacyDivergenceAnalysis.cpp
${LLVM_DIR}/lib/Analysis/Loads.cpp
${LLVM_DIR}/lib/Analysis/LoopAccessAnalysis.cpp
${LLVM_DIR}/lib/Analysis/LoopAnalysisManager.cpp
${LLVM_DIR}/lib/Analysis/LoopInfo.cpp
${LLVM_DIR}/lib/Analysis/LoopPass.cpp
${LLVM_DIR}/lib/Analysis/LoopUnrollAnalyzer.cpp
${LLVM_DIR}/lib/Analysis/MemoryBuiltins.cpp
${LLVM_DIR}/lib/Analysis/MemoryDependenceAnalysis.cpp
${LLVM_DIR}/lib/Analysis/MemoryLocation.cpp
${LLVM_DIR}/lib/Analysis/MemorySSA.cpp
${LLVM_DIR}/lib/Analysis/MemorySSAUpdater.cpp
${LLVM_DIR}/lib/Analysis/ModuleSummaryAnalysis.cpp
${LLVM_DIR}/lib/Analysis/MustExecute.cpp
${LLVM_DIR}/lib/Analysis/ObjCARCAliasAnalysis.cpp
${LLVM_DIR}/lib/Analysis/ObjCARCAnalysisUtils.cpp
${LLVM_DIR}/lib/Analysis/ObjCARCInstKind.cpp
${LLVM_DIR}/lib/Analysis/OptimizationRemarkEmitter.cpp
${LLVM_DIR}/lib/Analysis/OrderedBasicBlock.cpp
${LLVM_DIR}/lib/Analysis/OrderedInstructions.cpp
${LLVM_DIR}/lib/Analysis/PHITransAddr.cpp
${LLVM_DIR}/lib/Analysis/PhiValues.cpp
${LLVM_DIR}/lib/Analysis/PostDominators.cpp
${LLVM_DIR}/lib/Analysis/ProfileSummaryInfo.cpp
${LLVM_DIR}/lib/Analysis/PtrUseVisitor.cpp
${LLVM_DIR}/lib/Analysis/RegionInfo.cpp
${LLVM_DIR}/lib/Analysis/RegionPrinter.cpp
${LLVM_DIR}/lib/Analysis/ScalarEvolution.cpp
${LLVM_DIR}/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp
${LLVM_DIR}/lib/Analysis/ScalarEvolutionExpander.cpp
${LLVM_DIR}/lib/Analysis/ScalarEvolutionNormalization.cpp
${LLVM_DIR}/lib/Analysis/ScopedNoAliasAA.cpp
${LLVM_DIR}/lib/Analysis/SyncDependenceAnalysis.cpp
${LLVM_DIR}/lib/Analysis/TargetLibraryInfo.cpp
${LLVM_DIR}/lib/Analysis/TargetTransformInfo.cpp
${LLVM_DIR}/lib/Analysis/TypeBasedAliasAnalysis.cpp
${LLVM_DIR}/lib/Analysis/TypeMetadataUtils.cpp
${LLVM_DIR}/lib/Analysis/ValueLattice.cpp
${LLVM_DIR}/lib/Analysis/ValueLatticeUtils.cpp
${LLVM_DIR}/lib/Analysis/ValueTracking.cpp
${LLVM_DIR}/lib/Analysis/VectorUtils.cpp
${LLVM_DIR}/lib/Analysis/VFABIDemangling.cpp
${LLVM_DIR}/lib/BinaryFormat/Dwarf.cpp
${LLVM_DIR}/lib/BinaryFormat/Magic.cpp
${LLVM_DIR}/lib/BinaryFormat/Wasm.cpp
${LLVM_DIR}/lib/BinaryFormat/XCOFF.cpp
${LLVM_DIR}/lib/Bitcode/Reader/BitcodeReader.cpp
${LLVM_DIR}/lib/Bitcode/Reader/MetadataLoader.cpp
${LLVM_DIR}/lib/Bitcode/Reader/ValueList.cpp
${LLVM_DIR}/lib/Bitcode/Writer/BitcodeWriter.cpp
${LLVM_DIR}/lib/Bitcode/Writer/ValueEnumerator.cpp
${LLVM_DIR}/lib/Bitstream/Reader/BitstreamReader.cpp
${LLVM_DIR}/lib/CodeGen/AggressiveAntiDepBreaker.cpp
${LLVM_DIR}/lib/CodeGen/AllocationOrder.cpp
${LLVM_DIR}/lib/CodeGen/Analysis.cpp
${LLVM_DIR}/lib/CodeGen/AsmPrinter/AccelTable.cpp
${LLVM_DIR}/lib/CodeGen/AsmPrinter/AddressPool.cpp
${LLVM_DIR}/lib/CodeGen/AsmPrinter/ARMException.cpp
${LLVM_DIR}/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
${LLVM_DIR}/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
${LLVM_DIR}/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
${LLVM_DIR}/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
${LLVM_DIR}/lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp
${LLVM_DIR}/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
${LLVM_DIR}/lib/CodeGen/AsmPrinter/DebugLocStream.cpp
${LLVM_DIR}/lib/CodeGen/AsmPrinter/DIE.cpp
${LLVM_DIR}/lib/CodeGen/AsmPrinter/DIEHash.cpp
${LLVM_DIR}/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
${LLVM_DIR}/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
${LLVM_DIR}/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
${LLVM_DIR}/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
${LLVM_DIR}/lib/CodeGen/AsmPrinter/DwarfFile.cpp
${LLVM_DIR}/lib/CodeGen/AsmPrinter/DwarfStringPool.cpp
${LLVM_DIR}/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
${LLVM_DIR}/lib/CodeGen/AsmPrinter/EHStreamer.cpp
${LLVM_DIR}/lib/CodeGen/AsmPrinter/WasmException.cpp
${LLVM_DIR}/lib/CodeGen/AsmPrinter/WinCFGuard.cpp
${LLVM_DIR}/lib/CodeGen/AsmPrinter/WinException.cpp
${LLVM_DIR}/lib/CodeGen/AtomicExpandPass.cpp
${LLVM_DIR}/lib/CodeGen/BasicTargetTransformInfo.cpp
${LLVM_DIR}/lib/CodeGen/BranchFolding.cpp
${LLVM_DIR}/lib/CodeGen/BranchRelaxation.cpp
${LLVM_DIR}/lib/CodeGen/BreakFalseDeps.cpp
${LLVM_DIR}/lib/CodeGen/CalcSpillWeights.cpp
${LLVM_DIR}/lib/CodeGen/CallingConvLower.cpp
${LLVM_DIR}/lib/CodeGen/CFGuardLongjmp.cpp
${LLVM_DIR}/lib/CodeGen/CFIInstrInserter.cpp
${LLVM_DIR}/lib/CodeGen/CodeGen.cpp
${LLVM_DIR}/lib/CodeGen/CodeGenPrepare.cpp
${LLVM_DIR}/lib/CodeGen/CriticalAntiDepBreaker.cpp
${LLVM_DIR}/lib/CodeGen/DeadMachineInstructionElim.cpp
${LLVM_DIR}/lib/CodeGen/DetectDeadLanes.cpp
${LLVM_DIR}/lib/CodeGen/DFAPacketizer.cpp
${LLVM_DIR}/lib/CodeGen/DwarfEHPrepare.cpp
${LLVM_DIR}/lib/CodeGen/EarlyIfConversion.cpp
${LLVM_DIR}/lib/CodeGen/EdgeBundles.cpp
${LLVM_DIR}/lib/CodeGen/ExecutionDomainFix.cpp
${LLVM_DIR}/lib/CodeGen/ExpandMemCmp.cpp
${LLVM_DIR}/lib/CodeGen/ExpandPostRAPseudos.cpp
${LLVM_DIR}/lib/CodeGen/ExpandReductions.cpp
${LLVM_DIR}/lib/CodeGen/FaultMaps.cpp
${LLVM_DIR}/lib/CodeGen/FEntryInserter.cpp
${LLVM_DIR}/lib/CodeGen/FinalizeISel.cpp
${LLVM_DIR}/lib/CodeGen/FuncletLayout.cpp
${LLVM_DIR}/lib/CodeGen/GCMetadata.cpp
${LLVM_DIR}/lib/CodeGen/GCMetadataPrinter.cpp
${LLVM_DIR}/lib/CodeGen/GCRootLowering.cpp
${LLVM_DIR}/lib/CodeGen/GCStrategy.cpp
${LLVM_DIR}/lib/CodeGen/GlobalMerge.cpp
${LLVM_DIR}/lib/CodeGen/GlobalISel/CallLowering.cpp
${LLVM_DIR}/lib/CodeGen/GlobalISel/Combiner.cpp
${LLVM_DIR}/lib/CodeGen/GlobalISel/CombinerHelper.cpp
${LLVM_DIR}/lib/CodeGen/GlobalISel/CSEInfo.cpp
${LLVM_DIR}/lib/CodeGen/GlobalISel/CSEMIRBuilder.cpp
${LLVM_DIR}/lib/CodeGen/GlobalISel/GISelChangeObserver.cpp
${LLVM_DIR}/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
${LLVM_DIR}/lib/CodeGen/GlobalISel/GlobalISel.cpp
${LLVM_DIR}/lib/CodeGen/GlobalISel/InstructionSelect.cpp
${LLVM_DIR}/lib/CodeGen/GlobalISel/InstructionSelector.cpp
${LLVM_DIR}/lib/CodeGen/GlobalISel/IRTranslator.cpp
${LLVM_DIR}/lib/CodeGen/GlobalISel/LegalityPredicates.cpp
${LLVM_DIR}/lib/CodeGen/GlobalISel/LegalizeMutations.cpp
${LLVM_DIR}/lib/CodeGen/GlobalISel/Legalizer.cpp
${LLVM_DIR}/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
${LLVM_DIR}/lib/CodeGen/GlobalISel/LegalizerInfo.cpp
${LLVM_DIR}/lib/CodeGen/GlobalISel/Localizer.cpp
${LLVM_DIR}/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
${LLVM_DIR}/lib/CodeGen/GlobalISel/RegBankSelect.cpp
${LLVM_DIR}/lib/CodeGen/GlobalISel/RegisterBank.cpp
${LLVM_DIR}/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
${LLVM_DIR}/lib/CodeGen/GlobalISel/Utils.cpp
${LLVM_DIR}/lib/CodeGen/HardwareLoops.cpp
${LLVM_DIR}/lib/CodeGen/IfConversion.cpp
${LLVM_DIR}/lib/CodeGen/ImplicitNullChecks.cpp
${LLVM_DIR}/lib/CodeGen/IndirectBrExpandPass.cpp
${LLVM_DIR}/lib/CodeGen/InlineSpiller.cpp
${LLVM_DIR}/lib/CodeGen/InterferenceCache.cpp
${LLVM_DIR}/lib/CodeGen/InterleavedAccessPass.cpp
${LLVM_DIR}/lib/CodeGen/InterleavedLoadCombinePass.cpp
${LLVM_DIR}/lib/CodeGen/IntrinsicLowering.cpp
${LLVM_DIR}/lib/CodeGen/LatencyPriorityQueue.cpp
${LLVM_DIR}/lib/CodeGen/LazyMachineBlockFrequencyInfo.cpp
${LLVM_DIR}/lib/CodeGen/LexicalScopes.cpp
${LLVM_DIR}/lib/CodeGen/LiveDebugValues.cpp
${LLVM_DIR}/lib/CodeGen/LiveDebugVariables.cpp
${LLVM_DIR}/lib/CodeGen/LiveInterval.cpp
${LLVM_DIR}/lib/CodeGen/LiveIntervals.cpp
${LLVM_DIR}/lib/CodeGen/LiveIntervalUnion.cpp
${LLVM_DIR}/lib/CodeGen/LivePhysRegs.cpp
${LLVM_DIR}/lib/CodeGen/LiveRangeCalc.cpp
${LLVM_DIR}/lib/CodeGen/LiveRangeEdit.cpp
${LLVM_DIR}/lib/CodeGen/LiveRangeShrink.cpp
${LLVM_DIR}/lib/CodeGen/LiveRegMatrix.cpp
${LLVM_DIR}/lib/CodeGen/LiveRegUnits.cpp
${LLVM_DIR}/lib/CodeGen/LiveStacks.cpp
${LLVM_DIR}/lib/CodeGen/LiveVariables.cpp
${LLVM_DIR}/lib/CodeGen/LLVMTargetMachine.cpp
${LLVM_DIR}/lib/CodeGen/LocalStackSlotAllocation.cpp
${LLVM_DIR}/lib/CodeGen/LoopTraversal.cpp
${LLVM_DIR}/lib/CodeGen/LowerEmuTLS.cpp
${LLVM_DIR}/lib/CodeGen/LowLevelType.cpp
${LLVM_DIR}/lib/CodeGen/MachineBasicBlock.cpp
${LLVM_DIR}/lib/CodeGen/MachineBlockFrequencyInfo.cpp
${LLVM_DIR}/lib/CodeGen/MachineBlockPlacement.cpp
${LLVM_DIR}/lib/CodeGen/MachineBranchProbabilityInfo.cpp
${LLVM_DIR}/lib/CodeGen/MachineCombiner.cpp
${LLVM_DIR}/lib/CodeGen/MachineCopyPropagation.cpp
${LLVM_DIR}/lib/CodeGen/MachineCSE.cpp
${LLVM_DIR}/lib/CodeGen/MachineDominanceFrontier.cpp
${LLVM_DIR}/lib/CodeGen/MachineDominators.cpp
${LLVM_DIR}/lib/CodeGen/MachineFrameInfo.cpp
${LLVM_DIR}/lib/CodeGen/MachineFunction.cpp
${LLVM_DIR}/lib/CodeGen/MachineFunctionPass.cpp
${LLVM_DIR}/lib/CodeGen/MachineFunctionPrinterPass.cpp
${LLVM_DIR}/lib/CodeGen/MachineInstr.cpp
${LLVM_DIR}/lib/CodeGen/MachineInstrBundle.cpp
${LLVM_DIR}/lib/CodeGen/MachineLICM.cpp
${LLVM_DIR}/lib/CodeGen/MachineLoopInfo.cpp
${LLVM_DIR}/lib/CodeGen/MachineLoopUtils.cpp
${LLVM_DIR}/lib/CodeGen/MachineModuleInfo.cpp
${LLVM_DIR}/lib/CodeGen/MachineModuleInfoImpls.cpp
${LLVM_DIR}/lib/CodeGen/MachineOperand.cpp
${LLVM_DIR}/lib/CodeGen/MachineOptimizationRemarkEmitter.cpp
${LLVM_DIR}/lib/CodeGen/MachineOutliner.cpp
${LLVM_DIR}/lib/CodeGen/MachinePipeliner.cpp
${LLVM_DIR}/lib/CodeGen/MachinePostDominators.cpp
${LLVM_DIR}/lib/CodeGen/MachineRegionInfo.cpp
${LLVM_DIR}/lib/CodeGen/MachineRegisterInfo.cpp
${LLVM_DIR}/lib/CodeGen/MachineScheduler.cpp
${LLVM_DIR}/lib/CodeGen/MachineSink.cpp
${LLVM_DIR}/lib/CodeGen/MachineSizeOpts.cpp
${LLVM_DIR}/lib/CodeGen/MachineSSAUpdater.cpp
${LLVM_DIR}/lib/CodeGen/MachineTraceMetrics.cpp
${LLVM_DIR}/lib/CodeGen/MachineVerifier.cpp
${LLVM_DIR}/lib/CodeGen/MacroFusion.cpp
${LLVM_DIR}/lib/CodeGen/MIRCanonicalizerPass.cpp
${LLVM_DIR}/lib/CodeGen/MIRNamerPass.cpp
${LLVM_DIR}/lib/CodeGen/MIRPrinter.cpp
${LLVM_DIR}/lib/CodeGen/MIRPrintingPass.cpp
${LLVM_DIR}/lib/CodeGen/MIRVRegNamerUtils.cpp
${LLVM_DIR}/lib/CodeGen/ModuloSchedule.cpp
${LLVM_DIR}/lib/CodeGen/OptimizePHIs.cpp
${LLVM_DIR}/lib/CodeGen/PatchableFunction.cpp
${LLVM_DIR}/lib/CodeGen/PeepholeOptimizer.cpp
${LLVM_DIR}/lib/CodeGen/PHIElimination.cpp
${LLVM_DIR}/lib/CodeGen/PHIEliminationUtils.cpp
${LLVM_DIR}/lib/CodeGen/PostRAHazardRecognizer.cpp
${LLVM_DIR}/lib/CodeGen/PostRASchedulerList.cpp
${LLVM_DIR}/lib/CodeGen/PreISelIntrinsicLowering.cpp
${LLVM_DIR}/lib/CodeGen/ProcessImplicitDefs.cpp
${LLVM_DIR}/lib/CodeGen/PrologEpilogInserter.cpp
${LLVM_DIR}/lib/CodeGen/PseudoSourceValue.cpp
${LLVM_DIR}/lib/CodeGen/ReachingDefAnalysis.cpp
${LLVM_DIR}/lib/CodeGen/RegAllocBase.cpp
${LLVM_DIR}/lib/CodeGen/RegAllocBasic.cpp
${LLVM_DIR}/lib/CodeGen/RegAllocFast.cpp
${LLVM_DIR}/lib/CodeGen/RegAllocGreedy.cpp
${LLVM_DIR}/lib/CodeGen/RegisterClassInfo.cpp
${LLVM_DIR}/lib/CodeGen/RegisterCoalescer.cpp
${LLVM_DIR}/lib/CodeGen/RegAllocPBQP.cpp
${LLVM_DIR}/lib/CodeGen/RegisterPressure.cpp
${LLVM_DIR}/lib/CodeGen/RegisterScavenging.cpp
${LLVM_DIR}/lib/CodeGen/RegisterUsageInfo.cpp
${LLVM_DIR}/lib/CodeGen/RegUsageInfoCollector.cpp
${LLVM_DIR}/lib/CodeGen/RegUsageInfoPropagate.cpp
${LLVM_DIR}/lib/CodeGen/RenameIndependentSubregs.cpp
${LLVM_DIR}/lib/CodeGen/ResetMachineFunctionPass.cpp
${LLVM_DIR}/lib/CodeGen/SafeStack.cpp
${LLVM_DIR}/lib/CodeGen/SafeStackColoring.cpp
${LLVM_DIR}/lib/CodeGen/SafeStackLayout.cpp
${LLVM_DIR}/lib/CodeGen/ScalarizeMaskedMemIntrin.cpp
${LLVM_DIR}/lib/CodeGen/ScheduleDAG.cpp
${LLVM_DIR}/lib/CodeGen/ScheduleDAGInstrs.cpp
${LLVM_DIR}/lib/CodeGen/ScheduleDAGPrinter.cpp
${LLVM_DIR}/lib/CodeGen/ScoreboardHazardRecognizer.cpp
${LLVM_DIR}/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
${LLVM_DIR}/lib/CodeGen/SelectionDAG/FastISel.cpp
${LLVM_DIR}/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
${LLVM_DIR}/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
${LLVM_DIR}/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
${LLVM_DIR}/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
${LLVM_DIR}/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
${LLVM_DIR}/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
${LLVM_DIR}/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
${LLVM_DIR}/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
${LLVM_DIR}/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
${LLVM_DIR}/lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp
${LLVM_DIR}/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
${LLVM_DIR}/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
${LLVM_DIR}/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
${LLVM_DIR}/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
${LLVM_DIR}/lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp
${LLVM_DIR}/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
${LLVM_DIR}/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
${LLVM_DIR}/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
${LLVM_DIR}/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
${LLVM_DIR}/lib/CodeGen/SelectionDAG/SelectionDAGTargetInfo.cpp
${LLVM_DIR}/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
${LLVM_DIR}/lib/CodeGen/SelectionDAG/TargetLowering.cpp
${LLVM_DIR}/lib/CodeGen/ShadowStackGCLowering.cpp
${LLVM_DIR}/lib/CodeGen/ShrinkWrap.cpp
${LLVM_DIR}/lib/CodeGen/SjLjEHPrepare.cpp
${LLVM_DIR}/lib/CodeGen/SlotIndexes.cpp
${LLVM_DIR}/lib/CodeGen/SpillPlacement.cpp
${LLVM_DIR}/lib/CodeGen/SplitKit.cpp
${LLVM_DIR}/lib/CodeGen/StackColoring.cpp
${LLVM_DIR}/lib/CodeGen/StackMapLivenessAnalysis.cpp
${LLVM_DIR}/lib/CodeGen/StackMaps.cpp
${LLVM_DIR}/lib/CodeGen/StackProtector.cpp
${LLVM_DIR}/lib/CodeGen/StackSlotColoring.cpp
${LLVM_DIR}/lib/CodeGen/SwiftErrorValueTracking.cpp
${LLVM_DIR}/lib/CodeGen/SwitchLoweringUtils.cpp
${LLVM_DIR}/lib/CodeGen/TailDuplication.cpp
${LLVM_DIR}/lib/CodeGen/TailDuplicator.cpp
${LLVM_DIR}/lib/CodeGen/TargetFrameLoweringImpl.cpp
${LLVM_DIR}/lib/CodeGen/TargetInstrInfo.cpp
${LLVM_DIR}/lib/CodeGen/TargetLoweringBase.cpp
${LLVM_DIR}/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
${LLVM_DIR}/lib/CodeGen/TargetOptionsImpl.cpp
${LLVM_DIR}/lib/CodeGen/TargetPassConfig.cpp
${LLVM_DIR}/lib/CodeGen/TargetRegisterInfo.cpp
${LLVM_DIR}/lib/CodeGen/TargetSchedule.cpp
${LLVM_DIR}/lib/CodeGen/TargetSubtargetInfo.cpp
${LLVM_DIR}/lib/CodeGen/TwoAddressInstructionPass.cpp
${LLVM_DIR}/lib/CodeGen/TypePromotion.cpp
${LLVM_DIR}/lib/CodeGen/UnreachableBlockElim.cpp
${LLVM_DIR}/lib/CodeGen/ValueTypes.cpp
${LLVM_DIR}/lib/CodeGen/VirtRegMap.cpp
${LLVM_DIR}/lib/CodeGen/WasmEHPrepare.cpp
${LLVM_DIR}/lib/CodeGen/WinEHPrepare.cpp
${LLVM_DIR}/lib/CodeGen/XRayInstrumentation.cpp
${LLVM_DIR}/lib/DebugInfo/CodeView/CodeViewError.cpp
${LLVM_DIR}/lib/DebugInfo/CodeView/CodeViewRecordIO.cpp
${LLVM_DIR}/lib/DebugInfo/CodeView/ContinuationRecordBuilder.cpp
${LLVM_DIR}/lib/DebugInfo/CodeView/CVTypeVisitor.cpp
${LLVM_DIR}/lib/DebugInfo/CodeView/EnumTables.cpp
${LLVM_DIR}/lib/DebugInfo/CodeView/GlobalTypeTableBuilder.cpp
${LLVM_DIR}/lib/DebugInfo/CodeView/Line.cpp
${LLVM_DIR}/lib/DebugInfo/CodeView/RecordName.cpp
${LLVM_DIR}/lib/DebugInfo/CodeView/RecordSerialization.cpp
${LLVM_DIR}/lib/DebugInfo/CodeView/SimpleTypeSerializer.cpp
${LLVM_DIR}/lib/DebugInfo/CodeView/SymbolRecordMapping.cpp
${LLVM_DIR}/lib/DebugInfo/CodeView/TypeHashing.cpp
${LLVM_DIR}/lib/DebugInfo/CodeView/TypeIndex.cpp
${LLVM_DIR}/lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp
${LLVM_DIR}/lib/DebugInfo/CodeView/TypeRecordMapping.cpp
${LLVM_DIR}/lib/DebugInfo/CodeView/TypeTableCollection.cpp
${LLVM_DIR}/lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
${LLVM_DIR}/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
${LLVM_DIR}/lib/DebugInfo/DWARF/DWARFAddressRange.cpp
${LLVM_DIR}/lib/DebugInfo/DWARF/DWARFCompileUnit.cpp
${LLVM_DIR}/lib/DebugInfo/DWARF/DWARFContext.cpp
${LLVM_DIR}/lib/DebugInfo/DWARF/DWARFDataExtractor.cpp
${LLVM_DIR}/lib/DebugInfo/DWARF/DWARFDebugAbbrev.cpp
${LLVM_DIR}/lib/DebugInfo/DWARF/DWARFDebugAddr.cpp
${LLVM_DIR}/lib/DebugInfo/DWARF/DWARFDebugAranges.cpp
${LLVM_DIR}/lib/DebugInfo/DWARF/DWARFDebugArangeSet.cpp
${LLVM_DIR}/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
${LLVM_DIR}/lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp
${LLVM_DIR}/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
${LLVM_DIR}/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
${LLVM_DIR}/lib/DebugInfo/DWARF/DWARFDebugMacro.cpp
${LLVM_DIR}/lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp
${LLVM_DIR}/lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp
${LLVM_DIR}/lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp
${LLVM_DIR}/lib/DebugInfo/DWARF/DWARFDie.cpp
${LLVM_DIR}/lib/DebugInfo/DWARF/DWARFExpression.cpp
${LLVM_DIR}/lib/DebugInfo/DWARF/DWARFFormValue.cpp
${LLVM_DIR}/lib/DebugInfo/DWARF/DWARFGdbIndex.cpp
${LLVM_DIR}/lib/DebugInfo/DWARF/DWARFListTable.cpp
${LLVM_DIR}/lib/DebugInfo/DWARF/DWARFTypeUnit.cpp
${LLVM_DIR}/lib/DebugInfo/DWARF/DWARFUnit.cpp
${LLVM_DIR}/lib/DebugInfo/DWARF/DWARFUnitIndex.cpp
${LLVM_DIR}/lib/DebugInfo/DWARF/DWARFVerifier.cpp
${LLVM_DIR}/lib/Demangle/ItaniumDemangle.cpp
${LLVM_DIR}/lib/ExecutionEngine/ExecutionEngine.cpp
${LLVM_DIR}/lib/ExecutionEngine/GDBRegistrationListener.cpp
${LLVM_DIR}/lib/ExecutionEngine/Orc/CompileUtils.cpp
${LLVM_DIR}/lib/ExecutionEngine/Orc/Core.cpp
${LLVM_DIR}/lib/ExecutionEngine/Orc/IRCompileLayer.cpp
${LLVM_DIR}/lib/ExecutionEngine/Orc/JITTargetMachineBuilder.cpp
${LLVM_DIR}/lib/ExecutionEngine/Orc/Layer.cpp
${LLVM_DIR}/lib/ExecutionEngine/Orc/Legacy.cpp
${LLVM_DIR}/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
${LLVM_DIR}/lib/ExecutionEngine/Orc/ThreadSafeModule.cpp
${LLVM_DIR}/lib/ExecutionEngine/OrcError/OrcError.cpp
${LLVM_DIR}/lib/ExecutionEngine/RuntimeDyld/JITSymbol.cpp
${LLVM_DIR}/lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp
${LLVM_DIR}/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
${LLVM_DIR}/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.cpp
${LLVM_DIR}/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
${LLVM_DIR}/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
${LLVM_DIR}/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.cpp
${LLVM_DIR}/lib/ExecutionEngine/SectionMemoryManager.cpp
${LLVM_DIR}/lib/ExecutionEngine/TargetSelect.cpp
${LLVM_DIR}/lib/IR/AbstractCallSite.cpp
${LLVM_DIR}/lib/IR/AsmWriter.cpp
${LLVM_DIR}/lib/IR/Attributes.cpp
${LLVM_DIR}/lib/IR/AutoUpgrade.cpp
${LLVM_DIR}/lib/IR/BasicBlock.cpp
${LLVM_DIR}/lib/IR/Comdat.cpp
${LLVM_DIR}/lib/IR/ConstantFold.cpp
${LLVM_DIR}/lib/IR/ConstantRange.cpp
${LLVM_DIR}/lib/IR/Constants.cpp
${LLVM_DIR}/lib/IR/DataLayout.cpp
${LLVM_DIR}/lib/IR/DebugInfo.cpp
${LLVM_DIR}/lib/IR/DebugInfoMetadata.cpp
${LLVM_DIR}/lib/IR/DebugLoc.cpp
${LLVM_DIR}/lib/IR/DiagnosticHandler.cpp
${LLVM_DIR}/lib/IR/DiagnosticInfo.cpp
${LLVM_DIR}/lib/IR/DiagnosticPrinter.cpp
${LLVM_DIR}/lib/IR/DIBuilder.cpp
${LLVM_DIR}/lib/IR/Dominators.cpp
${LLVM_DIR}/lib/IR/FPEnv.cpp
${LLVM_DIR}/lib/IR/Function.cpp
${LLVM_DIR}/lib/IR/Globals.cpp
${LLVM_DIR}/lib/IR/GVMaterializer.cpp
${LLVM_DIR}/lib/IR/InlineAsm.cpp
${LLVM_DIR}/lib/IR/Instruction.cpp
${LLVM_DIR}/lib/IR/Instructions.cpp
${LLVM_DIR}/lib/IR/IntrinsicInst.cpp
${LLVM_DIR}/lib/IR/IRBuilder.cpp
${LLVM_DIR}/lib/IR/IRPrintingPasses.cpp
${LLVM_DIR}/lib/IR/LegacyPassManager.cpp
${LLVM_DIR}/lib/IR/LLVMContext.cpp
${LLVM_DIR}/lib/IR/LLVMContextImpl.cpp
${LLVM_DIR}/lib/IR/Mangler.cpp
${LLVM_DIR}/lib/IR/MDBuilder.cpp
${LLVM_DIR}/lib/IR/Metadata.cpp
${LLVM_DIR}/lib/IR/Module.cpp
${LLVM_DIR}/lib/IR/ModuleSummaryIndex.cpp
${LLVM_DIR}/lib/IR/Operator.cpp
${LLVM_DIR}/lib/IR/OptBisect.cpp
${LLVM_DIR}/lib/IR/Pass.cpp
${LLVM_DIR}/lib/IR/PassInstrumentation.cpp
${LLVM_DIR}/lib/IR/PassManager.cpp
${LLVM_DIR}/lib/IR/PassRegistry.cpp
${LLVM_DIR}/lib/IR/PassTimingInfo.cpp
${LLVM_DIR}/lib/IR/ProfileSummary.cpp
${LLVM_DIR}/lib/IR/RemarkStreamer.cpp
${LLVM_DIR}/lib/IR/Statepoint.cpp
${LLVM_DIR}/lib/IR/Type.cpp
${LLVM_DIR}/lib/IR/TypeFinder.cpp
${LLVM_DIR}/lib/IR/Use.cpp
${LLVM_DIR}/lib/IR/User.cpp
${LLVM_DIR}/lib/IR/Value.cpp
${LLVM_DIR}/lib/IR/ValueSymbolTable.cpp
${LLVM_DIR}/lib/IR/Verifier.cpp
${LLVM_DIR}/lib/MC/ConstantPools.cpp
${LLVM_DIR}/lib/MC/ELFObjectWriter.cpp
${LLVM_DIR}/lib/MC/MachObjectWriter.cpp
${LLVM_DIR}/lib/MC/MCAsmBackend.cpp
${LLVM_DIR}/lib/MC/MCAsmInfo.cpp
${LLVM_DIR}/lib/MC/MCAsmInfoCOFF.cpp
${LLVM_DIR}/lib/MC/MCAsmInfoDarwin.cpp
${LLVM_DIR}/lib/MC/MCAsmInfoELF.cpp
${LLVM_DIR}/lib/MC/MCAsmMacro.cpp
${LLVM_DIR}/lib/MC/MCAsmStreamer.cpp
${LLVM_DIR}/lib/MC/MCAssembler.cpp
${LLVM_DIR}/lib/MC/MCCodeEmitter.cpp
${LLVM_DIR}/lib/MC/MCCodeView.cpp
${LLVM_DIR}/lib/MC/MCContext.cpp
${LLVM_DIR}/lib/MC/MCDisassembler/MCRelocationInfo.cpp
${LLVM_DIR}/lib/MC/MCDwarf.cpp
${LLVM_DIR}/lib/MC/MCELFObjectTargetWriter.cpp
${LLVM_DIR}/lib/MC/MCELFStreamer.cpp
${LLVM_DIR}/lib/MC/MCExpr.cpp
${LLVM_DIR}/lib/MC/MCFragment.cpp
${LLVM_DIR}/lib/MC/MCInst.cpp
${LLVM_DIR}/lib/MC/MCInstPrinter.cpp
${LLVM_DIR}/lib/MC/MCInstrAnalysis.cpp
${LLVM_DIR}/lib/MC/MCInstrDesc.cpp
${LLVM_DIR}/lib/MC/MCLinkerOptimizationHint.cpp
${LLVM_DIR}/lib/MC/MCMachObjectTargetWriter.cpp
${LLVM_DIR}/lib/MC/MCMachOStreamer.cpp
${LLVM_DIR}/lib/MC/MCNullStreamer.cpp
${LLVM_DIR}/lib/MC/MCObjectFileInfo.cpp
${LLVM_DIR}/lib/MC/MCObjectStreamer.cpp
${LLVM_DIR}/lib/MC/MCObjectWriter.cpp
${LLVM_DIR}/lib/MC/MCParser/AsmLexer.cpp
${LLVM_DIR}/lib/MC/MCParser/AsmParser.cpp
${LLVM_DIR}/lib/MC/MCParser/COFFAsmParser.cpp
${LLVM_DIR}/lib/MC/MCParser/DarwinAsmParser.cpp
${LLVM_DIR}/lib/MC/MCParser/ELFAsmParser.cpp
${LLVM_DIR}/lib/MC/MCParser/MCAsmLexer.cpp
${LLVM_DIR}/lib/MC/MCParser/MCAsmParser.cpp
${LLVM_DIR}/lib/MC/MCParser/MCAsmParserExtension.cpp
${LLVM_DIR}/lib/MC/MCParser/MCTargetAsmParser.cpp
${LLVM_DIR}/lib/MC/MCParser/WasmAsmParser.cpp
${LLVM_DIR}/lib/MC/MCRegisterInfo.cpp
${LLVM_DIR}/lib/MC/MCSchedule.cpp
${LLVM_DIR}/lib/MC/MCSection.cpp
${LLVM_DIR}/lib/MC/MCSectionCOFF.cpp
${LLVM_DIR}/lib/MC/MCSectionELF.cpp
${LLVM_DIR}/lib/MC/MCSectionMachO.cpp
${LLVM_DIR}/lib/MC/MCSectionWasm.cpp
${LLVM_DIR}/lib/MC/MCSectionXCOFF.cpp
${LLVM_DIR}/lib/MC/MCStreamer.cpp
${LLVM_DIR}/lib/MC/MCSubtargetInfo.cpp
${LLVM_DIR}/lib/MC/MCSymbol.cpp
${LLVM_DIR}/lib/MC/MCSymbolELF.cpp
${LLVM_DIR}/lib/MC/MCTargetOptions.cpp
${LLVM_DIR}/lib/MC/MCValue.cpp
${LLVM_DIR}/lib/MC/MCWasmStreamer.cpp
${LLVM_DIR}/lib/MC/MCWin64EH.cpp
${LLVM_DIR}/lib/MC/MCWinCOFFStreamer.cpp
${LLVM_DIR}/lib/MC/MCWinEH.cpp
${LLVM_DIR}/lib/MC/MCXCOFFStreamer.cpp
${LLVM_DIR}/lib/MC/StringTableBuilder.cpp
${LLVM_DIR}/lib/MC/SubtargetFeature.cpp
${LLVM_DIR}/lib/MC/WasmObjectWriter.cpp
${LLVM_DIR}/lib/MC/WinCOFFObjectWriter.cpp
${LLVM_DIR}/lib/MC/XCOFFObjectWriter.cpp
${LLVM_DIR}/lib/Object/Archive.cpp
${LLVM_DIR}/lib/Object/Binary.cpp
${LLVM_DIR}/lib/Object/COFFObjectFile.cpp
${LLVM_DIR}/lib/Object/Decompressor.cpp
${LLVM_DIR}/lib/Object/ELF.cpp
${LLVM_DIR}/lib/Object/ELFObjectFile.cpp
${LLVM_DIR}/lib/Object/Error.cpp
${LLVM_DIR}/lib/Object/IRObjectFile.cpp
${LLVM_DIR}/lib/Object/IRSymtab.cpp
${LLVM_DIR}/lib/Object/MachOObjectFile.cpp
${LLVM_DIR}/lib/Object/MachOUniversal.cpp
${LLVM_DIR}/lib/Object/Minidump.cpp
${LLVM_DIR}/lib/Object/ModuleSymbolTable.cpp
${LLVM_DIR}/lib/Object/ObjectFile.cpp
${LLVM_DIR}/lib/Object/RecordStreamer.cpp
${LLVM_DIR}/lib/Object/RelocationResolver.cpp
${LLVM_DIR}/lib/Object/SymbolicFile.cpp
${LLVM_DIR}/lib/Object/TapiFile.cpp
${LLVM_DIR}/lib/Object/TapiUniversal.cpp
${LLVM_DIR}/lib/Object/WasmObjectFile.cpp
${LLVM_DIR}/lib/Object/WindowsResource.cpp
${LLVM_DIR}/lib/Object/XCOFFObjectFile.cpp
${LLVM_DIR}/lib/ProfileData/InstrProf.cpp
${LLVM_DIR}/lib/ProfileData/InstrProfReader.cpp
${LLVM_DIR}/lib/ProfileData/ProfileSummaryBuilder.cpp
${LLVM_DIR}/lib/ProfileData/SampleProf.cpp
${LLVM_DIR}/lib/ProfileData/SampleProfReader.cpp
${LLVM_DIR}/lib/Remarks/BitstreamRemarkParser.cpp
${LLVM_DIR}/lib/Remarks/BitstreamRemarkSerializer.cpp
${LLVM_DIR}/lib/Remarks/RemarkFormat.cpp
${LLVM_DIR}/lib/Remarks/RemarkParser.cpp
${LLVM_DIR}/lib/Remarks/RemarkSerializer.cpp
${LLVM_DIR}/lib/Remarks/RemarkStringTable.cpp
${LLVM_DIR}/lib/Remarks/YAMLRemarkParser.cpp
${LLVM_DIR}/lib/Remarks/YAMLRemarkSerializer.cpp
${LLVM_DIR}/lib/Support/ABIBreak.cpp
${LLVM_DIR}/lib/Support/APFloat.cpp
${LLVM_DIR}/lib/Support/APInt.cpp
${LLVM_DIR}/lib/Support/ARMAttributeParser.cpp
${LLVM_DIR}/lib/Support/ARMBuildAttrs.cpp
${LLVM_DIR}/lib/Support/ARMTargetParser.cpp
${LLVM_DIR}/lib/Support/BinaryStreamError.cpp
${LLVM_DIR}/lib/Support/BinaryStreamReader.cpp
${LLVM_DIR}/lib/Support/BinaryStreamRef.cpp
${LLVM_DIR}/lib/Support/BinaryStreamWriter.cpp
${LLVM_DIR}/lib/Support/BlockFrequency.cpp
${LLVM_DIR}/lib/Support/BranchProbability.cpp
${LLVM_DIR}/lib/Support/Chrono.cpp
${LLVM_DIR}/lib/Support/circular_raw_ostream.cpp
${LLVM_DIR}/lib/Support/CodeGenCoverage.cpp
${LLVM_DIR}/lib/Support/CommandLine.cpp
${LLVM_DIR}/lib/Support/Compression.cpp
${LLVM_DIR}/lib/Support/ConvertUTF.cpp
${LLVM_DIR}/lib/Support/ConvertUTFWrapper.cpp
${LLVM_DIR}/lib/Support/CrashRecoveryContext.cpp
${LLVM_DIR}/lib/Support/CRC.cpp
${LLVM_DIR}/lib/Support/DataExtractor.cpp
${LLVM_DIR}/lib/Support/Debug.cpp
${LLVM_DIR}/lib/Support/DebugCounter.cpp
${LLVM_DIR}/lib/Support/DJB.cpp
${LLVM_DIR}/lib/Support/DynamicLibrary.cpp
${LLVM_DIR}/lib/Support/Errno.cpp
${LLVM_DIR}/lib/Support/Error.cpp
${LLVM_DIR}/lib/Support/ErrorHandling.cpp
${LLVM_DIR}/lib/Support/FoldingSet.cpp
${LLVM_DIR}/lib/Support/FormattedStream.cpp
${LLVM_DIR}/lib/Support/FormatVariadic.cpp
${LLVM_DIR}/lib/Support/GraphWriter.cpp
${LLVM_DIR}/lib/Support/Hashing.cpp
${LLVM_DIR}/lib/Support/Host.cpp
${LLVM_DIR}/lib/Support/IntEqClasses.cpp
${LLVM_DIR}/lib/Support/IntervalMap.cpp
${LLVM_DIR}/lib/Support/ItaniumManglingCanonicalizer.cpp
${LLVM_DIR}/lib/Support/JSON.cpp
${LLVM_DIR}/lib/Support/KnownBits.cpp
${LLVM_DIR}/lib/Support/LEB128.cpp
${LLVM_DIR}/lib/Support/LineIterator.cpp
${LLVM_DIR}/lib/Support/Locale.cpp
${LLVM_DIR}/lib/Support/LowLevelType.cpp
${LLVM_DIR}/lib/Support/ManagedStatic.cpp
${LLVM_DIR}/lib/Support/MathExtras.cpp
${LLVM_DIR}/lib/Support/MD5.cpp
${LLVM_DIR}/lib/Support/Memory.cpp
${LLVM_DIR}/lib/Support/MemoryBuffer.cpp
${LLVM_DIR}/lib/Support/NativeFormatting.cpp
${LLVM_DIR}/lib/Support/Optional.cpp
${LLVM_DIR}/lib/Support/Path.cpp
${LLVM_DIR}/lib/Support/PrettyStackTrace.cpp
${LLVM_DIR}/lib/Support/Process.cpp
${LLVM_DIR}/lib/Support/Program.cpp
${LLVM_DIR}/lib/Support/RandomNumberGenerator.cpp
${LLVM_DIR}/lib/Support/raw_ostream.cpp
${LLVM_DIR}/lib/Support/regcomp.c
${LLVM_DIR}/lib/Support/regerror.c
${LLVM_DIR}/lib/Support/Regex.cpp
${LLVM_DIR}/lib/Support/regexec.c
${LLVM_DIR}/lib/Support/regfree.c
${LLVM_DIR}/lib/Support/regstrlcpy.c
${LLVM_DIR}/lib/Support/ScaledNumber.cpp
${LLVM_DIR}/lib/Support/ScopedPrinter.cpp
${LLVM_DIR}/lib/Support/SHA1.cpp
${LLVM_DIR}/lib/Support/Signals.cpp
${LLVM_DIR}/lib/Support/Signposts.cpp
${LLVM_DIR}/lib/Support/SmallPtrSet.cpp
${LLVM_DIR}/lib/Support/SmallVector.cpp
${LLVM_DIR}/lib/Support/SourceMgr.cpp
${LLVM_DIR}/lib/Support/SpecialCaseList.cpp
${LLVM_DIR}/lib/Support/Statistic.cpp
${LLVM_DIR}/lib/Support/StringExtras.cpp
${LLVM_DIR}/lib/Support/StringMap.cpp
${LLVM_DIR}/lib/Support/StringRef.cpp
${LLVM_DIR}/lib/Support/StringSaver.cpp
${LLVM_DIR}/lib/Support/SymbolRemappingReader.cpp
${LLVM_DIR}/lib/Support/TargetRegistry.cpp
${LLVM_DIR}/lib/Support/Threading.cpp
${LLVM_DIR}/lib/Support/ThreadLocal.cpp
${LLVM_DIR}/lib/Support/TimeProfiler.cpp
${LLVM_DIR}/lib/Support/Timer.cpp
${LLVM_DIR}/lib/Support/ToolOutputFile.cpp
${LLVM_DIR}/lib/Support/TrigramIndex.cpp
${LLVM_DIR}/lib/Support/Triple.cpp
${LLVM_DIR}/lib/Support/Twine.cpp
${LLVM_DIR}/lib/Support/Unicode.cpp
${LLVM_DIR}/lib/Support/UnicodeCaseFold.cpp
${LLVM_DIR}/lib/Support/Valgrind.cpp
${LLVM_DIR}/lib/Support/VirtualFileSystem.cpp
${LLVM_DIR}/lib/Support/Watchdog.cpp
${LLVM_DIR}/lib/Support/WithColor.cpp
${LLVM_DIR}/lib/Support/YAMLParser.cpp
${LLVM_DIR}/lib/Support/YAMLTraits.cpp
${LLVM_DIR}/lib/Target/TargetLoweringObjectFile.cpp
${LLVM_DIR}/lib/Target/TargetMachine.cpp
${LLVM_DIR}/lib/TextAPI/MachO/Architecture.cpp
${LLVM_DIR}/lib/TextAPI/MachO/ArchitectureSet.cpp
${LLVM_DIR}/lib/TextAPI/MachO/InterfaceFile.cpp
${LLVM_DIR}/lib/TextAPI/MachO/PackedVersion.cpp
${LLVM_DIR}/lib/TextAPI/MachO/Platform.cpp
${LLVM_DIR}/lib/TextAPI/MachO/Target.cpp
${LLVM_DIR}/lib/TextAPI/MachO/TextStub.cpp
${LLVM_DIR}/lib/TextAPI/MachO/TextStubCommon.cpp
${LLVM_DIR}/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
${LLVM_DIR}/lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp
${LLVM_DIR}/lib/Transforms/CFGuard/CFGuard.cpp
${LLVM_DIR}/lib/Transforms/Coroutines/CoroCleanup.cpp
${LLVM_DIR}/lib/Transforms/Coroutines/CoroEarly.cpp
${LLVM_DIR}/lib/Transforms/Coroutines/CoroElide.cpp
${LLVM_DIR}/lib/Transforms/Coroutines/CoroFrame.cpp
${LLVM_DIR}/lib/Transforms/Coroutines/CoroSplit.cpp
${LLVM_DIR}/lib/Transforms/Coroutines/Coroutines.cpp
${LLVM_DIR}/lib/Transforms/InstCombine/InstCombineAddSub.cpp
${LLVM_DIR}/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
${LLVM_DIR}/lib/Transforms/InstCombine/InstCombineAtomicRMW.cpp
${LLVM_DIR}/lib/Transforms/InstCombine/InstCombineCalls.cpp
${LLVM_DIR}/lib/Transforms/InstCombine/InstCombineCasts.cpp
${LLVM_DIR}/lib/Transforms/InstCombine/InstCombineCompares.cpp
${LLVM_DIR}/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
${LLVM_DIR}/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
${LLVM_DIR}/lib/Transforms/InstCombine/InstCombinePHI.cpp
${LLVM_DIR}/lib/Transforms/InstCombine/InstCombineSelect.cpp
${LLVM_DIR}/lib/Transforms/InstCombine/InstCombineShifts.cpp
${LLVM_DIR}/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
${LLVM_DIR}/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
${LLVM_DIR}/lib/Transforms/InstCombine/InstructionCombining.cpp
${LLVM_DIR}/lib/Transforms/Instrumentation/AddressSanitizer.cpp
${LLVM_DIR}/lib/Transforms/Instrumentation/BoundsChecking.cpp
${LLVM_DIR}/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
${LLVM_DIR}/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
${LLVM_DIR}/lib/Transforms/Instrumentation/GCOVProfiling.cpp
${LLVM_DIR}/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
${LLVM_DIR}/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
${LLVM_DIR}/lib/Transforms/Instrumentation/InstrOrderFile.cpp
${LLVM_DIR}/lib/Transforms/Instrumentation/InstrProfiling.cpp
${LLVM_DIR}/lib/Transforms/Instrumentation/Instrumentation.cpp
${LLVM_DIR}/lib/Transforms/Instrumentation/MemorySanitizer.cpp
${LLVM_DIR}/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
${LLVM_DIR}/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
${LLVM_DIR}/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
${LLVM_DIR}/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
${LLVM_DIR}/lib/Transforms/Instrumentation/ValueProfileCollector.cpp
${LLVM_DIR}/lib/Transforms/IPO/ArgumentPromotion.cpp
${LLVM_DIR}/lib/Transforms/IPO/Attributor.cpp
${LLVM_DIR}/lib/Transforms/IPO/BarrierNoopPass.cpp
${LLVM_DIR}/lib/Transforms/IPO/CalledValuePropagation.cpp
${LLVM_DIR}/lib/Transforms/IPO/ConstantMerge.cpp
${LLVM_DIR}/lib/Transforms/IPO/CrossDSOCFI.cpp
${LLVM_DIR}/lib/Transforms/IPO/DeadArgumentElimination.cpp
${LLVM_DIR}/lib/Transforms/IPO/ElimAvailExtern.cpp
${LLVM_DIR}/lib/Transforms/IPO/ForceFunctionAttrs.cpp
${LLVM_DIR}/lib/Transforms/IPO/FunctionAttrs.cpp
${LLVM_DIR}/lib/Transforms/IPO/GlobalDCE.cpp
${LLVM_DIR}/lib/Transforms/IPO/GlobalOpt.cpp
${LLVM_DIR}/lib/Transforms/IPO/GlobalSplit.cpp
${LLVM_DIR}/lib/Transforms/IPO/HotColdSplitting.cpp
${LLVM_DIR}/lib/Transforms/IPO/InferFunctionAttrs.cpp
${LLVM_DIR}/lib/Transforms/IPO/Inliner.cpp
${LLVM_DIR}/lib/Transforms/IPO/InlineSimple.cpp
${LLVM_DIR}/lib/Transforms/IPO/LowerTypeTests.cpp
${LLVM_DIR}/lib/Transforms/IPO/MergeFunctions.cpp
${LLVM_DIR}/lib/Transforms/IPO/PartialInlining.cpp
${LLVM_DIR}/lib/Transforms/IPO/PassManagerBuilder.cpp
${LLVM_DIR}/lib/Transforms/IPO/PruneEH.cpp
${LLVM_DIR}/lib/Transforms/IPO/SampleProfile.cpp
${LLVM_DIR}/lib/Transforms/IPO/SCCP.cpp
${LLVM_DIR}/lib/Transforms/IPO/StripDeadPrototypes.cpp
${LLVM_DIR}/lib/Transforms/IPO/WholeProgramDevirt.cpp
${LLVM_DIR}/lib/Transforms/Scalar/ADCE.cpp
${LLVM_DIR}/lib/Transforms/Scalar/AlignmentFromAssumptions.cpp
${LLVM_DIR}/lib/Transforms/Scalar/BDCE.cpp
${LLVM_DIR}/lib/Transforms/Scalar/CallSiteSplitting.cpp
${LLVM_DIR}/lib/Transforms/Scalar/ConstantHoisting.cpp
${LLVM_DIR}/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
${LLVM_DIR}/lib/Transforms/Scalar/DeadStoreElimination.cpp
${LLVM_DIR}/lib/Transforms/Scalar/DivRemPairs.cpp
${LLVM_DIR}/lib/Transforms/Scalar/EarlyCSE.cpp
${LLVM_DIR}/lib/Transforms/Scalar/Float2Int.cpp
${LLVM_DIR}/lib/Transforms/Scalar/GVN.cpp
${LLVM_DIR}/lib/Transforms/Scalar/GVNHoist.cpp
${LLVM_DIR}/lib/Transforms/Scalar/GVNSink.cpp
${LLVM_DIR}/lib/Transforms/Scalar/IndVarSimplify.cpp
${LLVM_DIR}/lib/Transforms/Scalar/InstSimplifyPass.cpp
${LLVM_DIR}/lib/Transforms/Scalar/JumpThreading.cpp
${LLVM_DIR}/lib/Transforms/Scalar/LICM.cpp
${LLVM_DIR}/lib/Transforms/Scalar/LoopDataPrefetch.cpp
${LLVM_DIR}/lib/Transforms/Scalar/LoopDeletion.cpp
${LLVM_DIR}/lib/Transforms/Scalar/LoopDistribute.cpp
${LLVM_DIR}/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
${LLVM_DIR}/lib/Transforms/Scalar/LoopInstSimplify.cpp
${LLVM_DIR}/lib/Transforms/Scalar/LoopInterchange.cpp
${LLVM_DIR}/lib/Transforms/Scalar/LoopLoadElimination.cpp
${LLVM_DIR}/lib/Transforms/Scalar/LoopRerollPass.cpp
${LLVM_DIR}/lib/Transforms/Scalar/LoopRotation.cpp
${LLVM_DIR}/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
${LLVM_DIR}/lib/Transforms/Scalar/LoopSink.cpp
${LLVM_DIR}/lib/Transforms/Scalar/LoopStrengthReduce.cpp
${LLVM_DIR}/lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp
${LLVM_DIR}/lib/Transforms/Scalar/LoopUnrollPass.cpp
${LLVM_DIR}/lib/Transforms/Scalar/LoopUnswitch.cpp
${LLVM_DIR}/lib/Transforms/Scalar/LoopVersioningLICM.cpp
${LLVM_DIR}/lib/Transforms/Scalar/LowerAtomic.cpp
${LLVM_DIR}/lib/Transforms/Scalar/LowerConstantIntrinsics.cpp
${LLVM_DIR}/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
${LLVM_DIR}/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
${LLVM_DIR}/lib/Transforms/Scalar/MemCpyOptimizer.cpp
${LLVM_DIR}/lib/Transforms/Scalar/MergedLoadStoreMotion.cpp
${LLVM_DIR}/lib/Transforms/Scalar/MergeICmps.cpp
${LLVM_DIR}/lib/Transforms/Scalar/NewGVN.cpp
${LLVM_DIR}/lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
${LLVM_DIR}/lib/Transforms/Scalar/Reassociate.cpp
${LLVM_DIR}/lib/Transforms/Scalar/SCCP.cpp
${LLVM_DIR}/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
${LLVM_DIR}/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
${LLVM_DIR}/lib/Transforms/Scalar/SimplifyCFGPass.cpp
${LLVM_DIR}/lib/Transforms/Scalar/SpeculativeExecution.cpp
${LLVM_DIR}/lib/Transforms/Scalar/SROA.cpp
${LLVM_DIR}/lib/Transforms/Scalar/TailRecursionElimination.cpp
${LLVM_DIR}/lib/Transforms/Scalar/WarnMissedTransforms.cpp
${LLVM_DIR}/lib/Transforms/Utils/ASanStackFrameLayout.cpp
${LLVM_DIR}/lib/Transforms/Utils/BasicBlockUtils.cpp
${LLVM_DIR}/lib/Transforms/Utils/BreakCriticalEdges.cpp
${LLVM_DIR}/lib/Transforms/Utils/BuildLibCalls.cpp
${LLVM_DIR}/lib/Transforms/Utils/BypassSlowDivision.cpp
${LLVM_DIR}/lib/Transforms/Utils/CallPromotionUtils.cpp
${LLVM_DIR}/lib/Transforms/Utils/CanonicalizeAliases.cpp
${LLVM_DIR}/lib/Transforms/Utils/CloneFunction.cpp
${LLVM_DIR}/lib/Transforms/Utils/CloneModule.cpp
${LLVM_DIR}/lib/Transforms/Utils/CodeExtractor.cpp
${LLVM_DIR}/lib/Transforms/Utils/CtorUtils.cpp
${LLVM_DIR}/lib/Transforms/Utils/DemoteRegToStack.cpp
${LLVM_DIR}/lib/Transforms/Utils/EntryExitInstrumenter.cpp
${LLVM_DIR}/lib/Transforms/Utils/EscapeEnumerator.cpp
${LLVM_DIR}/lib/Transforms/Utils/Evaluator.cpp
${LLVM_DIR}/lib/Transforms/Utils/FunctionComparator.cpp
${LLVM_DIR}/lib/Transforms/Utils/GlobalStatus.cpp
${LLVM_DIR}/lib/Transforms/Utils/ImportedFunctionsInliningStatistics.cpp
${LLVM_DIR}/lib/Transforms/Utils/InlineFunction.cpp
${LLVM_DIR}/lib/Transforms/Utils/LCSSA.cpp
${LLVM_DIR}/lib/Transforms/Utils/LibCallsShrinkWrap.cpp
${LLVM_DIR}/lib/Transforms/Utils/Local.cpp
${LLVM_DIR}/lib/Transforms/Utils/LoopRotationUtils.cpp
${LLVM_DIR}/lib/Transforms/Utils/LoopSimplify.cpp
${LLVM_DIR}/lib/Transforms/Utils/LoopUnroll.cpp
${LLVM_DIR}/lib/Transforms/Utils/LoopUnrollAndJam.cpp
${LLVM_DIR}/lib/Transforms/Utils/LoopUnrollPeel.cpp
${LLVM_DIR}/lib/Transforms/Utils/LoopUnrollRuntime.cpp
${LLVM_DIR}/lib/Transforms/Utils/LoopUtils.cpp
${LLVM_DIR}/lib/Transforms/Utils/LoopVersioning.cpp
${LLVM_DIR}/lib/Transforms/Utils/LowerInvoke.cpp
${LLVM_DIR}/lib/Transforms/Utils/Mem2Reg.cpp
${LLVM_DIR}/lib/Transforms/Utils/MisExpect.cpp
${LLVM_DIR}/lib/Transforms/Utils/ModuleUtils.cpp
${LLVM_DIR}/lib/Transforms/Utils/NameAnonGlobals.cpp
${LLVM_DIR}/lib/Transforms/Utils/PredicateInfo.cpp
${LLVM_DIR}/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
${LLVM_DIR}/lib/Transforms/Utils/SimplifyCFG.cpp
${LLVM_DIR}/lib/Transforms/Utils/SimplifyIndVar.cpp
${LLVM_DIR}/lib/Transforms/Utils/SimplifyLibCalls.cpp
${LLVM_DIR}/lib/Transforms/Utils/SizeOpts.cpp
${LLVM_DIR}/lib/Transforms/Utils/SSAUpdater.cpp
${LLVM_DIR}/lib/Transforms/Utils/SymbolRewriter.cpp
${LLVM_DIR}/lib/Transforms/Utils/ValueMapper.cpp
${LLVM_DIR}/lib/Transforms/Utils/VNCoercion.cpp
${LLVM_DIR}/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
${LLVM_DIR}/lib/Transforms/Vectorize/LoopVectorize.cpp
${LLVM_DIR}/lib/Transforms/Vectorize/SLPVectorizer.cpp
${LLVM_DIR}/lib/Transforms/Vectorize/VPlan.cpp
${LLVM_DIR}/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp
${LLVM_DIR}/lib/Transforms/Vectorize/VPlanPredicator.cpp
${LLVM_DIR}/lib/Transforms/Vectorize/VPlanTransforms.cpp
${LLVM_DIR}/lib/Transforms/Vectorize/VPlanVerifier.cpp
)
if(ARCH STREQUAL "x86" OR ARCH STREQUAL "x86_64")
list(APPEND LLVM_LIST
${LLVM_DIR}/lib/Target/X86/AsmParser/X86AsmParser.cpp
${LLVM_DIR}/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
${LLVM_DIR}/lib/Target/X86/MCTargetDesc/X86ATTInstPrinter.cpp
${LLVM_DIR}/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp
${LLVM_DIR}/lib/Target/X86/MCTargetDesc/X86InstComments.cpp
${LLVM_DIR}/lib/Target/X86/MCTargetDesc/X86InstPrinterCommon.cpp
${LLVM_DIR}/lib/Target/X86/MCTargetDesc/X86IntelInstPrinter.cpp
${LLVM_DIR}/lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
${LLVM_DIR}/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
${LLVM_DIR}/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
${LLVM_DIR}/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
${LLVM_DIR}/lib/Target/X86/MCTargetDesc/X86WinCOFFObjectWriter.cpp
${LLVM_DIR}/lib/Target/X86/MCTargetDesc/X86WinCOFFStreamer.cpp
${LLVM_DIR}/lib/Target/X86/MCTargetDesc/X86WinCOFFTargetStreamer.cpp
${LLVM_DIR}/lib/Target/X86/TargetInfo/X86TargetInfo.cpp
${LLVM_DIR}/lib/Target/X86/Utils/X86ShuffleDecode.cpp
${LLVM_DIR}/lib/Target/X86/X86AsmPrinter.cpp
${LLVM_DIR}/lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp
${LLVM_DIR}/lib/Target/X86/X86AvoidTrailingCall.cpp
${LLVM_DIR}/lib/Target/X86/X86CallFrameOptimization.cpp
${LLVM_DIR}/lib/Target/X86/X86CallingConv.cpp
${LLVM_DIR}/lib/Target/X86/X86CallLowering.cpp
${LLVM_DIR}/lib/Target/X86/X86CmovConversion.cpp
${LLVM_DIR}/lib/Target/X86/X86CondBrFolding.cpp
${LLVM_DIR}/lib/Target/X86/X86DiscriminateMemOps.cpp
${LLVM_DIR}/lib/Target/X86/X86DomainReassignment.cpp
${LLVM_DIR}/lib/Target/X86/X86EvexToVex.cpp
${LLVM_DIR}/lib/Target/X86/X86ExpandPseudo.cpp
${LLVM_DIR}/lib/Target/X86/X86FastISel.cpp
${LLVM_DIR}/lib/Target/X86/X86FixupBWInsts.cpp
${LLVM_DIR}/lib/Target/X86/X86FixupLEAs.cpp
${LLVM_DIR}/lib/Target/X86/X86FixupSetCC.cpp
${LLVM_DIR}/lib/Target/X86/X86FlagsCopyLowering.cpp
${LLVM_DIR}/lib/Target/X86/X86FloatingPoint.cpp
${LLVM_DIR}/lib/Target/X86/X86FrameLowering.cpp
${LLVM_DIR}/lib/Target/X86/X86IndirectBranchTracking.cpp
${LLVM_DIR}/lib/Target/X86/X86InsertPrefetch.cpp
${LLVM_DIR}/lib/Target/X86/X86InstrFMA3Info.cpp
${LLVM_DIR}/lib/Target/X86/X86InstrFoldTables.cpp
${LLVM_DIR}/lib/Target/X86/X86InstrInfo.cpp
${LLVM_DIR}/lib/Target/X86/X86InstructionSelector.cpp
${LLVM_DIR}/lib/Target/X86/X86InterleavedAccess.cpp
${LLVM_DIR}/lib/Target/X86/X86ISelDAGToDAG.cpp
${LLVM_DIR}/lib/Target/X86/X86ISelLowering.cpp
${LLVM_DIR}/lib/Target/X86/X86LegalizerInfo.cpp
${LLVM_DIR}/lib/Target/X86/X86MachineFunctionInfo.cpp
${LLVM_DIR}/lib/Target/X86/X86MacroFusion.cpp
${LLVM_DIR}/lib/Target/X86/X86MCInstLower.cpp
${LLVM_DIR}/lib/Target/X86/X86OptimizeLEAs.cpp
${LLVM_DIR}/lib/Target/X86/X86PadShortFunction.cpp
${LLVM_DIR}/lib/Target/X86/X86RegisterBankInfo.cpp
${LLVM_DIR}/lib/Target/X86/X86RegisterInfo.cpp
${LLVM_DIR}/lib/Target/X86/X86RetpolineThunks.cpp
${LLVM_DIR}/lib/Target/X86/X86SelectionDAGInfo.cpp
${LLVM_DIR}/lib/Target/X86/X86ShuffleDecodeConstantPool.cpp
${LLVM_DIR}/lib/Target/X86/X86SpeculativeLoadHardening.cpp
${LLVM_DIR}/lib/Target/X86/X86Subtarget.cpp
${LLVM_DIR}/lib/Target/X86/X86TargetMachine.cpp
${LLVM_DIR}/lib/Target/X86/X86TargetObjectFile.cpp
${LLVM_DIR}/lib/Target/X86/X86TargetTransformInfo.cpp
${LLVM_DIR}/lib/Target/X86/X86VZeroUpper.cpp
${LLVM_DIR}/lib/Target/X86/X86WinAllocaExpander.cpp
${LLVM_DIR}/lib/Target/X86/X86WinEHState.cpp
)
elseif(ARCH STREQUAL "mipsel" OR ARCH STREQUAL "mips64el")
list(APPEND LLVM_LIST
${LLVM_DIR}/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
${LLVM_DIR}/lib/Target/Mips/Disassembler/MipsDisassembler.cpp
${LLVM_DIR}/lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.cpp
${LLVM_DIR}/lib/Target/Mips/MCTargetDesc/MipsABIInfo.cpp
${LLVM_DIR}/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
${LLVM_DIR}/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
${LLVM_DIR}/lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp
${LLVM_DIR}/lib/Target/Mips/MCTargetDesc/MipsInstPrinter.cpp
${LLVM_DIR}/lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp
${LLVM_DIR}/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
${LLVM_DIR}/lib/Target/Mips/MCTargetDesc/MipsMCExpr.cpp
${LLVM_DIR}/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
${LLVM_DIR}/lib/Target/Mips/MCTargetDesc/MipsNaClELFStreamer.cpp
${LLVM_DIR}/lib/Target/Mips/MCTargetDesc/MipsOptionRecord.cpp
${LLVM_DIR}/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
${LLVM_DIR}/lib/Target/Mips/MicroMipsSizeReduction.cpp
${LLVM_DIR}/lib/Target/Mips/Mips16FrameLowering.cpp
${LLVM_DIR}/lib/Target/Mips/Mips16HardFloat.cpp
${LLVM_DIR}/lib/Target/Mips/Mips16HardFloatInfo.cpp
${LLVM_DIR}/lib/Target/Mips/Mips16InstrInfo.cpp
${LLVM_DIR}/lib/Target/Mips/Mips16ISelDAGToDAG.cpp
${LLVM_DIR}/lib/Target/Mips/Mips16ISelLowering.cpp
${LLVM_DIR}/lib/Target/Mips/Mips16RegisterInfo.cpp
${LLVM_DIR}/lib/Target/Mips/MipsAnalyzeImmediate.cpp
${LLVM_DIR}/lib/Target/Mips/MipsAsmPrinter.cpp
${LLVM_DIR}/lib/Target/Mips/MipsBranchExpansion.cpp
${LLVM_DIR}/lib/Target/Mips/MipsCallLowering.cpp
${LLVM_DIR}/lib/Target/Mips/MipsCCState.cpp
${LLVM_DIR}/lib/Target/Mips/MipsConstantIslandPass.cpp
${LLVM_DIR}/lib/Target/Mips/MipsDelaySlotFiller.cpp
${LLVM_DIR}/lib/Target/Mips/MipsExpandPseudo.cpp
${LLVM_DIR}/lib/Target/Mips/MipsFastISel.cpp
${LLVM_DIR}/lib/Target/Mips/MipsFrameLowering.cpp
${LLVM_DIR}/lib/Target/Mips/MipsInstrInfo.cpp
${LLVM_DIR}/lib/Target/Mips/MipsInstructionSelector.cpp
${LLVM_DIR}/lib/Target/Mips/MipsISelDAGToDAG.cpp
${LLVM_DIR}/lib/Target/Mips/MipsISelLowering.cpp
${LLVM_DIR}/lib/Target/Mips/MipsLegalizerInfo.cpp
${LLVM_DIR}/lib/Target/Mips/MipsMachineFunction.cpp
${LLVM_DIR}/lib/Target/Mips/MipsMCInstLower.cpp
${LLVM_DIR}/lib/Target/Mips/MipsModuleISelDAGToDAG.cpp
${LLVM_DIR}/lib/Target/Mips/MipsOptimizePICCall.cpp
${LLVM_DIR}/lib/Target/Mips/MipsOs16.cpp
${LLVM_DIR}/lib/Target/Mips/MipsPreLegalizerCombiner.cpp
${LLVM_DIR}/lib/Target/Mips/MipsRegisterBankInfo.cpp
${LLVM_DIR}/lib/Target/Mips/MipsRegisterInfo.cpp
${LLVM_DIR}/lib/Target/Mips/MipsSEFrameLowering.cpp
${LLVM_DIR}/lib/Target/Mips/MipsSEInstrInfo.cpp
${LLVM_DIR}/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
${LLVM_DIR}/lib/Target/Mips/MipsSEISelLowering.cpp
${LLVM_DIR}/lib/Target/Mips/MipsSERegisterInfo.cpp
${LLVM_DIR}/lib/Target/Mips/MipsSubtarget.cpp
${LLVM_DIR}/lib/Target/Mips/MipsTargetMachine.cpp
${LLVM_DIR}/lib/Target/Mips/MipsTargetObjectFile.cpp
${LLVM_DIR}/lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp
)
elseif(ARCH STREQUAL "aarch64")
list(APPEND LLVM_LIST
${LLVM_DIR}/lib/Support/AArch64TargetParser.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64A53Fix835769.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64AdvSIMDScalarPass.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64AsmPrinter.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64BranchTargets.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64CallingConvention.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64CallLowering.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64CollectLOH.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64CompressJumpTables.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64CondBrTuning.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64ConditionalCompares.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64ConditionOptimizer.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64DeadRegisterDefinitionsPass.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64ExpandImm.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64FalkorHWPFFix.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64FastISel.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64FrameLowering.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64InstrInfo.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64InstructionSelector.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64ISelLowering.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64LegalizerInfo.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64MacroFusion.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64MCInstLower.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64PBQPRegAlloc.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64PreLegalizerCombiner.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64PromoteConstant.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64RedundantCopyElimination.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64RegisterBankInfo.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64RegisterInfo.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64SIMDInstrOpt.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64SpeculationHardening.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64StackTagging.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64StackTaggingPreRA.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64StorePairSuppress.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64Subtarget.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64TargetMachine.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64TargetObjectFile.cpp
${LLVM_DIR}/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
${LLVM_DIR}/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
${LLVM_DIR}/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
${LLVM_DIR}/lib/Target/AArch64/Disassembler/AArch64ExternalSymbolizer.cpp
${LLVM_DIR}/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
${LLVM_DIR}/lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
${LLVM_DIR}/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
${LLVM_DIR}/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
${LLVM_DIR}/lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
${LLVM_DIR}/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
${LLVM_DIR}/lib/Target/AArch64/MCTargetDesc/AArch64MCCodeEmitter.cpp
${LLVM_DIR}/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp
${LLVM_DIR}/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
${LLVM_DIR}/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp
${LLVM_DIR}/lib/Target/AArch64/MCTargetDesc/AArch64WinCOFFObjectWriter.cpp
${LLVM_DIR}/lib/Target/AArch64/MCTargetDesc/AArch64WinCOFFStreamer.cpp
${LLVM_DIR}/lib/Target/AArch64/TargetInfo/AArch64TargetInfo.cpp
${LLVM_DIR}/lib/Target/AArch64/Utils/AArch64BaseInfo.cpp
)
elseif(ARCH STREQUAL "arm")
list(APPEND LLVM_LIST
${LLVM_DIR}/lib/Target/ARM/A15SDOptimizer.cpp
${LLVM_DIR}/lib/Target/ARM/ARMAsmPrinter.cpp
${LLVM_DIR}/lib/Target/ARM/ARMBaseInstrInfo.cpp
${LLVM_DIR}/lib/Target/ARM/ARMBaseRegisterInfo.cpp
${LLVM_DIR}/lib/Target/ARM/ARMBasicBlockInfo.cpp
${LLVM_DIR}/lib/Target/ARM/ARMCallingConv.cpp
${LLVM_DIR}/lib/Target/ARM/ARMCallLowering.cpp
${LLVM_DIR}/lib/Target/ARM/ARMConstantIslandPass.cpp
${LLVM_DIR}/lib/Target/ARM/ARMConstantPoolValue.cpp
${LLVM_DIR}/lib/Target/ARM/ARMExpandPseudoInsts.cpp
${LLVM_DIR}/lib/Target/ARM/ARMFastISel.cpp
${LLVM_DIR}/lib/Target/ARM/ARMFrameLowering.cpp
${LLVM_DIR}/lib/Target/ARM/ARMHazardRecognizer.cpp
${LLVM_DIR}/lib/Target/ARM/ARMInstrInfo.cpp
${LLVM_DIR}/lib/Target/ARM/ARMInstructionSelector.cpp
${LLVM_DIR}/lib/Target/ARM/ARMISelDAGToDAG.cpp
${LLVM_DIR}/lib/Target/ARM/ARMISelLowering.cpp
${LLVM_DIR}/lib/Target/ARM/ARMLegalizerInfo.cpp
${LLVM_DIR}/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
${LLVM_DIR}/lib/Target/ARM/ARMLowOverheadLoops.cpp
${LLVM_DIR}/lib/Target/ARM/ARMMachineFunctionInfo.cpp
${LLVM_DIR}/lib/Target/ARM/ARMMacroFusion.cpp
${LLVM_DIR}/lib/Target/ARM/ARMMCInstLower.cpp
${LLVM_DIR}/lib/Target/ARM/ARMOptimizeBarriersPass.cpp
${LLVM_DIR}/lib/Target/ARM/ARMParallelDSP.cpp
${LLVM_DIR}/lib/Target/ARM/ARMRegisterBankInfo.cpp
${LLVM_DIR}/lib/Target/ARM/ARMRegisterInfo.cpp
${LLVM_DIR}/lib/Target/ARM/ARMSelectionDAGInfo.cpp
${LLVM_DIR}/lib/Target/ARM/ARMSubtarget.cpp
${LLVM_DIR}/lib/Target/ARM/ARMTargetMachine.cpp
${LLVM_DIR}/lib/Target/ARM/ARMTargetObjectFile.cpp
${LLVM_DIR}/lib/Target/ARM/ARMTargetTransformInfo.cpp
${LLVM_DIR}/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
${LLVM_DIR}/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
${LLVM_DIR}/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
${LLVM_DIR}/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
${LLVM_DIR}/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
${LLVM_DIR}/lib/Target/ARM/MCTargetDesc/ARMInstPrinter.cpp
${LLVM_DIR}/lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
${LLVM_DIR}/lib/Target/ARM/MCTargetDesc/ARMMachORelocationInfo.cpp
${LLVM_DIR}/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp
${LLVM_DIR}/lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
${LLVM_DIR}/lib/Target/ARM/MCTargetDesc/ARMMCExpr.cpp
${LLVM_DIR}/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
${LLVM_DIR}/lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp
${LLVM_DIR}/lib/Target/ARM/MCTargetDesc/ARMUnwindOpAsm.cpp
${LLVM_DIR}/lib/Target/ARM/MCTargetDesc/ARMWinCOFFObjectWriter.cpp
${LLVM_DIR}/lib/Target/ARM/MCTargetDesc/ARMWinCOFFStreamer.cpp
${LLVM_DIR}/lib/Target/ARM/MLxExpansionPass.cpp
${LLVM_DIR}/lib/Target/ARM/MVEGatherScatterLowering.cpp
${LLVM_DIR}/lib/Target/ARM/MVETailPredication.cpp
${LLVM_DIR}/lib/Target/ARM/MVEVPTBlockPass.cpp
${LLVM_DIR}/lib/Target/ARM/TargetInfo/ARMTargetInfo.cpp
${LLVM_DIR}/lib/Target/ARM/Thumb1FrameLowering.cpp
${LLVM_DIR}/lib/Target/ARM/Thumb1InstrInfo.cpp
${LLVM_DIR}/lib/Target/ARM/Thumb2InstrInfo.cpp
${LLVM_DIR}/lib/Target/ARM/Thumb2ITBlockPass.cpp
${LLVM_DIR}/lib/Target/ARM/Thumb2SizeReduction.cpp
${LLVM_DIR}/lib/Target/ARM/ThumbRegisterInfo.cpp
${LLVM_DIR}/lib/Target/ARM/Utils/ARMBaseInfo.cpp
)
elseif(ARCH STREQUAL "ppc64le")
list(APPEND LLVM_LIST
${LLVM_DIR}/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
${LLVM_DIR}/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
${LLVM_DIR}/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
${LLVM_DIR}/lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
${LLVM_DIR}/lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp
${LLVM_DIR}/lib/Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp
${LLVM_DIR}/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
${LLVM_DIR}/lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp
${LLVM_DIR}/lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp
${LLVM_DIR}/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
${LLVM_DIR}/lib/Target/PowerPC/MCTargetDesc/PPCPredicates.cpp
${LLVM_DIR}/lib/Target/PowerPC/MCTargetDesc/PPCXCOFFObjectWriter.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCAsmPrinter.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCBoolRetToInt.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCBranchCoalescing.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCBranchSelector.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCCallingConv.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCCCState.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCCTRLoops.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCEarlyReturn.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCExpandISEL.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCFastISel.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCFrameLowering.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCHazardRecognizers.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCInstrInfo.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCISelLowering.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCLoopInstrFormPrep.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCLowerMASSVEntries.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCMachineFunctionInfo.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCMachineScheduler.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCMCInstLower.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCMIPeephole.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCPreEmitPeephole.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCQPXLoadSplat.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCReduceCRLogicals.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCRegisterInfo.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCSubtarget.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCTargetMachine.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCTargetObjectFile.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCTLSDynamicCall.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCTOCRegDeps.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCVSXCopy.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCVSXFMAMutate.cpp
${LLVM_DIR}/lib/Target/PowerPC/PPCVSXSwapRemoval.cpp
${LLVM_DIR}/lib/Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp
)
elseif(ARCH STREQUAL "riscv64")
list(APPEND LLVM_LIST
${LLVM_DIR}/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
${LLVM_DIR}/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
${LLVM_DIR}/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
${LLVM_DIR}/lib/Target/RISCV/MCTargetDesc/RISCVELFObjectWriter.cpp
${LLVM_DIR}/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
${LLVM_DIR}/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.cpp
${LLVM_DIR}/lib/Target/RISCV/MCTargetDesc/RISCVMCAsmInfo.cpp
${LLVM_DIR}/lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp
${LLVM_DIR}/lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp
${LLVM_DIR}/lib/Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.cpp
${LLVM_DIR}/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp
${LLVM_DIR}/lib/Target/RISCV/RISCVAsmPrinter.cpp
${LLVM_DIR}/lib/Target/RISCV/RISCVCallLowering.cpp
${LLVM_DIR}/lib/Target/RISCV/RISCVExpandPseudoInsts.cpp
${LLVM_DIR}/lib/Target/RISCV/RISCVFrameLowering.cpp
${LLVM_DIR}/lib/Target/RISCV/RISCVInstrInfo.cpp
${LLVM_DIR}/lib/Target/RISCV/RISCVInstructionSelector.cpp
${LLVM_DIR}/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
${LLVM_DIR}/lib/Target/RISCV/RISCVISelLowering.cpp
${LLVM_DIR}/lib/Target/RISCV/RISCVLegalizerInfo.cpp
${LLVM_DIR}/lib/Target/RISCV/RISCVMCInstLower.cpp
${LLVM_DIR}/lib/Target/RISCV/RISCVMergeBaseOffset.cpp
${LLVM_DIR}/lib/Target/RISCV/RISCVRegisterBankInfo.cpp
${LLVM_DIR}/lib/Target/RISCV/RISCVRegisterInfo.cpp
${LLVM_DIR}/lib/Target/RISCV/RISCVSubtarget.cpp
${LLVM_DIR}/lib/Target/RISCV/RISCVTargetMachine.cpp
${LLVM_DIR}/lib/Target/RISCV/RISCVTargetObjectFile.cpp
${LLVM_DIR}/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
${LLVM_DIR}/lib/Target/RISCV/TargetInfo/RISCVTargetInfo.cpp
${LLVM_DIR}/lib/Target/RISCV/Utils/RISCVBaseInfo.cpp
${LLVM_DIR}/lib/Target/RISCV/Utils/RISCVMatInt.cpp
)
endif()
if(REACTOR_EMIT_DEBUG_INFO)
list(APPEND LLVM_LIST
${LLVM_DIR}/lib/Demangle/ItaniumDemangle.cpp
)
endif()
set(LLVM_INCLUDE_DIR "")
if(WIN32)
list(APPEND LLVM_INCLUDE_DIR ${LLVM_CONFIG_DIR}/windows/include)
elseif(LINUX)
list(APPEND LLVM_INCLUDE_DIR ${LLVM_CONFIG_DIR}/linux/include)
list(APPEND LIBBACKTRACE_INCLUDE_DIR ${LIBBACKTRACE_CONFIG_DIR}/linux/include)
elseif(APPLE)
list(APPEND LLVM_INCLUDE_DIR ${LLVM_CONFIG_DIR}/darwin/include)
list(APPEND LIBBACKTRACE_INCLUDE_DIR ${LIBBACKTRACE_CONFIG_DIR}/darwin/include)
elseif(ANDROID)
list(APPEND LLVM_INCLUDE_DIR ${LLVM_CONFIG_DIR}/android/include)
list(APPEND LIBBACKTRACE_INCLUDE_DIR ${LIBBACKTRACE_CONFIG_DIR}/android/include)
elseif(FUCHSIA)
list(APPEND LLVM_INCLUDE_DIR ${LLVM_CONFIG_DIR}/fuchsia/include)
endif()
list(APPEND LLVM_INCLUDE_DIR
${LLVM_DIR}/include
${LLVM_DIR}/lib/Target/AArch64
${LLVM_DIR}/lib/Target/ARM
${LLVM_DIR}/lib/Target/Mips
${LLVM_DIR}/lib/Target/PowerPC
${LLVM_DIR}/lib/Target/RISCV
${LLVM_DIR}/lib/Target/X86
${LLVM_CONFIG_DIR}/common/include
${LLVM_CONFIG_DIR}/common/lib/IR
${LLVM_CONFIG_DIR}/common/lib/Target/AArch64
${LLVM_CONFIG_DIR}/common/lib/Target/ARM
${LLVM_CONFIG_DIR}/common/lib/Target/Mips
${LLVM_CONFIG_DIR}/common/lib/Target/PowerPC
${LLVM_CONFIG_DIR}/common/lib/Target/RISCV
${LLVM_CONFIG_DIR}/common/lib/Target/X86
${LLVM_CONFIG_DIR}/common/lib/Transforms/InstCombine
)
# Suppress known LLVM warnings
set(LLVM_COMPILE_OPTIONS "")
if(FUCHSIA)
list(APPEND LLVM_COMPILE_OPTIONS
"-Wno-cpp" # Ignore #warning for unimplemented features in Process.inc.
)
elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
list(APPEND LLVM_COMPILE_OPTIONS
"-Wno-deprecated-declarations"
)
elseif(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
list(APPEND LLVM_COMPILE_OPTIONS
"-Wno-noexcept-type" # mangled name for ‘X’ will change in C++17 because the exception specification is part of a function type
"-Wno-maybe-uninitialized" # ‘X’ may be used uninitialized in this function
)
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 8)
list(APPEND LLVM_COMPILE_OPTIONS
"-Wno-class-memaccess" # memset/memcmp used on non-trivial class object
"-Wno-attributes" # declared inline but not inline
)
endif()
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 9)
list(APPEND LLVM_COMPILE_OPTIONS
"-Wno-init-list-lifetime" # assignment from temporary initializer_list does not extend the lifetime of the underlying array
)
endif()
elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
list(APPEND LLVM_COMPILE_OPTIONS
"/wd4141" # 'inline': used more than once
"/wd4146" # unary minus operator applied to unsigned type, result still unsigned
"/wd4244" # 'X': conversion from 'uint64_t' to 'const unsigned int', possible loss of data
"/wd4267" # 'X': conversion from 'size_t' to 'unsigned int', possible loss of data
"/wd4291" # 'void X new(size_t,unsigned int,unsigned int)': no matching operator delete found; memory will not be freed if initialization throws an exception
"/wd4319" # 'X': zero extending 'unsigned int' to 'uint64_t' of greater size
"/wd4624" # 'X': destructor was implicitly defined as deleted
"/wd4805" # 'X': unsafe mix of type 'unsigned int' and type 'bool' in operation
"/wd4996" # 'X': Call to 'Y' with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct.
)
endif()
add_library(llvm STATIC EXCLUDE_FROM_ALL ${LLVM_LIST})
set_target_properties(llvm PROPERTIES
POSITION_INDEPENDENT_CODE 1
)
target_include_directories(llvm
PUBLIC
"${LLVM_INCLUDE_DIR}"
)
target_compile_options(llvm
PUBLIC
"${LLVM_COMPILE_OPTIONS}"
)
target_compile_definitions(llvm
PUBLIC
"__STDC_CONSTANT_MACROS"
"__STDC_LIMIT_MACROS"
)
# Add required libraries for LLVM
if(LINUX OR APPLE)
target_link_libraries(llvm dl z)
endif()
if(SWIFTSHADER_EMIT_COVERAGE)
# llvm-with-cov is an llvm target with additional coverage library
# functionality. This is used to build 'turbo-cov', a custom and faster
# reimplementation of llvm-cov.
add_library(llvm-with-cov STATIC EXCLUDE_FROM_ALL
${LLVM_DIR}/lib/ProfileData/InstrProfReader.cpp
${LLVM_DIR}/lib/ProfileData/ProfileSummaryBuilder.cpp
${LLVM_DIR}/lib/ProfileData/Coverage/CoverageMapping.cpp
${LLVM_DIR}/lib/ProfileData/Coverage/CoverageMappingReader.cpp
${LLVM_DIR}/lib/Support/Compression.cpp
)
set_target_properties(llvm-with-cov PROPERTIES
POSITION_INDEPENDENT_CODE 1
FOLDER "LLVM"
)
target_include_directories(llvm-with-cov
PUBLIC
${LLVM_INCLUDE_DIR}
)
target_compile_definitions(llvm-with-cov
PUBLIC
"__STDC_CONSTANT_MACROS"
"__STDC_LIMIT_MACROS"
)
if(LINUX OR APPLE)
target_link_libraries(llvm-with-cov llvm pthread)
endif()
endif()