Initial drop of LLVM 10 to third_party/llvm-10.0
Not referenced or built by any build system yet.
llvm-10-update: d32170dbd
Bug: b/152339534
Change-Id: Ifeb90a8c6fb096f4e9a457a3d141f509f5d50800
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7177635..9a522d2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,18 @@
-cmake_minimum_required(VERSION 3.6.3)
+# 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.
+
+cmake_minimum_required(VERSION 3.6.3)
set(CMAKE_CXX_STANDARD 14)
@@ -579,975 +593,7 @@
###########################################################
# LLVM
###########################################################
-
-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/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/EHPersonalities.cpp
- ${LLVM_DIR}/lib/Analysis/GlobalsModRef.cpp
- ${LLVM_DIR}/lib/Analysis/InlineCost.cpp
- ${LLVM_DIR}/lib/Analysis/InstructionSimplify.cpp
- ${LLVM_DIR}/lib/Analysis/IteratedDominanceFrontier.cpp
- ${LLVM_DIR}/lib/Analysis/IVUsers.cpp
- ${LLVM_DIR}/lib/Analysis/LazyBlockFrequencyInfo.cpp
- ${LLVM_DIR}/lib/Analysis/LazyBranchProbabilityInfo.cpp
- ${LLVM_DIR}/lib/Analysis/LazyValueInfo.cpp
- ${LLVM_DIR}/lib/Analysis/Loads.cpp
- ${LLVM_DIR}/lib/Analysis/LoopAnalysisManager.cpp
- ${LLVM_DIR}/lib/Analysis/LoopInfo.cpp
- ${LLVM_DIR}/lib/Analysis/LoopPass.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/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/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/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/TargetLibraryInfo.cpp
- ${LLVM_DIR}/lib/Analysis/TargetTransformInfo.cpp
- ${LLVM_DIR}/lib/Analysis/TypeBasedAliasAnalysis.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/AsmParser/LLLexer.cpp
- ${LLVM_DIR}/lib/AsmParser/LLParser.cpp
- ${LLVM_DIR}/lib/AsmParser/Parser.cpp
- ${LLVM_DIR}/lib/BinaryFormat/Dwarf.cpp
- ${LLVM_DIR}/lib/BinaryFormat/Magic.cpp
- ${LLVM_DIR}/lib/BinaryFormat/Wasm.cpp
- ${LLVM_DIR}/lib/Bitcode/Reader/BitcodeReader.cpp
- ${LLVM_DIR}/lib/Bitcode/Reader/BitstreamReader.cpp
- ${LLVM_DIR}/lib/Bitcode/Reader/MetadataLoader.cpp
- ${LLVM_DIR}/lib/Bitcode/Reader/ValueList.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/DbgValueHistoryCalculator.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/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/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/ExpandISelPseudos.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/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/GlobalISel/CallLowering.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/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/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/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/MachinePassRegistry.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/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/MIRPrinter.cpp
- ${LLVM_DIR}/lib/CodeGen/MIRPrintingPass.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/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/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/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/Formatters.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/TypeDumpVisitor.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/ExecutionEngine/ExecutionEngine.cpp
- ${LLVM_DIR}/lib/ExecutionEngine/GDBRegistrationListener.cpp
- ${LLVM_DIR}/lib/ExecutionEngine/Orc/Core.cpp
- ${LLVM_DIR}/lib/ExecutionEngine/Orc/Legacy.cpp
- ${LLVM_DIR}/lib/ExecutionEngine/Orc/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/RuntimeDyldChecker.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/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/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/Operator.cpp
- ${LLVM_DIR}/lib/IR/OptBisect.cpp
- ${LLVM_DIR}/lib/IR/Pass.cpp
- ${LLVM_DIR}/lib/IR/PassManager.cpp
- ${LLVM_DIR}/lib/IR/PassRegistry.cpp
- ${LLVM_DIR}/lib/IR/ProfileSummary.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/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/MCCodePadder.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/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/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/StringTableBuilder.cpp
- ${LLVM_DIR}/lib/MC/SubtargetFeature.cpp
- ${LLVM_DIR}/lib/MC/WasmObjectWriter.cpp
- ${LLVM_DIR}/lib/MC/WinCOFFObjectWriter.cpp
- ${LLVM_DIR}/lib/Object/Archive.cpp
- ${LLVM_DIR}/lib/Object/Binary.cpp
- ${LLVM_DIR}/lib/Object/COFFObjectFile.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/ModuleSymbolTable.cpp
- ${LLVM_DIR}/lib/Object/ObjectFile.cpp
- ${LLVM_DIR}/lib/Object/RecordStreamer.cpp
- ${LLVM_DIR}/lib/Object/SymbolicFile.cpp
- ${LLVM_DIR}/lib/Object/WasmObjectFile.cpp
- ${LLVM_DIR}/lib/Object/WindowsResource.cpp
- ${LLVM_DIR}/lib/ProfileData/InstrProf.cpp
- ${LLVM_DIR}/lib/Support/APFloat.cpp
- ${LLVM_DIR}/lib/Support/APInt.cpp
- ${LLVM_DIR}/lib/Support/APSInt.cpp
- ${LLVM_DIR}/lib/Support/ARMAttributeParser.cpp
- ${LLVM_DIR}/lib/Support/ARMBuildAttrs.cpp
- ${LLVM_DIR}/lib/Support/Atomic.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/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/JamCRC.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/Mutex.cpp
- ${LLVM_DIR}/lib/Support/NativeFormatting.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/RWMutex.cpp
- ${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/SmallPtrSet.cpp
- ${LLVM_DIR}/lib/Support/SmallVector.cpp
- ${LLVM_DIR}/lib/Support/SourceMgr.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/TargetParser.cpp
- ${LLVM_DIR}/lib/Support/TargetRegistry.cpp
- ${LLVM_DIR}/lib/Support/Threading.cpp
- ${LLVM_DIR}/lib/Support/Timer.cpp
- ${LLVM_DIR}/lib/Support/ToolOutputFile.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/YAMLParser.cpp
- ${LLVM_DIR}/lib/Support/YAMLTraits.cpp
- ${LLVM_DIR}/lib/Target/TargetLoweringObjectFile.cpp
- ${LLVM_DIR}/lib/Target/TargetMachine.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/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/IPO/BarrierNoopPass.cpp
- ${LLVM_DIR}/lib/Transforms/Scalar/ADCE.cpp
- ${LLVM_DIR}/lib/Transforms/Scalar/ConstantHoisting.cpp
- ${LLVM_DIR}/lib/Transforms/Scalar/DeadStoreElimination.cpp
- ${LLVM_DIR}/lib/Transforms/Scalar/EarlyCSE.cpp
- ${LLVM_DIR}/lib/Transforms/Scalar/GVN.cpp
- ${LLVM_DIR}/lib/Transforms/Scalar/LICM.cpp
- ${LLVM_DIR}/lib/Transforms/Scalar/LoopDataPrefetch.cpp
- ${LLVM_DIR}/lib/Transforms/Scalar/LoopStrengthReduce.cpp
- ${LLVM_DIR}/lib/Transforms/Scalar/MergeICmps.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/SimplifyCFGPass.cpp
- ${LLVM_DIR}/lib/Transforms/Scalar/SROA.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/CloneFunction.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/InlineFunction.cpp
- ${LLVM_DIR}/lib/Transforms/Utils/LCSSA.cpp
- ${LLVM_DIR}/lib/Transforms/Utils/Local.cpp
- ${LLVM_DIR}/lib/Transforms/Utils/LoopSimplify.cpp
- ${LLVM_DIR}/lib/Transforms/Utils/LoopUtils.cpp
- ${LLVM_DIR}/lib/Transforms/Utils/LowerInvoke.cpp
- ${LLVM_DIR}/lib/Transforms/Utils/OrderedInstructions.cpp
- ${LLVM_DIR}/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
- ${LLVM_DIR}/lib/Transforms/Utils/SimplifyCFG.cpp
- ${LLVM_DIR}/lib/Transforms/Utils/SimplifyLibCalls.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}/../stubs/Stubs.cpp
-)
-
-if(ARCH STREQUAL "x86" OR ARCH STREQUAL "x86_64")
- list(APPEND LLVM_LIST
- ${LLVM_DIR}/lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp
- ${LLVM_DIR}/lib/Target/X86/AsmParser/X86AsmParser.cpp
- ${LLVM_DIR}/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
- ${LLVM_DIR}/lib/Target/X86/InstPrinter/X86InstComments.cpp
- ${LLVM_DIR}/lib/Target/X86/InstPrinter/X86InstPrinterCommon.cpp
- ${LLVM_DIR}/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp
- ${LLVM_DIR}/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
- ${LLVM_DIR}/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.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/ShadowCallStack.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/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/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/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/InstPrinter/MipsInstPrinter.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/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/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/CodeGen/GlobalMerge.cpp
- ${LLVM_DIR}/lib/CodeGen/RegAllocPBQP.cpp
- ${LLVM_DIR}/lib/MC/ConstantPools.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/AArch64CallLowering.cpp
- ${LLVM_DIR}/lib/Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp
- ${LLVM_DIR}/lib/Target/AArch64/AArch64CollectLOH.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/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/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/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/InstPrinter/AArch64InstPrinter.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/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
- ${LLVM_DIR}/lib/Transforms/Scalar/LoopDataPrefetch.cpp
- ${LLVM_DIR}/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.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/ARMCallLowering.cpp
- ${LLVM_DIR}/lib/Target/ARM/ARMCodeGenPrepare.cpp
- ${LLVM_DIR}/lib/Target/ARM/ARMComputeBlockSize.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/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/InstPrinter/ARMInstPrinter.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/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/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/InstPrinter/PPCInstPrinter.cpp
- ${LLVM_DIR}/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
- ${LLVM_DIR}/lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.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/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/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/PPCLoopPreIncPrep.cpp
- ${LLVM_DIR}/lib/Target/PowerPC/PPCMachineFunctionInfo.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
- )
-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)
-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/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/X86
- ${LLVM_CONFIG_DIR}/common/lib/Transforms/InstCombine
-)
-
-# Suppress known LLVM warnings
-set(LLVM_COMPILE_OPTIONS)
-if(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
- "-Wno-unused-but-set-variable" # variable ‘X’ set but not used
- )
- 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
- INCLUDE_DIRECTORIES "${LLVM_INCLUDE_DIR}"
- COMPILE_OPTIONS "${LLVM_COMPILE_OPTIONS}"
- COMPILE_DEFINITIONS "__STDC_CONSTANT_MACROS; __STDC_LIMIT_MACROS;"
- FOLDER "LLVM"
-)
-
-# Add required libraries for LLVM
-if(LINUX)
- target_link_libraries(llvm dl)
-endif()
+add_subdirectory(third_party/llvm-7.0)
###########################################################
@@ -1725,7 +771,6 @@
set(COMMON_INCLUDE_DIR
${SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/include
- ${LLVM_INCLUDE_DIR}
${LIBBACKTRACE_INCLUDE_DIR}
)
set(OPENGL_INCLUDE_DIR
diff --git a/tests/regres/cmd/regres/main.go b/tests/regres/cmd/regres/main.go
index 5b85e28..0766fc5 100644
--- a/tests/regres/cmd/regres/main.go
+++ b/tests/regres/cmd/regres/main.go
@@ -79,8 +79,10 @@
dryRun = flag.Bool("dry", false, "don't post regres reports to gerrit")
maxProcMemory = flag.Uint64("max-proc-mem", shell.MaxProcMemory, "maximum virtual memory per child process")
dailyNow = flag.Bool("dailynow", false, "Start by running the daily pass")
+ dailyOnly = flag.Bool("dailyonly", false, "Run only the daily pass")
dailyChange = flag.String("dailychange", "", "Change hash to use for daily pass, HEAD if not provided")
priority = flag.String("priority", "", "Prioritize a single change with the given id")
+ limit = flag.Int("limit", 0, "only run a maximum of this number of tests")
)
func main() {
@@ -97,6 +99,7 @@
keepCheckouts: *keepCheckouts,
dryRun: *dryRun,
dailyNow: *dailyNow,
+ dailyOnly: *dailyOnly,
dailyChange: *dailyChange,
priority: *priority,
}
@@ -119,6 +122,7 @@
dryRun bool // don't post any reviews
maxProcMemory uint64 // max virtual memory for child processes
dailyNow bool // start with a daily run
+ dailyOnly bool // run only the daily run
dailyChange string // Change hash to use for daily pass, HEAD if not provided
priority string // Prioritize a single change with the given id
}
@@ -200,16 +204,24 @@
lastUpdatedTestLists := toDate(time.Now())
lastQueriedChanges := time.Time{}
- if r.dailyNow {
+ if r.dailyNow || r.dailyOnly {
lastUpdatedTestLists = date{}
}
for {
if now := time.Now(); toDate(now) != lastUpdatedTestLists && now.Hour() >= dailyUpdateTestListHour {
lastUpdatedTestLists = toDate(now)
- if err := r.updateTestLists(client); err != nil {
+ if err := r.updateTestLists(client, subzero); err != nil {
log.Println(err.Error())
}
+ if err := r.updateTestLists(client, llvm); err != nil {
+ log.Println(err.Error())
+ }
+ }
+
+ if r.dailyOnly {
+ log.Println("Daily finished with --dailyonly. Stopping")
+ return nil
}
// Update list of tracked changes.
@@ -508,8 +520,8 @@
return results, nil
}
-func (r *regres) updateTestLists(client *gerrit.Client) error {
- log.Println("Updating test lists")
+func (r *regres) updateTestLists(client *gerrit.Client, reactorBackend reactorBackend) error {
+ log.Printf("Updating test lists (reactorBackend: %v)\n", reactorBackend)
dailyHash := git.Hash{}
if r.dailyChange == "" {
@@ -523,7 +535,7 @@
}
// Get the full test results.
- test := r.newTest(dailyHash)
+ test := r.newTest(dailyHash).setReactorBackend(reactorBackend)
defer test.cleanup()
// Always need to checkout the change.
@@ -575,6 +587,7 @@
commitMsg := strings.Builder{}
commitMsg.WriteString(consts.TestListUpdateCommitSubjectPrefix + dailyHash.String()[:8])
+ commitMsg.WriteString("\n\nReactor backend: " + string(reactorBackend))
if existingChange != nil {
// Reuse gerrit change ID if there's already a change up for review.
commitMsg.WriteString("\n\n")
@@ -601,6 +614,14 @@
log.Println("Test results posted for review")
}
+ // We've just pushed a new commit. Let's reset back to the parent commit
+ // (dailyHash), so that we can run updateTestLists again for another backend,
+ // and have it update the commit with the same change-id.
+ if err := git.CheckoutCommit(test.srcDir, dailyHash); err != nil {
+ return cause.Wrap(err, "Failed to checkout parent commit")
+ }
+ log.Println("Checked out parent commit")
+
change, err := r.findTestListChange(client)
if err != nil {
return err
@@ -794,20 +815,34 @@
srcDir := filepath.Join(r.cacheRoot, "src", commit.String())
resDir := filepath.Join(r.cacheRoot, "res", commit.String())
return &test{
- r: r,
- commit: commit,
- srcDir: srcDir,
- resDir: resDir,
- buildDir: filepath.Join(srcDir, "build"),
+ r: r,
+ commit: commit,
+ srcDir: srcDir,
+ resDir: resDir,
+ buildDir: filepath.Join(srcDir, "build"),
+ reactorBackend: llvm,
}
}
+func (t *test) setReactorBackend(reactorBackend reactorBackend) *test {
+ t.reactorBackend = reactorBackend
+ return t
+}
+
+type reactorBackend string
+
+const (
+ llvm reactorBackend = "LLVM"
+ subzero reactorBackend = "Subzero"
+)
+
type test struct {
- r *regres
- commit git.Hash // hash of the commit to test
- srcDir string // directory for the SwiftShader checkout
- resDir string // directory for the test results
- buildDir string // directory for SwiftShader build
+ r *regres
+ commit git.Hash // hash of the commit to test
+ srcDir string // directory for the SwiftShader checkout
+ resDir string // directory for the test results
+ buildDir string // directory for SwiftShader build
+ reactorBackend reactorBackend // backend for SwiftShader build
}
// cleanup removes any temporary files used by the test.
@@ -865,6 +900,7 @@
"-DCMAKE_BUILD_TYPE=Release",
"-DSWIFTSHADER_DCHECK_ALWAYS_ON=1",
"-DREACTOR_VERIFY_LLVM_IR=1",
+ "-DREACTOR_BACKEND="+string(t.reactorBackend),
"-DSWIFTSHADER_WARNINGS_AS_ERRORS=0",
".."); err != nil {
return err
@@ -890,6 +926,10 @@
return nil, fmt.Errorf("Couldn't find '%s'", swiftshaderICDJSON)
}
+ if *limit != 0 && len(testLists) > *limit {
+ testLists = testLists[:*limit]
+ }
+
config := deqp.Config{
ExeEgl: filepath.Join(d.path, "build", "modules", "egl", "deqp-egl"),
ExeGles2: filepath.Join(d.path, "build", "modules", "gles2", "deqp-gles2"),
diff --git a/third_party/llvm-7.0/CMakeLists.txt b/third_party/llvm-7.0/CMakeLists.txt
new file mode 100644
index 0000000..89826c0
--- /dev/null
+++ b/third_party/llvm-7.0/CMakeLists.txt
@@ -0,0 +1,983 @@
+# 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_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/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/EHPersonalities.cpp
+ ${LLVM_DIR}/lib/Analysis/GlobalsModRef.cpp
+ ${LLVM_DIR}/lib/Analysis/InlineCost.cpp
+ ${LLVM_DIR}/lib/Analysis/InstructionSimplify.cpp
+ ${LLVM_DIR}/lib/Analysis/IteratedDominanceFrontier.cpp
+ ${LLVM_DIR}/lib/Analysis/IVUsers.cpp
+ ${LLVM_DIR}/lib/Analysis/LazyBlockFrequencyInfo.cpp
+ ${LLVM_DIR}/lib/Analysis/LazyBranchProbabilityInfo.cpp
+ ${LLVM_DIR}/lib/Analysis/LazyValueInfo.cpp
+ ${LLVM_DIR}/lib/Analysis/Loads.cpp
+ ${LLVM_DIR}/lib/Analysis/LoopAnalysisManager.cpp
+ ${LLVM_DIR}/lib/Analysis/LoopInfo.cpp
+ ${LLVM_DIR}/lib/Analysis/LoopPass.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/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/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/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/TargetLibraryInfo.cpp
+ ${LLVM_DIR}/lib/Analysis/TargetTransformInfo.cpp
+ ${LLVM_DIR}/lib/Analysis/TypeBasedAliasAnalysis.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/AsmParser/LLLexer.cpp
+ ${LLVM_DIR}/lib/AsmParser/LLParser.cpp
+ ${LLVM_DIR}/lib/AsmParser/Parser.cpp
+ ${LLVM_DIR}/lib/BinaryFormat/Dwarf.cpp
+ ${LLVM_DIR}/lib/BinaryFormat/Magic.cpp
+ ${LLVM_DIR}/lib/BinaryFormat/Wasm.cpp
+ ${LLVM_DIR}/lib/Bitcode/Reader/BitcodeReader.cpp
+ ${LLVM_DIR}/lib/Bitcode/Reader/BitstreamReader.cpp
+ ${LLVM_DIR}/lib/Bitcode/Reader/MetadataLoader.cpp
+ ${LLVM_DIR}/lib/Bitcode/Reader/ValueList.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/DbgValueHistoryCalculator.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/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/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/ExpandISelPseudos.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/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/GlobalISel/CallLowering.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/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/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/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/MachinePassRegistry.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/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/MIRPrinter.cpp
+ ${LLVM_DIR}/lib/CodeGen/MIRPrintingPass.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/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/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/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/Formatters.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/TypeDumpVisitor.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/ExecutionEngine/ExecutionEngine.cpp
+ ${LLVM_DIR}/lib/ExecutionEngine/GDBRegistrationListener.cpp
+ ${LLVM_DIR}/lib/ExecutionEngine/Orc/Core.cpp
+ ${LLVM_DIR}/lib/ExecutionEngine/Orc/Legacy.cpp
+ ${LLVM_DIR}/lib/ExecutionEngine/Orc/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/RuntimeDyldChecker.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/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/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/Operator.cpp
+ ${LLVM_DIR}/lib/IR/OptBisect.cpp
+ ${LLVM_DIR}/lib/IR/Pass.cpp
+ ${LLVM_DIR}/lib/IR/PassManager.cpp
+ ${LLVM_DIR}/lib/IR/PassRegistry.cpp
+ ${LLVM_DIR}/lib/IR/ProfileSummary.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/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/MCCodePadder.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/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/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/StringTableBuilder.cpp
+ ${LLVM_DIR}/lib/MC/SubtargetFeature.cpp
+ ${LLVM_DIR}/lib/MC/WasmObjectWriter.cpp
+ ${LLVM_DIR}/lib/MC/WinCOFFObjectWriter.cpp
+ ${LLVM_DIR}/lib/Object/Archive.cpp
+ ${LLVM_DIR}/lib/Object/Binary.cpp
+ ${LLVM_DIR}/lib/Object/COFFObjectFile.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/ModuleSymbolTable.cpp
+ ${LLVM_DIR}/lib/Object/ObjectFile.cpp
+ ${LLVM_DIR}/lib/Object/RecordStreamer.cpp
+ ${LLVM_DIR}/lib/Object/SymbolicFile.cpp
+ ${LLVM_DIR}/lib/Object/WasmObjectFile.cpp
+ ${LLVM_DIR}/lib/Object/WindowsResource.cpp
+ ${LLVM_DIR}/lib/ProfileData/InstrProf.cpp
+ ${LLVM_DIR}/lib/Support/APFloat.cpp
+ ${LLVM_DIR}/lib/Support/APInt.cpp
+ ${LLVM_DIR}/lib/Support/APSInt.cpp
+ ${LLVM_DIR}/lib/Support/ARMAttributeParser.cpp
+ ${LLVM_DIR}/lib/Support/ARMBuildAttrs.cpp
+ ${LLVM_DIR}/lib/Support/Atomic.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/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/JamCRC.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/Mutex.cpp
+ ${LLVM_DIR}/lib/Support/NativeFormatting.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/RWMutex.cpp
+ ${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/SmallPtrSet.cpp
+ ${LLVM_DIR}/lib/Support/SmallVector.cpp
+ ${LLVM_DIR}/lib/Support/SourceMgr.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/TargetParser.cpp
+ ${LLVM_DIR}/lib/Support/TargetRegistry.cpp
+ ${LLVM_DIR}/lib/Support/Threading.cpp
+ ${LLVM_DIR}/lib/Support/Timer.cpp
+ ${LLVM_DIR}/lib/Support/ToolOutputFile.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/YAMLParser.cpp
+ ${LLVM_DIR}/lib/Support/YAMLTraits.cpp
+ ${LLVM_DIR}/lib/Target/TargetLoweringObjectFile.cpp
+ ${LLVM_DIR}/lib/Target/TargetMachine.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/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/IPO/BarrierNoopPass.cpp
+ ${LLVM_DIR}/lib/Transforms/Scalar/ADCE.cpp
+ ${LLVM_DIR}/lib/Transforms/Scalar/ConstantHoisting.cpp
+ ${LLVM_DIR}/lib/Transforms/Scalar/DeadStoreElimination.cpp
+ ${LLVM_DIR}/lib/Transforms/Scalar/EarlyCSE.cpp
+ ${LLVM_DIR}/lib/Transforms/Scalar/GVN.cpp
+ ${LLVM_DIR}/lib/Transforms/Scalar/LICM.cpp
+ ${LLVM_DIR}/lib/Transforms/Scalar/LoopDataPrefetch.cpp
+ ${LLVM_DIR}/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+ ${LLVM_DIR}/lib/Transforms/Scalar/MergeICmps.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/SimplifyCFGPass.cpp
+ ${LLVM_DIR}/lib/Transforms/Scalar/SROA.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/CloneFunction.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/InlineFunction.cpp
+ ${LLVM_DIR}/lib/Transforms/Utils/LCSSA.cpp
+ ${LLVM_DIR}/lib/Transforms/Utils/Local.cpp
+ ${LLVM_DIR}/lib/Transforms/Utils/LoopSimplify.cpp
+ ${LLVM_DIR}/lib/Transforms/Utils/LoopUtils.cpp
+ ${LLVM_DIR}/lib/Transforms/Utils/LowerInvoke.cpp
+ ${LLVM_DIR}/lib/Transforms/Utils/OrderedInstructions.cpp
+ ${LLVM_DIR}/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
+ ${LLVM_DIR}/lib/Transforms/Utils/SimplifyCFG.cpp
+ ${LLVM_DIR}/lib/Transforms/Utils/SimplifyLibCalls.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}/../stubs/Stubs.cpp
+)
+
+if(ARCH STREQUAL "x86" OR ARCH STREQUAL "x86_64")
+ list(APPEND LLVM_LIST
+ ${LLVM_DIR}/lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp
+ ${LLVM_DIR}/lib/Target/X86/AsmParser/X86AsmParser.cpp
+ ${LLVM_DIR}/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
+ ${LLVM_DIR}/lib/Target/X86/InstPrinter/X86InstComments.cpp
+ ${LLVM_DIR}/lib/Target/X86/InstPrinter/X86InstPrinterCommon.cpp
+ ${LLVM_DIR}/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp
+ ${LLVM_DIR}/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
+ ${LLVM_DIR}/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.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/ShadowCallStack.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/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/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/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/InstPrinter/MipsInstPrinter.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/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/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/CodeGen/GlobalMerge.cpp
+ ${LLVM_DIR}/lib/CodeGen/RegAllocPBQP.cpp
+ ${LLVM_DIR}/lib/MC/ConstantPools.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/AArch64CallLowering.cpp
+ ${LLVM_DIR}/lib/Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp
+ ${LLVM_DIR}/lib/Target/AArch64/AArch64CollectLOH.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/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/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/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/InstPrinter/AArch64InstPrinter.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/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
+ ${LLVM_DIR}/lib/Transforms/Scalar/LoopDataPrefetch.cpp
+ ${LLVM_DIR}/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.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/ARMCallLowering.cpp
+ ${LLVM_DIR}/lib/Target/ARM/ARMCodeGenPrepare.cpp
+ ${LLVM_DIR}/lib/Target/ARM/ARMComputeBlockSize.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/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/InstPrinter/ARMInstPrinter.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/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/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/InstPrinter/PPCInstPrinter.cpp
+ ${LLVM_DIR}/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
+ ${LLVM_DIR}/lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.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/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/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/PPCLoopPreIncPrep.cpp
+ ${LLVM_DIR}/lib/Target/PowerPC/PPCMachineFunctionInfo.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
+ )
+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)
+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/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/X86
+ ${LLVM_CONFIG_DIR}/common/lib/Transforms/InstCombine
+)
+
+# Suppress known LLVM warnings
+set(LLVM_COMPILE_OPTIONS)
+if(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
+ "-Wno-unused-but-set-variable" # variable ‘X’ set but not used
+ )
+ 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
+ INCLUDE_DIRECTORIES "${LLVM_INCLUDE_DIR}"
+ COMPILE_OPTIONS "${LLVM_COMPILE_OPTIONS}"
+ COMPILE_DEFINITIONS "__STDC_CONSTANT_MACROS; __STDC_LIMIT_MACROS;"
+ FOLDER "LLVM"
+)
+target_include_directories(llvm PUBLIC "${LLVM_INCLUDE_DIR}")
+
+# Add required libraries for LLVM
+if(LINUX)
+ target_link_libraries(llvm dl)
+endif()
diff --git a/third_party/update-llvm-10.sh b/third_party/update-llvm-10.sh
new file mode 100755
index 0000000..1823778
--- /dev/null
+++ b/third_party/update-llvm-10.sh
@@ -0,0 +1,92 @@
+#!/bin/bash
+
+# llvm now lives in a mono-repo along with clang, libc, lldb and a whole bunch
+# of other projects (~90k files at time of writing).
+# SwiftShader only requires the llvm project from this repo, and does not wish
+# to pull in everything else.
+# This script performs the following:
+# * The llvm10-clean branch is fetched and checked out.
+# * A sparse checkout of the llvm project is made to a temporary directory.
+# * The third_party/llvm-10.0/llvm is replaced with the latest LLVM version.
+# * This is committed and pushed.
+# * The original branch is checked out again, and a merge from llvm10-clean to
+# the original branch is made.
+
+THIRD_PARTY_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd )"
+STAGING_DIR="/tmp/llvm-10-update"
+CLEAN_BRANCH="llvm10-clean"
+SOURCE_DIR="${STAGING_DIR}/llvm"
+TARGET_DIR="${THIRD_PARTY_DIR}/llvm-10.0/llvm"
+LLVM_REPO_BRANCH="release/10.x"
+BUG_NUMBER="b/152339534"
+
+SWIFTSHADER_HEAD=`git rev-parse HEAD`
+
+# Check there are no local changes
+if ! git diff --quiet HEAD; then
+ echo "Git workspace not clean"
+ exit 1
+fi
+
+# Clone or update the staging directory
+if [[ -d "$STAGING_DIR" ]]; then
+ pushd "$STAGING_DIR"
+else
+ mkdir "$STAGING_DIR"
+ pushd "$STAGING_DIR"
+ git init
+ git remote add origin https://github.com/llvm/llvm-project.git
+ git config core.sparsecheckout true
+ echo "/llvm/lib" >> .git/info/sparse-checkout
+ echo "/llvm/include" >> .git/info/sparse-checkout
+fi
+git pull origin $LLVM_REPO_BRANCH
+LLVM_HEAD=`git log HEAD -n 1 --pretty=format:'%h'`
+popd
+
+if [[ -d "$TARGET_DIR" ]]; then
+ # Look for the last update change.
+ LAST_TARGET_UPDATE=`git log --grep="^llvm-10-update: [0-9a-f]\{9\}$" -n 1 --pretty=format:'%h' ${TARGET_DIR}`
+ if [[ ! -z "$LAST_TARGET_UPDATE" ]]; then
+ # Get the LLVM commit hash from the update change.
+ LAST_SOURCE_UPDATE=`git log $LAST_TARGET_UPDATE -n 1 | grep -oP "llvm-10-update: \K([0-9a-f]{9})"`
+ if [ $LLVM_HEAD == $LAST_SOURCE_UPDATE ]; then
+ echo "No new LLVM changes to apply"
+ exit 0
+ fi
+
+ # Gather list of changes since last update
+ pushd "$STAGING_DIR"
+ LLVM_CHANGE_LOG=`git log $LAST_SOURCE_UPDATE..$LLVM_HEAD --pretty=format:' %h %s'`
+ LLVM_CHANGE_LOG="Changes:\n${LLVM_CHANGE_LOG}\n\n"
+ popd
+ fi
+fi
+
+COMMIT_MSG=`echo -e "Update LLVM 10 to ${LLVM_HEAD}\n\n${LLVM_CHANGE_LOG}Commands:\n third_party/update-llvm-10.sh\n\nllvm-10-update: ${LLVM_HEAD}\nBug: ${BUG_NUMBER}"`
+
+# Switch to the llvm-10-clean branch.
+git fetch "https://swiftshader.googlesource.com/SwiftShader" $CLEAN_BRANCH
+git checkout FETCH_HEAD
+
+# Delete the target directory. We're going to re-populate it.
+rm -fr "$TARGET_DIR"
+
+# Update SwiftShader's $TARGET_DIR with a clean copy of latest LLVM
+mkdir -p "$TARGET_DIR"
+cp -r "$SOURCE_DIR/." "$TARGET_DIR"
+git add "$TARGET_DIR"
+git commit -m "$COMMIT_MSG"
+MERGE_SOURCE=`git log HEAD -n 1 --pretty=format:'%h'`
+
+# Push llvm-10-clean branch.
+git push "https://swiftshader.googlesource.com/SwiftShader" $CLEAN_BRANCH
+
+# Switch to the branch in use when calling the script.
+git checkout $SWIFTSHADER_HEAD
+
+# Update SwiftShader's $TARGET_DIR with a clean copy of latest LLVM
+git merge -m "$COMMIT_MSG" "$MERGE_SOURCE"
+
+# We're now done with the staging dir. Delete it.
+rm -fr "$STAGING_DIR"