14#ifndef LLVM_LINKALLPASSES_H
15#define LLVM_LINKALLPASSES_H
57struct ForcePassLinking {
134 llvm::raw_string_ostream os(buf);
152 (void)
new llvm::ScalarEvolutionWrapperPass();
155 llvm::RGPassManager RGM;
156 llvm::TargetLibraryInfoImpl TLII((llvm::Triple()));
157 llvm::TargetLibraryInfo TLI(TLII);
159 llvm::BatchAAResults BAA(AA);
160 llvm::AliasSetTracker
X(BAA);
161 X.add(llvm::MemoryLocation());
This file implements a simple N^2 alias analysis accuracy evaluator.
Provides passes to inlining "always_inline" functions.
This is the interface for LLVM's primary stateless and local alias analysis.
This file provides the interface for LLVM's Global Value Numbering pass which eliminates fully redund...
This is the interface for a simple mod/ref and alias analysis over globals.
This file contains an interface for creating legacy passes to print out IR in various granularities.
This file provides the primary interface to the instcombine pass.
This is the interface for a SCEV-based alias analysis.
This pass converts vector operations into scalar operations (or, optionally, operations on smaller ve...
This is the interface for a metadata-based scoped no-alias analysis.
This file defines the 'Statistic' class, which is designed to be an easy way to expose various metric...
static TableGen::Emitter::OptClass< SkeletonEmitter > X("gen-skeleton-class", "Generate example skeleton class")
This is the interface for a metadata-based TBAA.
static Function * Create(FunctionType *Ty, LinkageTypes Linkage, unsigned AddrSpace, const Twine &N="", Module *M=nullptr)
void viewCFGOnly() const
viewCFGOnly - This function is meant for use from the debugger.
@ ExternalLinkage
Externally visible function.
Triple - Helper class for working with autoconf configuration names.
LLVM_ABI bool RunningOnValgrind()
This is an optimization pass for GlobalISel generic memory operations.
LLVM_ABI ModulePass * createLowerGlobalDtorsLegacyPass()
LLVM_ABI FunctionPass * createDomOnlyPrinterWrapperPassPass()
LLVM_ABI FunctionPass * createDeadStoreEliminationPass()
LLVM_ABI ModulePass * createCallGraphDOTPrinterPass()
LLVM_ABI FunctionPass * createPostDomOnlyViewerWrapperPassPass()
LLVM_ABI FunctionPass * createCFGSimplificationPass(SimplifyCFGOptions Options=SimplifyCFGOptions(), std::function< bool(const Function &)> Ftor=nullptr)
LLVM_ABI Pass * createLCSSAPass()
LLVM_ABI FunctionPass * createRegionOnlyViewerPass()
LLVM_ABI FunctionPass * createTailCallEliminationPass()
LLVM_ABI ModulePass * createJMCInstrumenterPass()
JMC instrument pass.
LLVM_ABI FunctionPass * createPromoteMemoryToRegisterPass()
LLVM_ABI FunctionPass * createInstructionCombiningPass()
LLVM_ABI ModulePass * createGlobalMergeFuncPass()
This pass performs merging similar functions globally.
LLVM_ABI FunctionPass * createConstantHoistingPass()
LLVM_ABI FunctionPass * createSafeStackPass()
This pass splits the stack into a safe stack and an unsafe stack to protect against stack-based overf...
LLVM_ABI FunctionPass * createBreakCriticalEdgesPass()
LLVM_ABI FunctionPass * createRegToMemWrapperPass()
LLVM_ABI FunctionPass * createDeadCodeEliminationPass()
LLVM_ABI FunctionPass * createSelectOptimizePass()
This pass converts conditional moves to conditional jumps when profitable.
LLVM_ABI FunctionPass * createRegionPrinterPass()
LLVM_ABI FunctionPass * createSpeculativeExecutionIfHasBranchDivergencePass()
LLVM_ABI FunctionPass * createPostInlineEntryExitInstrumenterPass()
LLVM_ABI FunctionPass * createPostDomViewerWrapperPassPass()
LLVM_ABI Pass * createLoadStoreVectorizerPass()
Create a legacy pass manager instance of the LoadStoreVectorizer pass.
LLVM_ABI FunctionPass * createDomPrinterWrapperPassPass()
LLVM_ABI FunctionPass * createSCEVAAWrapperPass()
Creates an instance of SCEVAAWrapperPass.
LLVM_ABI FunctionPass * createNaryReassociatePass()
LLVM_ABI FunctionPass * createScalarizeMaskedMemIntrinLegacyPass()
LLVM_ABI ModulePass * createDXILResourceTypeWrapperPassPass()
LLVM_ABI Pass * createLowerAtomicPass()
LLVM_ABI FunctionPass * createPostDomOnlyPrinterWrapperPassPass()
LLVM_ABI Pass * createLoopTermFoldPass()
LLVM_ABI Pass * createStructurizeCFGPass(bool SkipUniformRegions=false)
When SkipUniformRegions is true the structizer will not structurize regions that only contain uniform...
LLVM_ABI Pass * createLICMPass()
LLVM_ABI ModulePass * createGlobalDCEPass()
LLVM_ABI Pass * createLoopUnrollPass(int OptLevel=2, bool OnlyWhenForced=false, bool ForgetAllSCEV=false, int Threshold=-1, int Count=-1, int AllowPartial=-1, int Runtime=-1, int UpperBound=-1, int AllowPeeling=-1)
LLVM_ABI FunctionPass * createLazyValueInfoPass()
createLazyValueInfoPass - This creates an instance of the LazyValueInfo pass.
LLVM_ABI Pass * createLoopExtractorPass()
createLoopExtractorPass - This pass extracts all natural loops from the program into a function if it...
LLVM_ABI ModulePass * createGlobalsAAWrapperPass()
LLVM_ABI FunctionPass * createSinkingPass()
LLVM_ABI FunctionPass * createExpandMemCmpLegacyPass()
LLVM_ABI FunctionPass * createPostDomTree()
LLVM_ABI FunctionPass * createLowerInvokePass()
LLVM_ABI FunctionPass * createKCFIPass()
Lowers KCFI operand bundles for indirect calls.
LLVM_ABI ImmutablePass * createScopedNoAliasAAWrapperPass()
LLVM_ABI FunctionPass * createRegionOnlyPrinterPass()
LLVM_ABI FunctionPass * createSpeculativeExecutionPass()
LLVM_ABI Pass * createSingleLoopExtractorPass()
createSingleLoopExtractorPass - This pass extracts one natural loop from the program into a function ...
LLVM_ABI FunctionPass * createUnifyLoopExitsPass()
LLVM_ABI bool AreStatisticsEnabled()
Check if statistics are enabled.
LLVM_ABI FunctionPass * createFixIrreduciblePass()
LLVM_ABI FunctionPass * createCodeGenPrepareLegacyPass()
createCodeGenPrepareLegacyPass - Transform the code to expose more pattern matching during instructio...
LLVM_ABI FunctionPass * createBasicAAWrapperPass()
LLVM_ABI Pass * createAlwaysInlinerLegacyPass(bool InsertLifetime=true)
Create a legacy pass manager instance of a pass to inline and remove functions marked as "always_inli...
LLVM_ABI FunctionPass * createSeparateConstOffsetFromGEPPass(bool LowerGEP=false)
LLVM_ABI FunctionPass * createExpandLargeDivRemPass()
LLVM_ABI Pass * createMergeICmpsLegacyPass()
LLVM_ABI FunctionPass * createReassociatePass()
LLVM_ABI FunctionPass * createGVNPass()
Create a legacy GVN pass.
LLVM_ABI ModulePass * createPrintModulePass(raw_ostream &OS, const std::string &Banner="", bool ShouldPreserveUseListOrder=false)
Create and return a pass that writes the module to the specified raw_ostream.
LLVM_ABI FunctionPass * createDomOnlyViewerWrapperPassPass()
LLVM_ABI ImmutablePass * createTypeBasedAAWrapperPass()
LLVM_ABI Pass * createLoopStrengthReducePass()
LLVM_ABI FunctionPass * createScalarizerPass(const ScalarizerPassOptions &Options=ScalarizerPassOptions())
Create a legacy pass manager instance of the Scalarizer pass.
LLVM_ABI ModulePass * createDeadArgEliminationPass()
createDeadArgEliminationPass - This pass removes arguments from functions which are not used by the b...
LLVM_ABI FunctionPass * createLowerSwitchPass()
LLVM_ABI FunctionPass * createRegionViewerPass()
LLVM_ABI FunctionPass * createPartiallyInlineLibCallsPass()
LLVM_ABI FunctionPass * createAtomicExpandLegacyPass()
AtomicExpandPass - At IR level this pass replace atomic instructions with __atomic_* library calls,...
LLVM_ABI FunctionPass * createStraightLineStrengthReducePass()
LLVM_ABI FunctionPass * createPostDomPrinterWrapperPassPass()
LLVM_ABI FunctionPass * createEarlyCSEPass(bool UseMemorySSA=false)
AAResults AliasAnalysis
Temporary typedef for legacy code that uses a generic AliasAnalysis pointer or reference.
LLVM_ABI FunctionPass * createRegionInfoPass()
LLVM_ABI ModulePass * createCallGraphViewerPass()
LLVM_ABI Pass * createObjCARCContractPass()
LLVM_ABI FunctionPass * createSROAPass(bool PreserveCFG=true)
LLVM_ABI FunctionPass * createPrintFunctionPass(raw_ostream &OS, const std::string &Banner="")
Create and return a pass that prints functions to the specified raw_ostream as they are processed.
LLVM_ABI FunctionPass * createDomViewerWrapperPassPass()
LLVM_ABI Pass * createLoopSimplifyPass()
LLVM_ABI ModulePass * createDXILResourceWrapperPassPass()
LLVM_ABI FunctionPass * createDependenceAnalysisWrapperPass()
createDependenceAnalysisPass - This creates an instance of the DependenceAnalysis wrapper pass.
LLVM_ABI FunctionPass * createHardwareLoopsLegacyPass()
Create Hardware Loop pass.
bool getNonFoldableAlwaysTrue()
LLVM_ABI FunctionPass * createInstSimplifyLegacyPass()