LLVM  16.0.0git
LinkAllPasses.h
Go to the documentation of this file.
1 //===- llvm/LinkAllPasses.h ------------ Reference All Passes ---*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This header file pulls in all transformation and analysis passes for tools
10 // like opt and bugpoint that need this functionality.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef LLVM_LINKALLPASSES_H
15 #define LLVM_LINKALLPASSES_H
16 
17 #include "llvm/ADT/Statistic.h"
27 #include "llvm/Analysis/Lint.h"
28 #include "llvm/Analysis/Passes.h"
37 #include "llvm/CodeGen/Passes.h"
38 #include "llvm/IR/Function.h"
40 #include "llvm/Support/Valgrind.h"
42 #include "llvm/Transforms/IPO.h"
50 #include "llvm/Transforms/Scalar.h"
54 #include "llvm/Transforms/Utils.h"
58 #include <cstdlib>
59 
60 namespace {
61  struct ForcePassLinking {
62  ForcePassLinking() {
63  // We must reference the passes in such a way that compilers will not
64  // delete it all as dead code, even with whole program optimization,
65  // yet is effectively a NO-OP. As the compiler isn't smart enough
66  // to know that getenv() never returns -1, this will do the job.
67  // This is so that globals in the translation units where these functions
68  // are defined are forced to be initialized, populating various
69  // registries.
70  if (std::getenv("bar") != (char*) -1)
71  return;
72 
73  (void) llvm::createAAEvalPass();
102  (void) llvm::createGlobalDCEPass();
107  (void) llvm::createIPSCCPPass();
114  (void) llvm::createLCSSAPass();
116  (void) llvm::createLICMPass();
117  (void) llvm::createLoopSinkPass();
130  (void) llvm::createLoopIdiomPass();
152  (void) llvm::createSCCPPass();
153  (void) llvm::createSafeStackPass();
154  (void) llvm::createSROAPass();
165  (void) llvm::createInstCountPass();
168  (void) llvm::createEarlyCSEPass();
169  (void) llvm::createGVNHoistPass();
171  (void) llvm::createGVNPass();
172  (void) llvm::createNewGVNPass();
173  (void) llvm::createMemCpyOptPass();
175  (void) llvm::createPostDomTree();
187  std::string buf;
188  llvm::raw_string_ostream os(buf);
189  (void) llvm::createPrintModulePass(os);
194  (void) llvm::createSinkingPass();
197  (void) llvm::createMemDepPrinter();
212  (void) llvm::createFloat2IntPass();
222 
223  (void)new llvm::IntervalPartition();
228  llvm::TargetLibraryInfo TLI(TLII);
229  llvm::AliasAnalysis AA(TLI);
232  llvm::AAMDNodes()); // for -print-alias-sets
235  }
236  } ForcePassLinking; // Force link by creating a global definition.
237 }
238 
239 #endif
TypeBasedAliasAnalysis.h
llvm::createMustExecutePrinter
FunctionPass * createMustExecutePrinter()
Definition: MustExecute.cpp:348
llvm::createJMCInstrumenterPass
ModulePass * createJMCInstrumenterPass()
JMC instrument pass.
Instrumentation.h
SymbolRewriter.h
llvm::createMergedLoadStoreMotionPass
FunctionPass * createMergedLoadStoreMotionPass(bool SplitFooterBB=false)
createMergedLoadStoreMotionPass - The public interface to this file.
Definition: MergedLoadStoreMotion.cpp:400
Lint.h
llvm::createLowerInvokePass
FunctionPass * createLowerInvokePass()
Definition: LowerInvoke.cpp:85
llvm::createMustBeExecutedContextPrinter
ModulePass * createMustBeExecutedContextPrinter()
Definition: MustExecute.cpp:365
llvm::createRegionOnlyPrinterPass
FunctionPass * createRegionOnlyPrinterPass()
Definition: RegionPrinter.cpp:207
llvm::createTailCallEliminationPass
FunctionPass * createTailCallEliminationPass()
Definition: TailRecursionElimination.cpp:917
llvm::createSeparateConstOffsetFromGEPPass
FunctionPass * createSeparateConstOffsetFromGEPPass(bool LowerGEP=false)
Definition: SeparateConstOffsetFromGEP.cpp:498
llvm::createBreakCriticalEdgesPass
FunctionPass * createBreakCriticalEdgesPass()
llvm::createPostDomOnlyPrinterWrapperPassPass
FunctionPass * createPostDomOnlyPrinterWrapperPassPass()
Definition: DomPrinter.cpp:234
RegionPass.h
llvm::createCFLAndersAAWrapperPass
ImmutablePass * createCFLAndersAAWrapperPass()
Scalar.h
llvm::raw_string_ostream
A raw_ostream that writes to an std::string.
Definition: raw_ostream.h:629
llvm::createAlwaysInlinerLegacyPass
Pass * createAlwaysInlinerLegacyPass(bool InsertLifetime=true)
Create a legacy pass manager instance of a pass to inline and remove functions marked as "always_inli...
Definition: AlwaysInliner.cpp:175
llvm::createCFGSimplificationPass
FunctionPass * createCFGSimplificationPass(SimplifyCFGOptions Options=SimplifyCFGOptions(), std::function< bool(const Function &)> Ftor=nullptr)
Definition: SimplifyCFGPass.cpp:432
llvm::createFixIrreduciblePass
FunctionPass * createFixIrreduciblePass()
Definition: FixIrreducible.cpp:104
Statistic.h
llvm::createLoopSimplifyCFGPass
Pass * createLoopSimplifyCFGPass()
Definition: LoopSimplifyCFG.cpp:783
UnifyFunctionExitNodes.h
llvm::createLintLegacyPassPass
FunctionPass * createLintLegacyPassPass()
Definition: Lint.cpp:766
GlobalsModRef.h
llvm::createEarlyCSEPass
FunctionPass * createEarlyCSEPass(bool UseMemorySSA=false)
Definition: EarlyCSE.cpp:1790
llvm::AliasSetTracker
Definition: AliasSetTracker.h:305
llvm::createDeadArgEliminationPass
ModulePass * createDeadArgEliminationPass()
createDeadArgEliminationPass - This pass removes arguments from functions which are not used by the b...
llvm::AAMDNodes
A collection of metadata nodes that might be associated with a memory access used by the alias-analys...
Definition: Metadata.h:652
llvm::createInstructionNamerPass
FunctionPass * createInstructionNamerPass()
ScalarEvolution.h
llvm::createVectorCombinePass
Pass * createVectorCombinePass()
Definition: VectorCombine.cpp:1845
llvm::sys::RunningOnValgrind
bool RunningOnValgrind()
Definition: Valgrind.cpp:32
llvm::createCFLSteensAAWrapperPass
ImmutablePass * createCFLSteensAAWrapperPass()
llvm::createLoopIdiomPass
Pass * createLoopIdiomPass()
Definition: LoopIdiomRecognize.cpp:345
llvm::createDeadStoreEliminationPass
FunctionPass * createDeadStoreEliminationPass()
Definition: DeadStoreElimination.cpp:2317
llvm::createGuardWideningPass
FunctionPass * createGuardWideningPass()
Definition: GuardWidening.cpp:907
llvm::createLoopStrengthReducePass
Pass * createLoopStrengthReducePass()
Definition: LoopStrengthReduce.cpp:6967
llvm::createMemCpyOptPass
FunctionPass * createMemCpyOptPass()
The public interface to this file...
Definition: MemCpyOptimizer.cpp:293
llvm::TargetLibraryInfoImpl
Implementation of the target library information.
Definition: TargetLibraryInfo.h:50
llvm::createMergeFunctionsPass
ModulePass * createMergeFunctionsPass()
createMergeFunctionsPass - This pass discovers identical functions and collapses them.
llvm::createLowerGlobalDtorsLegacyPass
ModulePass * createLowerGlobalDtorsLegacyPass()
llvm::createGVNPass
FunctionPass * createGVNPass(bool NoMemDepAnalysis=false)
Create a legacy GVN pass.
Definition: GVN.cpp:3244
llvm::createAttributorLegacyPass
Pass * createAttributorLegacyPass()
Definition: Attributor.cpp:3578
llvm::createPostDomPrinterWrapperPassPass
FunctionPass * createPostDomPrinterWrapperPassPass()
Definition: DomPrinter.cpp:230
RegionPrinter.h
BasicAliasAnalysis.h
llvm::createRewriteSymbolsPass
ModulePass * createRewriteSymbolsPass()
llvm::createExpandMemCmpPass
FunctionPass * createExpandMemCmpPass()
Definition: ExpandMemCmp.cpp:920
llvm::createStripDeadPrototypesPass
ModulePass * createStripDeadPrototypesPass()
createStripDeadPrototypesPass - This pass removes any function declarations (prototypes) that are not...
Scalarizer.h
llvm::createLoopExtractorPass
Pass * createLoopExtractorPass()
createLoopExtractorPass - This pass extracts all natural loops from the program into a function if it...
llvm::createLoopGuardWideningPass
Pass * createLoopGuardWideningPass()
Definition: GuardWidening.cpp:911
llvm::createAttributorCGSCCLegacyPass
Pass * createAttributorCGSCCLegacyPass()
Definition: Attributor.cpp:3579
llvm::createFloat2IntPass
FunctionPass * createFloat2IntPass()
Definition: Float2Int.cpp:532
llvm::createSLPVectorizerPass
Pass * createSLPVectorizerPass()
Definition: SLPVectorizer.cpp:13238
llvm::createDomViewerWrapperPassPass
FunctionPass * createDomViewerWrapperPassPass()
Definition: DomPrinter.cpp:222
llvm::createSingleLoopExtractorPass
Pass * createSingleLoopExtractorPass()
createSingleLoopExtractorPass - This pass extracts one natural loop from the program into a function ...
Definition: LoopExtractor.cpp:257
llvm::AreStatisticsEnabled
bool AreStatisticsEnabled()
Check if statistics are enabled.
Definition: Statistic.cpp:139
llvm::createAAEvalPass
FunctionPass * createAAEvalPass()
Create a wrapper of the above for the legacy pass manager.
Definition: AliasAnalysisEvaluator.cpp:363
llvm::createDFAJumpThreadingPass
FunctionPass * createDFAJumpThreadingPass()
Definition: DFAJumpThreading.cpp:212
llvm::createLoopSinkPass
Pass * createLoopSinkPass()
llvm::createLoopInterchangePass
Pass * createLoopInterchangePass()
Definition: LoopInterchange.cpp:1715
AlwaysInliner.h
llvm::AAResults
Definition: AliasAnalysis.h:294
llvm::createCallGraphViewerPass
ModulePass * createCallGraphViewerPass()
PostDominators.h
llvm::createConstantHoistingPass
FunctionPass * createConstantHoistingPass()
Definition: ConstantHoisting.cpp:139
llvm::createNaryReassociatePass
FunctionPass * createNaryReassociatePass()
Definition: NaryReassociate.cpp:165
llvm::createLoopVersioningLICMPass
Pass * createLoopVersioningLICMPass()
Definition: LoopVersioningLICM.cpp:629
llvm::createNewGVNPass
FunctionPass * createNewGVNPass()
Definition: NewGVN.cpp:4265
llvm::createDependenceAnalysisWrapperPass
FunctionPass * createDependenceAnalysisWrapperPass()
createDependenceAnalysisPass - This creates an instance of the DependenceAnalysis wrapper pass.
Definition: DependenceAnalysis.cpp:152
AggressiveInstCombine.h
TargetLibraryInfo.h
llvm::createLibCallsShrinkWrapPass
FunctionPass * createLibCallsShrinkWrapPass()
Definition: LibCallsShrinkWrap.cpp:548
llvm::createDomOnlyPrinterWrapperPassPass
FunctionPass * createDomOnlyPrinterWrapperPassPass()
Definition: DomPrinter.cpp:218
IRPrintingPasses.h
llvm::createUnifyLoopExitsPass
FunctionPass * createUnifyLoopExitsPass()
Definition: UnifyLoopExits.cpp:61
llvm::createIndVarSimplifyPass
Pass * createIndVarSimplifyPass()
Definition: IndVarSimplify.cpp:2158
GVN.h
llvm::ScalarEvolutionWrapperPass
Definition: ScalarEvolution.h:2188
llvm::createLoadStoreVectorizerPass
Pass * createLoadStoreVectorizerPass()
Create a legacy pass manager instance of the LoadStoreVectorizer pass.
llvm::createGlobalOptimizerPass
ModulePass * createGlobalOptimizerPass()
createGlobalOptimizerPass - This function returns a new pass that optimizes non-address taken interna...
Definition: GlobalOpt.cpp:2624
llvm::createCostModelAnalysisPass
FunctionPass * createCostModelAnalysisPass()
Definition: CostModel.cpp:78
CFLAndersAliasAnalysis.h
llvm::createSinkingPass
FunctionPass * createSinkingPass()
Definition: Sink.cpp:277
llvm::Function::viewCFGOnly
void viewCFGOnly() const
viewCFGOnly - This function is meant for use from the debugger.
Definition: CFGPrinter.cpp:278
llvm::createSpeculativeExecutionPass
FunctionPass * createSpeculativeExecutionPass()
Definition: SpeculativeExecution.cpp:325
Utils.h
llvm::createInjectTLIMappingsLegacyPass
FunctionPass * createInjectTLIMappingsLegacyPass()
Definition: InjectTLIMappings.cpp:174
llvm::createPostDomViewerWrapperPassPass
FunctionPass * createPostDomViewerWrapperPassPass()
Definition: DomPrinter.cpp:238
ScopedNoAliasAA.h
llvm::createPostDomTree
FunctionPass * createPostDomTree()
Definition: PostDominators.cpp:92
X
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang", "erlang-compatible garbage collector")
InstSimplifyPass.h
llvm::createFunctionInliningPass
Pass * createFunctionInliningPass()
createFunctionInliningPass - Return a new pass object that uses a heuristic to inline direct function...
Definition: InlineSimple.cpp:91
llvm::createLowerSwitchPass
FunctionPass * createLowerSwitchPass()
Definition: LowerSwitch.cpp:587
Passes.h
llvm::createIPSCCPPass
ModulePass * createIPSCCPPass()
createIPSCCPPass - This pass propagates constants from call sites into the bodies of functions,...
Definition: SCCP.cpp:110
llvm::createGlobalsAAWrapperPass
ModulePass * createGlobalsAAWrapperPass()
Definition: GlobalsModRef.cpp:1040
Valgrind.h
llvm::createRedundantDbgInstEliminationPass
Pass * createRedundantDbgInstEliminationPass()
Attributor.h
llvm::createLCSSAPass
Pass * createLCSSAPass()
Definition: LCSSA.cpp:491
llvm::createLoopRerollPass
Pass * createLoopRerollPass()
Definition: LoopRerollPass.cpp:501
llvm::IntervalPartition
Definition: IntervalPartition.h:42
CallPrinter.h
llvm::createGVNHoistPass
FunctionPass * createGVNHoistPass()
Definition: GVNHoist.cpp:1267
llvm::createReversePostOrderFunctionAttrsPass
Pass * createReversePostOrderFunctionAttrsPass()
createReversePostOrderFunctionAttrsPass - This pass walks SCCs of the call graph in RPO to deduce and...
Definition: FunctionAttrs.cpp:1906
llvm::createModuleDebugInfoPrinterPass
ModulePass * createModuleDebugInfoPrinterPass()
BoundsChecking.h
IPO.h
llvm::createGlobalDCEPass
ModulePass * createGlobalDCEPass()
createGlobalDCEPass - This transform is designed to eliminate unreachable internal globals (functions...
llvm::createLowerExpectIntrinsicPass
FunctionPass * createLowerExpectIntrinsicPass()
llvm::createLowerAtomicPass
Pass * createLowerAtomicPass()
DomPrinter.h
llvm::createPartiallyInlineLibCallsPass
FunctionPass * createPartiallyInlineLibCallsPass()
Definition: PartiallyInlineLibCalls.cpp:215
llvm::createCorrelatedValuePropagationPass
Pass * createCorrelatedValuePropagationPass()
Definition: CorrelatedValuePropagation.cpp:132
llvm::createPostOrderFunctionAttrsLegacyPass
Pass * createPostOrderFunctionAttrsLegacyPass()
Create a legacy pass manager instance of a pass to compute function attrs in post-order.
Definition: FunctionAttrs.cpp:1854
llvm::Function::Create
static Function * Create(FunctionType *Ty, LinkageTypes Linkage, unsigned AddrSpace, const Twine &N="", Module *M=nullptr)
Definition: Function.h:137
llvm::createScalarizerPass
FunctionPass * createScalarizerPass()
Create a legacy pass manager instance of the Scalarizer pass.
Definition: Scalarizer.cpp:359
llvm::createMetaRenamerPass
ModulePass * createMetaRenamerPass()
Definition: MetaRenamer.cpp:238
llvm::createLoopSimplifyPass
Pass * createLoopSimplifyPass()
Definition: LoopSimplify.cpp:790
llvm::createDemoteRegisterToMemoryPass
FunctionPass * createDemoteRegisterToMemoryPass()
Definition: Reg2Mem.cpp:140
llvm::createExpandVectorPredicationPass
FunctionPass * createExpandVectorPredicationPass()
This pass expands the vector predication intrinsics into unpredicated instructions with selects or ju...
Definition: ExpandVectorPredication.cpp:706
llvm::createTypeBasedAAWrapperPass
ImmutablePass * createTypeBasedAAWrapperPass()
IntervalPartition.h
llvm::RGPassManager
The pass manager to schedule RegionPasses.
Definition: RegionPass.h:87
llvm::createSCCPPass
FunctionPass * createSCCPPass()
Definition: SCCP.cpp:368
llvm::createDomPrinterWrapperPassPass
FunctionPass * createDomPrinterWrapperPassPass()
llvm::createInductiveRangeCheckEliminationPass
Pass * createInductiveRangeCheckEliminationPass()
Definition: InductiveRangeCheckElimination.cpp:2004
llvm::createStripSymbolsPass
ModulePass * createStripSymbolsPass(bool OnlyDebugInfo=false)
llvm::createHardwareLoopsPass
FunctionPass * createHardwareLoopsPass()
Create Hardware Loop pass.
Definition: HardwareLoops.cpp:543
llvm::createStripDeadDebugInfoPass
ModulePass * createStripDeadDebugInfoPass()
llvm::createRegionViewerPass
FunctionPass * createRegionViewerPass()
Definition: RegionPrinter.cpp:211
llvm::createCalledValuePropagationPass
ModulePass * createCalledValuePropagationPass()
createCalledValuePropagationPass - Attach metadata to indirct call sites indicating the set of functi...
llvm::createUnifyFunctionExitNodesPass
Pass * createUnifyFunctionExitNodesPass()
llvm::createTLSVariableHoistPass
FunctionPass * createTLSVariableHoistPass()
Definition: TLSVariableHoist.cpp:84
llvm::createStructurizeCFGPass
Pass * createStructurizeCFGPass(bool SkipUniformRegions=false)
When SkipUniformRegions is true the structizer will not structurize regions that only contain uniform...
Definition: StructurizeCFG.cpp:1205
llvm::createMemDerefPrinter
FunctionPass * createMemDerefPrinter()
Definition: MemDerefPrinter.cpp:48
llvm::createReassociatePass
FunctionPass * createReassociatePass()
llvm::createBasicAAWrapperPass
FunctionPass * createBasicAAWrapperPass()
Definition: BasicAliasAnalysis.cpp:1795
llvm::createAggressiveDCEPass
FunctionPass * createAggressiveDCEPass()
Definition: ADCE.cpp:760
llvm::createSelectOptimizePass
FunctionPass * createSelectOptimizePass()
This pass converts conditional moves to conditional jumps when profitable.
Definition: SelectOptimize.cpp:230
llvm::LocationSize::beforeOrAfterPointer
constexpr static LocationSize beforeOrAfterPointer()
Any location before or after the base pointer (but still within the underlying object).
Definition: MemoryLocation.h:131
llvm::createScalarizeMaskedMemIntrinLegacyPass
FunctionPass * createScalarizeMaskedMemIntrinLegacyPass()
Definition: ScalarizeMaskedMemIntrin.cpp:87
llvm::createScopedNoAliasAAWrapperPass
ImmutablePass * createScopedNoAliasAAWrapperPass()
llvm::createBitTrackingDCEPass
FunctionPass * createBitTrackingDCEPass()
Definition: BDCE.cpp:207
llvm::createAlignmentFromAssumptionsPass
FunctionPass * createAlignmentFromAssumptionsPass()
Definition: AlignmentFromAssumptions.cpp:83
llvm::createInstCountPass
FunctionPass * createInstCountPass()
llvm::createCallGraphDOTPrinterPass
ModulePass * createCallGraphDOTPrinterPass()
Definition: CallPrinter.cpp:355
Function.h
llvm::createStripNonDebugSymbolsPass
ModulePass * createStripNonDebugSymbolsPass()
llvm::createSCEVAAWrapperPass
FunctionPass * createSCEVAAWrapperPass()
Creates an instance of SCEVAAWrapperPass.
Definition: ScalarEvolutionAliasAnalysis.cpp:152
llvm::createLoopRotatePass
Pass * createLoopRotatePass(int MaxHeaderSize=-1, bool PrepareForLTO=false)
Definition: LoopRotation.cpp:150
llvm::createInternalizePass
ModulePass * createInternalizePass(std::function< bool(const GlobalValue &)> MustPreserveGV)
createInternalizePass - This pass loops over all of the functions in the input module,...
Definition: Internalize.cpp:328
llvm::TargetLibraryInfo
Provides information about what library functions are available for the current target.
Definition: TargetLibraryInfo.h:226
ScalarEvolutionAliasAnalysis.h
llvm::createInstSimplifyLegacyPass
FunctionPass * createInstSimplifyLegacyPass()
Definition: InstSimplifyPass.cpp:125
llvm::createRegionInfoPass
FunctionPass * createRegionInfoPass()
Definition: RegionInfo.cpp:176
llvm::createPromoteMemoryToRegisterPass
FunctionPass * createPromoteMemoryToRegisterPass()
Definition: Mem2Reg.cpp:114
llvm::createPostDomOnlyViewerWrapperPassPass
FunctionPass * createPostDomOnlyViewerWrapperPassPass()
Definition: DomPrinter.cpp:242
llvm::createInstructionCombiningPass
FunctionPass * createInstructionCombiningPass()
Definition: InstructionCombining.cpp:4723
llvm::GlobalValue::ExternalLinkage
@ ExternalLinkage
Externally visible function.
Definition: GlobalValue.h:48
llvm::createLazyValueInfoPass
FunctionPass * createLazyValueInfoPass()
createLazyValueInfoPass - This creates an instance of the LazyValueInfo pass.
Definition: LazyValueInfo.cpp:63
llvm::createEliminateAvailableExternallyPass
ModulePass * createEliminateAvailableExternallyPass()
This transform is designed to eliminate available external globals (functions or global variables)
llvm::createLICMPass
Pass * createLICMPass()
Definition: LICM.cpp:349
AliasAnalysisEvaluator.h
llvm::createLoopPredicationPass
Pass * createLoopPredicationPass()
Definition: LoopPredication.cpp:366
ObjCARC.h
llvm::createLowerConstantIntrinsicsPass
FunctionPass * createLowerConstantIntrinsicsPass()
Definition: LowerConstantIntrinsics.cpp:204
llvm::createStraightLineStrengthReducePass
FunctionPass * createStraightLineStrengthReducePass()
Definition: StraightLineStrengthReduce.cpp:268
llvm::createJumpThreadingPass
FunctionPass * createJumpThreadingPass(int Threshold=-1)
Definition: JumpThreading.cpp:176
llvm::createConstantMergePass
ModulePass * createConstantMergePass()
createConstantMergePass - This function returns a new pass that merges duplicate global constants tog...
llvm::createRegionOnlyViewerPass
FunctionPass * createRegionOnlyViewerPass()
Definition: RegionPrinter.cpp:215
llvm::createMemDepPrinter
FunctionPass * createMemDepPrinter()
Definition: MemDepPrinter.cpp:84
llvm::createLoopFlattenPass
FunctionPass * createLoopFlattenPass()
Definition: LoopFlatten.cpp:973
llvm::createLegacyDivergenceAnalysisPass
FunctionPass * createLegacyDivergenceAnalysisPass()
Definition: LegacyDivergenceAnalysis.cpp:298
Vectorize.h
llvm::createWarnMissedTransformationsPass
Pass * createWarnMissedTransformationsPass()
Definition: WarnMissedTransforms.cpp:148
llvm::createPartialInliningPass
ModulePass * createPartialInliningPass()
createPartialInliningPass - This pass inlines parts of functions.
Definition: PartialInlining.cpp:1523
AliasSetTracker.h
llvm::createDeadCodeEliminationPass
FunctionPass * createDeadCodeEliminationPass()
Definition: DCE.cpp:178
InstCombine.h
llvm::createRegionPrinterPass
FunctionPass * createRegionPrinterPass()
Definition: RegionPrinter.cpp:205
llvm::createExpandLargeDivRemPass
FunctionPass * createExpandLargeDivRemPass()
Definition: ExpandLargeDivRem.cpp:135
llvm::createObjCARCContractPass
Pass * createObjCARCContractPass()
Definition: ObjCARCContract.cpp:733
llvm::createSpeculativeExecutionIfHasBranchDivergencePass
FunctionPass * createSpeculativeExecutionIfHasBranchDivergencePass()
Definition: SpeculativeExecution.cpp:329
llvm::createFunctionSpecializationPass
ModulePass * createFunctionSpecializationPass()
createFunctionSpecializationPass - This pass propagates constants from call sites to the specialized ...
Definition: SCCP.cpp:201
llvm::createSafeStackPass
FunctionPass * createSafeStackPass()
This pass splits the stack into a safe stack and an unsafe stack to protect against stack-based overf...
Definition: SafeStack.cpp:939
llvm::createLoopDeletionPass
Pass * createLoopDeletionPass()
Definition: LoopDeletion.cpp:568
llvm::createSROAPass
FunctionPass * createSROAPass()
Definition: SROA.cpp:4859
FunctionAttrs.h
CFLSteensAliasAnalysis.h
llvm::createDomOnlyViewerWrapperPassPass
FunctionPass * createDomOnlyViewerWrapperPassPass()
Definition: DomPrinter.cpp:226
llvm::createLoopUnrollAndJamPass
Pass * createLoopUnrollAndJamPass(int OptLevel=2)
Definition: LoopUnrollAndJamPass.cpp:531
llvm::createCodeGenPreparePass
FunctionPass * createCodeGenPreparePass()
createCodeGenPreparePass - Transform the code to expose more pattern matching during instruction sele...
Definition: CodeGenPrepare.cpp:488
llvm::createLoopVectorizePass
Pass * createLoopVectorizePass()
Definition: LoopVectorize.cpp:7363
llvm::createLoopUnrollPass
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)
Definition: LoopUnrollPass.cpp:1450
llvm::createPrintFunctionPass
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.
Definition: IRPrintingPasses.cpp:112
Passes.h
llvm::createPrintModulePass
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::createMergeICmpsLegacyPass
Pass * createMergeICmpsLegacyPass()
Definition: MergeICmps.cpp:905