1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/include/llvm/Transforms/Utils
Alina Sbirlea c25b0c2bff [NewPassManager] Add assertions when getting statefull cached analysis.
Summary:
Analyses that are statefull should not be retrieved through a proxy from
an outer IR unit, as these analyses are only invalidated at the end of
the inner IR unit manager.
This patch disallows getting the outer manager and provides an API to
get a cached analysis through the proxy. If the analysis is not
stateless, the call to getCachedResult will assert.

Reviewers: chandlerc

Subscribers: mehdi_amini, eraman, hiraditya, zzheng, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D72893
2020-05-13 12:38:38 -07:00
..
AddDiscriminators.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUEmitPrintf.h [HIP][AMDGPU] expand printf when compiling HIP to AMDGPU 2020-01-16 15:15:38 +05:30
ASanStackFrameLayout.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AssumeBundleBuilder.h [NFC][DwarfDebug] Add test for variables with a single location which 2020-05-11 11:49:11 +02:00
BasicBlockUtils.h Introduce unify-loop-exits pass. 2020-03-30 13:23:56 -04:00
BreakCriticalEdges.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
BuildLibCalls.h BuildLibCalls.h - remove unnecessary TargetLibraryInfo forward declaration. NFC 2020-04-19 11:14:00 +01:00
BypassSlowDivision.h [DivRemPairs] Recommit: Handling for expanded-form rem - recomposition (PR42673) 2019-07-31 12:06:51 +00:00
CallGraphUpdater.h [NewPassManager] Add assertions when getting statefull cached analysis. 2020-05-13 12:38:38 -07:00
CallPromotionUtils.h [llvm][NFC] Change parameter type to more specific CallBase in IndirectCallPromotion 2020-04-29 08:42:32 -07:00
CanonicalizeAliases.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Cloning.h [llvm][NFC] CallSite removal from inliner-related files 2020-04-13 21:28:58 -07:00
CodeExtractor.h [CodeExtractor] Remove stale llvm.assume calls from extracted region 2020-01-28 17:18:01 -08:00
CodeMoverUtils.h [LoopFusion] Move instructions from FC1.Preheader to FC0.Preheader when 2020-01-29 15:06:11 +00:00
CtorUtils.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Debugify.h [Debugify] Strip added metadata in the -debugify-each pipeline 2020-04-13 10:55:17 -07:00
EntryExitInstrumenter.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
EscapeEnumerator.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Evaluator.h [llvm][NFC][CallSite] Remove CallSite from Evaluator. 2020-04-17 19:11:17 -07:00
FunctionComparator.h [llvm][NFC] Use CallBase explicitly instead of Instruction in FunctionComparator 2020-04-29 15:37:46 -07:00
FunctionImportUtils.h [ThinLTO] Drop dso_local if a GlobalVariable satisfies isDeclarationForLinker() 2020-04-07 15:46:01 -07:00
GlobalStatus.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
GuardUtils.h Move widenable branch formation into makeGuardControlFlowExplicit helper 2019-11-20 12:54:05 -08:00
ImportedFunctionsInliningStatistics.h Fix misspelled filenames in file headers 2019-02-07 14:38:25 +00:00
InjectTLIMappings.h [SVFS] Inject TLI Mappings in VFABI attribute. 2019-11-15 18:42:56 +00:00
IntegerDivision.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
LCSSA.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
LibCallsShrinkWrap.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Local.h Local.h - remove unused forward declaration. NFC. 2020-05-10 16:59:54 +01:00
LoopRotationUtils.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
LoopSimplify.h [MemorySSA] Teach LoopSimplify to preserve MemorySSA. 2019-05-08 17:05:36 +00:00
LoopUtils.h [LAA] Move runtime-check generation to Transforms/Utils/loopUtils (NFC) 2020-05-10 17:39:26 +01:00
LoopVersioning.h [LoopVersioning] Update setAliasChecks to take ArrayRef argument (NFC). 2020-04-30 22:17:12 +01:00
LowerInvoke.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
LowerMemIntrinsics.h Utils: Mostly convert memcpy expansion to use Align 2020-03-22 11:21:44 -04:00
Mem2Reg.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
MisExpect.h Reland "clang-misexpect: Profile Guided Validation of Performance Annotations in LLVM" 2019-09-11 16:19:50 +00:00
ModuleUtils.h ModuleUtils.h - include and forward declaration cleanup. NFC. 2020-04-11 21:25:53 +01:00
NameAnonGlobals.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PredicateInfo.h [Pass] Ensure we don't include PassSupport.h or PassAnalysisSupport.h directly 2020-04-26 12:58:20 +01:00
PromoteMemToReg.h PromoteMemToReg.h - remove unused llvm::AliasSetTracker forward declaration. NFC. 2020-04-10 15:47:57 +01:00
SanitizerStats.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SimplifyIndVar.h [NFC][SCEV] Piping to pass TTI into SCEVExpander::isHighCostExpansionHelper() 2020-02-25 23:05:56 +03:00
SimplifyLibCalls.h SimplifyLibCalls.h - remove unused llvm::BasicBlock forward declaration. NFC. 2020-04-10 15:47:57 +01:00
SizeOpts.h [PGO][PGSO] Prep for enabling non-cold code size opts under non-partial-profile sample PGO. 2020-04-29 08:57:47 -07:00
SplitModule.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SSAUpdater.h [LICM/MSSA] Add promotion to scalars by building an AliasSetTracker with MemorySSA. 2019-02-06 20:25:17 +00:00
SSAUpdaterBulk.h SSAUpdaterBulk.h - remove unnecessary SmallPtrSet.h include. NFC 2020-04-17 12:17:59 +01:00
SSAUpdaterImpl.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SymbolRewriter.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
UnifyFunctionExitNodes.h UnifyFunctionExitNodes.h - remove unnecessary PassRegistry.h include. NFC 2020-04-17 12:17:59 +01:00
UniqueInternalLinkageNames.h New pass to make internal linkage symbol names unique. 2020-04-20 15:05:22 -07:00
UnrollLoop.h [LoopUnrollAndJam] Changed safety checks to consider more than 2-levels 2020-05-06 21:47:44 +00:00
ValueMapper.h Revert rGd5d8569df14e95e2c53d167bd1b37995bcbec565 "Fix static analysis warnings about classes with virtual methods not having virtual destructors" 2020-03-21 11:39:34 +00:00
VNCoercion.h VNCoercion.h - remove unused llvm::Function forward declaration. NFC. 2020-04-10 15:47:57 +01:00