LLVM  6.0.0svn
Functions
Scalar.cpp File Reference
#include "llvm/Transforms/Scalar.h"
#include "llvm-c/Initialization.h"
#include "llvm-c/Transforms/Scalar.h"
#include "llvm/Analysis/BasicAliasAnalysis.h"
#include "llvm/Analysis/Passes.h"
#include "llvm/Analysis/ScopedNoAliasAA.h"
#include "llvm/Analysis/TypeBasedAliasAnalysis.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/LegacyPassManager.h"
#include "llvm/IR/Verifier.h"
#include "llvm/InitializePasses.h"
#include "llvm/Transforms/Scalar/GVN.h"
#include "llvm/Transforms/Scalar/SimpleLoopUnswitch.h"
Include dependency graph for Scalar.cpp:

Go to the source code of this file.

Functions

void LLVMInitializeScalarOpts (LLVMPassRegistryRef R)
 
void LLVMAddAggressiveDCEPass (LLVMPassManagerRef PM)
 See llvm::createAggressiveDCEPass function. More...
 
void LLVMAddBitTrackingDCEPass (LLVMPassManagerRef PM)
 See llvm::createBitTrackingDCEPass function. More...
 
void LLVMAddAlignmentFromAssumptionsPass (LLVMPassManagerRef PM)
 See llvm::createAlignmentFromAssumptionsPass function. More...
 
void LLVMAddCFGSimplificationPass (LLVMPassManagerRef PM)
 See llvm::createCFGSimplificationPass function. More...
 
void LLVMAddDeadStoreEliminationPass (LLVMPassManagerRef PM)
 See llvm::createDeadStoreEliminationPass function. More...
 
void LLVMAddScalarizerPass (LLVMPassManagerRef PM)
 See llvm::createScalarizerPass function. More...
 
void LLVMAddGVNPass (LLVMPassManagerRef PM)
 See llvm::createGVNPass function. More...
 
void LLVMAddNewGVNPass (LLVMPassManagerRef PM)
 See llvm::createGVNPass function. More...
 
void LLVMAddMergedLoadStoreMotionPass (LLVMPassManagerRef PM)
 See llvm::createMergedLoadStoreMotionPass function. More...
 
void LLVMAddIndVarSimplifyPass (LLVMPassManagerRef PM)
 See llvm::createIndVarSimplifyPass function. More...
 
void LLVMAddInstructionCombiningPass (LLVMPassManagerRef PM)
 See llvm::createInstructionCombiningPass function. More...
 
void LLVMAddJumpThreadingPass (LLVMPassManagerRef PM)
 See llvm::createJumpThreadingPass function. More...
 
void LLVMAddLoopSinkPass (LLVMPassManagerRef PM)
 
void LLVMAddLICMPass (LLVMPassManagerRef PM)
 See llvm::createLICMPass function. More...
 
void LLVMAddLoopDeletionPass (LLVMPassManagerRef PM)
 See llvm::createLoopDeletionPass function. More...
 
void LLVMAddLoopIdiomPass (LLVMPassManagerRef PM)
 See llvm::createLoopIdiomPass function. More...
 
void LLVMAddLoopRotatePass (LLVMPassManagerRef PM)
 See llvm::createLoopRotatePass function. More...
 
void LLVMAddLoopRerollPass (LLVMPassManagerRef PM)
 See llvm::createLoopRerollPass function. More...
 
void LLVMAddLoopSimplifyCFGPass (LLVMPassManagerRef PM)
 
void LLVMAddLoopUnrollPass (LLVMPassManagerRef PM)
 See llvm::createLoopUnrollPass function. More...
 
void LLVMAddLoopUnswitchPass (LLVMPassManagerRef PM)
 See llvm::createLoopUnswitchPass function. More...
 
void LLVMAddMemCpyOptPass (LLVMPassManagerRef PM)
 See llvm::createMemCpyOptPass function. More...
 
void LLVMAddPartiallyInlineLibCallsPass (LLVMPassManagerRef PM)
 See llvm::createPartiallyInlineLibCallsPass function. More...
 
void LLVMAddLowerSwitchPass (LLVMPassManagerRef PM)
 See llvm::createLowerSwitchPass function. More...
 
void LLVMAddPromoteMemoryToRegisterPass (LLVMPassManagerRef PM)
 See llvm::createPromoteMemoryToRegisterPass function. More...
 
void LLVMAddReassociatePass (LLVMPassManagerRef PM)
 See llvm::createReassociatePass function. More...
 
void LLVMAddSCCPPass (LLVMPassManagerRef PM)
 See llvm::createSCCPPass function. More...
 
void LLVMAddScalarReplAggregatesPass (LLVMPassManagerRef PM)
 See llvm::createSROAPass function. More...
 
void LLVMAddScalarReplAggregatesPassSSA (LLVMPassManagerRef PM)
 See llvm::createSROAPass function. More...
 
void LLVMAddScalarReplAggregatesPassWithThreshold (LLVMPassManagerRef PM, int Threshold)
 See llvm::createSROAPass function. More...
 
void LLVMAddSimplifyLibCallsPass (LLVMPassManagerRef PM)
 See llvm::createSimplifyLibCallsPass function. More...
 
void LLVMAddTailCallEliminationPass (LLVMPassManagerRef PM)
 See llvm::createTailCallEliminationPass function. More...
 
void LLVMAddConstantPropagationPass (LLVMPassManagerRef PM)
 See llvm::createConstantPropagationPass function. More...
 
void LLVMAddDemoteMemoryToRegisterPass (LLVMPassManagerRef PM)
 See llvm::demotePromoteMemoryToRegisterPass function. More...
 
void LLVMAddVerifierPass (LLVMPassManagerRef PM)
 See llvm::createVerifierPass function. More...
 
void LLVMAddCorrelatedValuePropagationPass (LLVMPassManagerRef PM)
 See llvm::createCorrelatedValuePropagationPass function. More...
 
void LLVMAddEarlyCSEPass (LLVMPassManagerRef PM)
 See llvm::createEarlyCSEPass function. More...
 
void LLVMAddEarlyCSEMemSSAPass (LLVMPassManagerRef PM)
 See llvm::createEarlyCSEPass function. More...
 
void LLVMAddGVNHoistLegacyPass (LLVMPassManagerRef PM)
 
void LLVMAddTypeBasedAliasAnalysisPass (LLVMPassManagerRef PM)
 See llvm::createTypeBasedAliasAnalysisPass function. More...
 
void LLVMAddScopedNoAliasAAPass (LLVMPassManagerRef PM)
 See llvm::createScopedNoAliasAAPass function. More...
 
void LLVMAddBasicAliasAnalysisPass (LLVMPassManagerRef PM)
 See llvm::createBasicAliasAnalysisPass function. More...
 
void LLVMAddLowerExpectIntrinsicPass (LLVMPassManagerRef PM)
 See llvm::createLowerExpectIntrinsicPass function. More...
 

Function Documentation

◆ LLVMAddGVNHoistLegacyPass()

void LLVMAddGVNHoistLegacyPass ( LLVMPassManagerRef  PM)

Definition at line 264 of file Scalar.cpp.

References llvm::createGVNHoistPass(), and llvm::unwrap().

◆ LLVMAddLoopSimplifyCFGPass()

void LLVMAddLoopSimplifyCFGPass ( LLVMPassManagerRef  PM)

Definition at line 183 of file Scalar.cpp.

References llvm::createLoopSimplifyCFGPass(), and llvm::unwrap().

◆ LLVMAddLoopSinkPass()

void LLVMAddLoopSinkPass ( LLVMPassManagerRef  PM)

Definition at line 159 of file Scalar.cpp.

References llvm::createLoopSinkPass(), and llvm::unwrap().