1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/include/llvm/Analysis
Nicolai Hähnle 9c5e97b839 DomTree: Remove getRoots() accessor
Summary:
Avoid exposing details about how roots are stored. This enables subsequent
type-erasure changes.

v5:
- cleanup a unit test by using EXPECT_EQ instead of EXPECT_TRUE

Change-Id: I532b774cc71f2224e543bc7d79131d97f63f093d

Reviewers: arsenm, RKSimon, mehdi_amini, courbet

Subscribers: jvesely, wdng, hiraditya, kuhar, kerbowa, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D83085
2020-07-06 21:58:11 +02:00
..
Utils [lldb] Fix the modules build 2020-06-23 15:13:30 -07:00
AliasAnalysis.h [NewPassManager] Add assertions when getting statefull cached analysis. 2020-05-13 12:38:38 -07:00
AliasAnalysisEvaluator.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AliasSetTracker.h AliasSetTracker - fix uninitialized variable warnings. NFCI. 2019-11-04 15:35:20 +00:00
AssumeBundleQueries.h [NFC][DwarfDebug] Add test for variables with a single location which 2020-05-11 11:49:11 +02:00
AssumptionCache.h [AssumeBundles] adapt Assumption cache to assume bundles 2020-04-13 12:04:51 +02:00
BasicAliasAnalysis.h Revert "[BasicAA] Use known lower bounds for index values for size based check." 2020-06-20 10:06:05 +01:00
BlockFrequencyInfo.h [BFI][CGP] Add limited support for detecting missed BFI updates and fix one in CodeGenPrepare. 2020-05-07 11:58:00 -07:00
BlockFrequencyInfoImpl.h [BFI][CGP] Add limited support for detecting missed BFI updates and fix one in CodeGenPrepare. 2020-05-07 11:58:00 -07:00
BranchProbabilityInfo.h [BrachProbablityInfo] Set edge probabilities at once and fix calcMetadataWeights() 2020-05-21 12:52:37 +07:00
CallGraph.h [CallGraph] Add support for callback call sites 2020-07-01 13:44:11 -07:00
CallGraphSCCPass.h [CallGraphUpdater] Remove nodes from their SCC (old PM) 2020-04-15 18:38:50 -05:00
CallPrinter.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CaptureTracking.h [ADT][Analysis] NFC: Fix some more typos 2020-05-21 18:53:43 +02:00
CFG.h CFG.h - add missing GraphTraits.h include. NFC. 2020-06-06 15:18:25 +01:00
CFGPrinter.h [ViewCFG] Allow printing edge weights in debuggers 2020-04-26 13:18:29 -07:00
CFLAliasAnalysisUtils.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CFLAndersAliasAnalysis.h Change TargetLibraryInfo analysis passes to always require Function 2019-09-07 03:09:36 +00:00
CFLSteensAliasAnalysis.h Change TargetLibraryInfo analysis passes to always require Function 2019-09-07 03:09:36 +00:00
CGSCCPassManager.h [NewPM] Avoid redundant CGSCC run for updated SCC 2020-06-14 19:54:52 -07:00
CmpInstAnalysis.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CodeMetrics.h CodeMetrics.h - include and forward declaration cleanup. NFC. 2020-04-13 13:09:39 +01:00
ConstantFolding.h ConstantFolding.h - remove unused llvm::ConstantVector forward declaration. NFC. 2020-04-17 10:02:06 +01:00
DDG.h [DDG] Data Dependence Graph - Add query function for memory dependencies between two nodes 2020-05-27 12:40:14 -04:00
DemandedBits.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DependenceAnalysis.h DependenceAnalysis.h - reduce AliasAnalysis.h include to forward declaration. NFC. 2020-06-07 12:47:37 +01:00
DependenceGraphBuilder.h DependenceGraphBuilder.h - remove unused includes. NFC. 2020-04-19 17:58:17 +01:00
DivergenceAnalysis.h [ADT][Analysis] NFC: Fix some more typos 2020-05-21 18:53:43 +02:00
DominanceFrontier.h DomTree: Remove getRoots() accessor 2020-07-06 21:58:11 +02:00
DominanceFrontierImpl.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DomPrinter.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DomTreeUpdater.h Unbreak the build 2020-06-07 18:17:21 +02:00
DOTGraphTraitsPass.h DOTGraphTraitsPass.h - remove unnecessary includes. NFC. 2020-05-27 11:51:25 +01:00
EHPersonalities.h EHPersonalities.h - reduce Triple.h include to forward declaration. NFC. 2020-06-06 15:48:31 +01:00
GlobalsModRef.h GlobalsModRef.h - reduce CallGraph.h include to forward declarations. NFC. 2020-06-25 16:00:43 +01:00
GuardUtils.h Further cleanup manipulation of widenable branches [NFC] 2019-11-21 15:07:30 -08:00
HeatUtils.h [CallPrinter] Adding heat coloring to CallPrinter 2020-06-16 21:15:29 +00:00
IndirectCallPromotionAnalysis.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
IndirectCallVisitor.h [llvm][NFC] Refactor APIs operating on CallBase 2020-04-28 13:23:47 -07:00
InlineAdvisor.h [llvm] Release-mode ML InlineAdvisor 2020-06-24 08:18:42 -07:00
InlineCost.h Don't inline dynamic allocas that simplify to huge static allocas. 2020-06-24 17:39:03 -07:00
InlineFeaturesAnalysis.h [llvm][NFC] Fix license on InlineFeaturesAnalysis.{h|cpp} 2020-06-15 19:34:33 -07:00
InlineModelFeatureMaps.h [llvm] Release-mode ML InlineAdvisor 2020-06-24 08:18:42 -07:00
InstructionPrecedenceTracking.h [IPT] Don't use OrderedInstructions (NFC) 2020-04-20 18:25:31 +02:00
InstructionSimplify.h InstructionSimplify.h - remove unnecessary includes. NFC. 2020-05-25 13:45:03 +01:00
Interval.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
IntervalIterator.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
IntervalPartition.h Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
IteratedDominanceFrontier.h Move CFGDiff.h from IR to Support 2020-04-10 00:14:10 -07:00
IVDescriptors.h [IVDescriptors] Clean up includes. 2020-04-19 20:07:47 +01:00
IVUsers.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
LazyBlockFrequencyInfo.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
LazyBranchProbabilityInfo.h [BPI][NFC] Reuse post dominantor tree from analysis manager when available 2020-04-30 11:31:03 +07:00
LazyCallGraph.h Re-land "Add LazyCallGraph API to add function to RefSCC" 2020-02-17 16:59:25 -05:00
LazyValueInfo.h [LVI] Don't require DominatorTree in LVI (NFC) 2020-05-19 20:21:46 +02:00
LegacyDivergenceAnalysis.h LegacyDivergenceAnalysis.h - reduce DivergenceAnalysis.h include to forward declaration. NFC. 2020-06-06 13:30:00 +01:00
Lint.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Loads.h Loads.h - reduce AliasAnalysis.h include to forward declarations. NFC. 2020-06-24 13:49:04 +01:00
LoopAccessAnalysis.h LoopAccessAnalysis.h - reduce AliasAnalysis.h include to forward declaration. NFC. 2020-06-25 16:00:42 +01:00
LoopAnalysisManager.h LoopAnalysisManager.h - reduce includes to forward declarations. NFC. 2020-06-06 14:06:46 +01:00
LoopCacheAnalysis.h Title: Fix build warning for operator<< when using GCC 7. 2019-08-12 22:20:54 +00:00
LoopInfo.h LoopInfo.h - remove unnecessary PHINode forward declaration. NFC. 2020-05-25 13:45:03 +01:00
LoopInfoImpl.h LoopInfoImpl.h - remove unused SetVector.h include. NFC. 2020-06-06 12:59:22 +01:00
LoopIterator.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
LoopNestAnalysis.h LoopAnalysisManager.h - reduce includes to forward declarations. NFC. 2020-06-06 14:06:46 +01:00
LoopPass.h LoopPass.h - remove unnecessary PMStack forward declaration. NFC. 2020-05-10 14:03:27 +01:00
LoopUnrollAnalyzer.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
MemoryBuiltins.h MemoryBuiltins.h - remove unnecessary TargetLibraryInfo forward declaration. NFC. 2020-05-25 13:45:03 +01:00
MemoryDependenceAnalysis.h GVN.h - reduce AliasAnalysis.h include to forward declaration. NFC. 2020-06-25 16:59:35 +01:00
MemoryLocation.h MemoryLocation.h - reduce Instruction.h include to forward declaration. NFC. 2020-06-26 09:58:21 +01:00
MemorySSA.h [MemorySSA] Make MemoryLocation unknown when phi translation cannot be performed. 2020-05-05 13:32:32 -07:00
MemorySSAUpdater.h MemorySSAUpdater.h - remove unnecessary WeakVH forward declaration. NFC. 2020-06-26 12:30:14 +01:00
MLInlineAdvisor.h [llvm] Release-mode ML InlineAdvisor 2020-06-24 08:18:42 -07:00
MLModelRunner.h [llvm] Release-mode ML InlineAdvisor 2020-06-24 08:18:42 -07:00
ModuleSummaryAnalysis.h [StackSafety] Pass summary into codegen 2020-06-10 21:02:54 -07:00
MustExecute.h MustExecute.h - remove unnecessary Instruction.h include. NFC. 2020-06-07 12:10:50 +01:00
ObjCARCAliasAnalysis.h [AliasAnalysis] Second prototype to cache BasicAA / anyAA state. 2019-03-22 17:22:19 +00:00
ObjCARCAnalysisUtils.h ObjCARCAnalysisUtils.h - remove unused LLVMContext.h include. NFC. 2020-06-07 11:48:46 +01:00
ObjCARCInstKind.h ObjCARCInstKind.h - remove unused includes. NFC. 2020-05-27 14:02:14 +01:00
OptimizationRemarkEmitter.h OptimizationRemarkEmitter.h - reduce unnecessary Function.h include to forward declaration. NFC. 2020-06-22 12:35:32 +01:00
OrderedInstructions.h OrderedInstructions.h - reduce includes to forward declarations. NFC. 2020-06-07 11:44:43 +01:00
Passes.h Passes.h - remove unused llvm::LoopPass/Pass/PassInfo forward declarations. NFC. 2020-04-11 12:21:03 +01:00
PHITransAddr.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PhiValues.h PhiValues.h - remove unused llvm::Use forward declaration. NFC. 2020-04-11 12:21:04 +01:00
PostDominators.h DomTree: Remove the releaseMemory() method 2020-07-06 21:58:11 +02:00
ProfileSummaryInfo.h ProfileSummaryInfo.h - reduce unnecessary Function.h include to forward declaration. NFC. 2020-06-20 15:57:05 +01:00
PtrUseVisitor.h [CallSite removal] Remove unneeded includes of CallSite.h. NFC 2020-04-22 00:07:13 -07:00
RegionInfo.h Use std::foo_t rather than std::foo in LLVM. 2020-02-11 15:12:51 -08:00
RegionInfoImpl.h Use std::foo_t rather than std::foo in LLVM. 2020-02-11 15:12:51 -08:00
RegionIterator.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RegionPass.h RegionPass.h - remove unnecessary Function.h include. NFC. 2020-06-20 15:46:31 +01:00
RegionPrinter.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ScalarEvolution.h ScalarEvolution.h - reduce LoopInfo.h include to forward declarations. NFC. 2020-06-17 15:48:23 +01:00
ScalarEvolutionAliasAnalysis.h [AliasAnalysis] Second prototype to cache BasicAA / anyAA state. 2019-03-22 17:22:19 +00:00
ScalarEvolutionDivision.h [NFCI] SCEV: promote ScalarEvolutionDivision into an publicly usable class 2020-06-25 00:58:53 +03:00
ScalarEvolutionExpressions.h [SCEV] Make SCEVAddExpr actually always return pointer type if there is pointer operand (PR46457) 2020-06-27 11:37:17 +03:00
ScalarEvolutionNormalization.h ScalarEvolutionNormalization.h - reduce ScalarEvolutionExpressions.h include to forward declaration. NFC. 2020-06-05 17:40:33 +01:00
ScopedNoAliasAA.h ScopedNoAliasAA.h - remove unnecessary InstrTypes.h include. NFC. 2020-06-05 14:35:30 +01:00
SparsePropagation.h Implementation of asm-goto support in LLVM 2019-02-08 20:48:56 +00:00
StackLifetime.h StackLifetime.h - remove unused AliasAnalysis.h include. NFC. 2020-06-24 12:30:59 +01:00
StackSafetyAnalysis.h [StackSafety] Run ThinLTO 2020-06-12 18:11:29 -07:00
SyncDependenceAnalysis.h SyncDependenceAnalysis.h - remove orphan method declarations. NFCI. 2020-06-05 14:35:31 +01:00
SyntheticCountsUtils.h SyntheticCountsUtils.h - remove unused llvm::CallGraph/Function forward declarations. NFC. 2020-04-11 12:21:03 +01:00
TargetFolder.h Remove "mask" operand from shufflevector. 2020-03-31 13:08:59 -07:00
TargetLibraryInfo.def [TLI] Add four C++17 delete variants. 2020-06-16 11:12:02 -07:00
TargetLibraryInfo.h TargetLibraryInfo.h - reduce Triple.h include to forward declaration. NFC. 2020-06-05 14:35:30 +01:00
TargetTransformInfo.h [Alignment][NFC] Migrate TTI::isLegalToVectorize{Load,Store}Chain to Align 2020-06-26 14:14:27 +00:00
TargetTransformInfoImpl.h [CostModel] Avoid traditional ConstantExpr crashy pitfails 2020-06-26 22:48:10 +03:00
Trace.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TypeBasedAliasAnalysis.h Remove orphan TypeBasedAAResult::PathAliases declaration. NFC. 2020-06-25 16:00:44 +01:00
TypeMetadataUtils.h TypeMetadataUtils.h - reduce Instructions.h include to forward declaration. NFC. 2020-06-05 17:40:33 +01:00
ValueLattice.h [ValueLattice] Fix uninitialized-value after D79036 2020-05-29 19:52:29 -07:00
ValueLatticeUtils.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ValueTracking.h [ValueTracking] Use assumptions in computeConstantRange. 2020-05-23 20:07:52 +01:00
VecFuncs.def Handle exp2 with proper vectorization and lowering to SVML calls 2020-04-02 21:11:13 -07:00
VectorUtils.h [ADT][Analysis] NFC: Fix some more typos 2020-05-21 18:53:43 +02:00