1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/include/llvm/Analysis
Nikita Popov 577d874016 [InstSimplify] Forbid undef folds in expandBinOp
This is the replacement for D84250 based on D84792. As we recursively
fold with the same value twice, we need to disable undef folds,
to prevent an undef from being folded to two different values.

Reverting rG00f3579aea6e3d4a4b7464c3db47294f71cef9e4 and using the
test case from https://reviews.llvm.org/D83360#2145793, it no longer
performs the incorrect fold.

Differential Revision: https://reviews.llvm.org/D85684
2020-08-11 18:39:24 +02:00
..
Utils [TFUtils] Expose untyped accessor to evaluation result tensors 2020-08-05 10:22:45 -07:00
AliasAnalysis.h [NewPassManager] Add assertions when getting statefull cached analysis. 2020-05-13 12:38:38 -07:00
AliasAnalysisEvaluator.h
AliasSetTracker.h [AliasSetTracker] More precise AAInfo intersection check 2020-07-09 18:29:41 +02: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 BasicAAResult::constantOffsetHeuristic - pass APInt arg as const reference. NFCI. 2020-07-09 14:09:24 +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 [BPI][NFC] Unify handling of normal and SCC based loops 2020-08-05 11:19:24 +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
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
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] Allow passes to never be skipped 2020-07-18 22:28:46 -07:00
CmpInstAnalysis.h
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 Revert rG5dd566b7c7b78bd- "PassManager.h - remove unnecessary Function.h/Module.h includes. NFCI." 2020-07-24 13:02:33 +01: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 Revert rG5dd566b7c7b78bd- "PassManager.h - remove unnecessary Function.h/Module.h includes. NFCI." 2020-07-24 13:02:33 +01:00
DominanceFrontierImpl.h
DomPrinter.h
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
FunctionPropertiesAnalysis.h Add new function properties to FunctionPropertiesAnalysis 2020-07-23 12:46:47 -07: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
IndirectCallVisitor.h [llvm][NFC] Refactor APIs operating on CallBase 2020-04-28 13:23:47 -07:00
InlineAdvisor.h [llvm][NFC] Don't use llvm/Config/config.h in .h files 2020-07-23 22:27:38 -07:00
InlineCost.h Don't inline dynamic allocas that simplify to huge static allocas. 2020-06-24 17:39:03 -07:00
InlineModelFeatureMaps.h [llvm] Release-mode ML InlineAdvisor 2020-06-24 08:18:42 -07:00
InlineSizeEstimatorAnalysis.h [llvm] Moved InlineSizeEstimatorAnalysis test to .ll 2020-07-16 12:25:16 -07:00
InstructionPrecedenceTracking.h [NFC] Add 'override' keyword where missing in include/ and lib/. 2020-07-14 09:47:29 -07:00
InstructionSimplify.h [InstSimplify] Forbid undef folds in expandBinOp 2020-08-11 18:39:24 +02:00
Interval.h
IntervalIterator.h
IntervalPartition.h Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
IteratedDominanceFrontier.h [GraphDiff] Use class method getChildren instead of GraphTraits. 2020-07-27 16:12:34 -07:00
IVDescriptors.h [LoopVectorizer] Inloop vector reductions 2020-08-06 10:10:50 +01:00
IVUsers.h
LazyBlockFrequencyInfo.h
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 Revert rG5dd566b7c7b78bd- "PassManager.h - remove unnecessary Function.h/Module.h includes. NFCI." 2020-07-24 13:02:33 +01:00
LegacyDivergenceAnalysis.h LegacyDivergenceAnalysis.h - reduce DivergenceAnalysis.h include to forward declaration. NFC. 2020-06-06 13:30:00 +01:00
Lint.h
Loads.h Loads.h - reduce AliasAnalysis.h include to forward declarations. NFC. 2020-06-24 13:49:04 +01:00
LoopAccessAnalysis.h [lAA] Return SmallVectorImpl& instead of SmallVector& (NFC). 2020-07-22 11:40:07 +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
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
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] Restrict optimizations after a PhiTranslation. 2020-08-03 14:46:41 -07:00
MemorySSAUpdater.h [GraphDiff] Use class method getChildren instead of GraphTraits. 2020-07-27 16:12:34 -07: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 [NFC] Add 'override' keyword where missing in include/ and lib/. 2020-07-14 09:47:29 -07:00
ObjCARCAliasAnalysis.h
ObjCARCAnalysisUtils.h [NFC] Remove unused GetUnderlyingObject paramenter 2020-07-31 02:10:03 -07:00
ObjCARCInstKind.h ObjCARCInstKind.h - remove unused includes. NFC. 2020-05-27 14:02:14 +01:00
OptimizationRemarkEmitter.h Revert rG5dd566b7c7b78bd- "PassManager.h - remove unnecessary Function.h/Module.h includes. NFCI." 2020-07-24 13:02:33 +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
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 - remove unnecessary ProfileSummary forward declaration. NFCI. 2020-07-22 16:35:14 +01:00
PtrUseVisitor.h [CallSite removal] Remove unneeded includes of CallSite.h. NFC 2020-04-22 00:07:13 -07:00
RegionInfo.h RegionInfo.cpp - remove duplicate includes that already exist in RegionInfo.h. NFC. 2020-07-23 17:50:22 +01:00
RegionInfoImpl.h Use std::foo_t rather than std::foo in LLVM. 2020-02-11 15:12:51 -08:00
RegionIterator.h
RegionPass.h RegionPass.h - remove unnecessary Function.h include. NFC. 2020-06-20 15:46:31 +01:00
RegionPrinter.h
ScalarEvolution.h Revert rG5dd566b7c7b78bd- "PassManager.h - remove unnecessary Function.h/Module.h includes. NFCI." 2020-07-24 13:02:33 +01:00
ScalarEvolutionAliasAnalysis.h
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
StackLifetime.h Revert "[StackSafety] Skip ambiguous lifetime analysis" 2020-08-07 14:02:50 -07:00
StackSafetyAnalysis.h [StackSafety,NFC] Update documentation 2020-07-08 23:57:13 -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 [LLVM] Add libatomic load/store functions to TargetLibraryInfo 2020-07-18 03:18:48 +00:00
TargetLibraryInfo.h TargetLibraryInfo.h - reduce Triple.h include to forward declaration. NFC. 2020-06-05 14:35:30 +01:00
TargetTransformInfo.h [Analysis] TTI: Add CastContextHint for getCastInstrCost 2020-07-29 13:32:53 +01:00
TargetTransformInfoImpl.h [Analysis] TTI: Add CastContextHint for getCastInstrCost 2020-07-29 13:32:53 +01:00
Trace.h
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 [SCCP] Propagate inequalities 2020-08-04 20:20:52 +02:00
ValueLatticeUtils.h
ValueTracking.h [NFC] Remove unused GetUnderlyingObject paramenter 2020-07-31 02:10:03 -07:00
VecFuncs.def Handle exp2 with proper vectorization and lowering to SVML calls 2020-04-02 21:11:13 -07:00
VectorUtils.h VectorUtils.h - reduce unnecessary includes. NFC. 2020-07-30 12:27:49 +01:00