# $NetBSD: Makefile,v 1.4 2023/06/03 09:09:02 lukem Exp $
LIB= LLVMAnalysis
.include <bsd.init.mk>
.PATH: ${LLVM_SRCDIR}/lib/Analysis
SRCS+= AliasAnalysis.cpp \
AliasAnalysisEvaluator.cpp \
AliasAnalysisSummary.cpp \
AliasSetTracker.cpp \
Analysis.cpp \
AssumeBundleQueries.cpp \
AssumptionCache.cpp \
BasicAliasAnalysis.cpp \
BlockFrequencyInfo.cpp \
BlockFrequencyInfoImpl.cpp \
BranchProbabilityInfo.cpp \
CallGraph.cpp \
CallGraphSCCPass.cpp \
CallPrinter.cpp \
CaptureTracking.cpp \
CFG.cpp \
CFGPrinter.cpp \
CFLAndersAliasAnalysis.cpp \
CFLSteensAliasAnalysis.cpp \
CGSCCPassManager.cpp \
CmpInstAnalysis.cpp \
CodeMetrics.cpp \
ConstantFolding.cpp \
ConstraintSystem.cpp \
CostModel.cpp \
DDG.cpp \
DDGPrinter.cpp \
Delinearization.cpp \
DemandedBits.cpp \
DependenceAnalysis.cpp \
DependenceGraphBuilder.cpp \
DevelopmentModeInlineAdvisor.cpp \
DivergenceAnalysis.cpp \
DominanceFrontier.cpp \
DomPrinter.cpp \
DomTreeUpdater.cpp \
EHPersonalities.cpp \
FunctionPropertiesAnalysis.cpp \
GlobalsModRef.cpp \
GuardUtils.cpp \
HeatUtils.cpp \
ImportedFunctionsInliningStatistics.cpp \
IndirectCallPromotionAnalysis.cpp \
InlineAdvisor.cpp \
InlineCost.cpp \
InlineSizeEstimatorAnalysis.cpp \
InstCount.cpp \
InstructionPrecedenceTracking.cpp \
InstructionSimplify.cpp \
Interval.cpp \
IntervalPartition.cpp \
IRSimilarityIdentifier.cpp \
IVDescriptors.cpp \
IVUsers.cpp \
LazyBlockFrequencyInfo.cpp \
LazyBranchProbabilityInfo.cpp \
LazyCallGraph.cpp \
LazyValueInfo.cpp \
LegacyDivergenceAnalysis.cpp \
Lint.cpp \
Loads.cpp \
LoopAccessAnalysis.cpp \
LoopAnalysisManager.cpp \
LoopCacheAnalysis.cpp \
LoopInfo.cpp \
LoopNestAnalysis.cpp \
LoopPass.cpp \
LoopUnrollAnalyzer.cpp \
MemDepPrinter.cpp \
MemDerefPrinter.cpp \
MemoryBuiltins.cpp \
MemoryDependenceAnalysis.cpp \
MemoryLocation.cpp \
MemorySSA.cpp \
MemorySSAUpdater.cpp \
MLInlineAdvisor.cpp \
ModuleDebugInfoPrinter.cpp \
ModuleSummaryAnalysis.cpp \
MustExecute.cpp \
ObjCARCAliasAnalysis.cpp \
ObjCARCAnalysisUtils.cpp \
ObjCARCInstKind.cpp \
OptimizationRemarkEmitter.cpp \
OverflowInstAnalysis.cpp \
PHITransAddr.cpp \
PhiValues.cpp \
PostDominators.cpp \
ProfileSummaryInfo.cpp \
PtrUseVisitor.cpp \
RegionInfo.cpp \
RegionPass.cpp \
RegionPrinter.cpp \
ReleaseModeModelRunner.cpp \
ReplayInlineAdvisor.cpp \
ScalarEvolutionAliasAnalysis.cpp \
ScalarEvolution.cpp \
ScalarEvolutionDivision.cpp \
ScalarEvolutionNormalization.cpp \
ScopedNoAliasAA.cpp \
StackLifetime.cpp \
StackSafetyAnalysis.cpp \
SyncDependenceAnalysis.cpp \
SyntheticCountsUtils.cpp \
TargetLibraryInfo.cpp \
TargetTransformInfo.cpp \
TFUtils.cpp \
Trace.cpp \
TypeBasedAliasAnalysis.cpp \
TypeMetadataUtils.cpp \
ValueLattice.cpp \
ValueLatticeUtils.cpp \
ValueTracking.cpp \
VectorUtils.cpp \
VFABIDemangling.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif
CWARNFLAGS.gcc+= ${CC_WNO_STRINGOP_OVERFLOW}