LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Transforms/Scalar.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  llvm

Functions

FunctionPasscreateConstantPropagationPass ()
FunctionPasscreateSCCPPass ()
PasscreateDeadInstEliminationPass ()
FunctionPasscreateDeadCodeEliminationPass ()
FunctionPasscreateDeadStoreEliminationPass ()
FunctionPasscreateAggressiveDCEPass ()
FunctionPass * createScalarReplAggregatesPass (signed Threshold=-1)
LoopPasscreateIndVarSimplifyPass ()
FunctionPasscreateInstructionCombiningPass ()
LoopPasscreateLICMPass ()
LoopPasscreateLoopStrengthReducePass (const TargetLowering *TLI=0)
LoopPasscreateLoopUnswitchPass (bool OptimizeForSize=false)
LoopPasscreateLoopUnrollPass ()
LoopPasscreateLoopRotatePass ()
LoopPasscreateLoopIndexSplitPass ()
FunctionPasscreatePromoteMemoryToRegisterPass ()
FunctionPasscreateDemoteRegisterToMemoryPass ()
FunctionPasscreateReassociatePass ()
FunctionPasscreateCondPropagationPass ()
FunctionPasscreateTailDuplicationPass ()
FunctionPasscreateJumpThreadingPass ()
FunctionPasscreateCFGSimplificationPass ()
FunctionPasscreateBreakCriticalEdgesPass ()
FunctionPasscreateLoopSimplifyPass ()
PasscreateLowerAllocationsPass (bool LowerMallocArgToInteger=false)
FunctionPasscreateTailCallEliminationPass ()
FunctionPasscreateLowerSwitchPass ()
FunctionPasscreateLowerInvokePass (const TargetLowering *TLI=0)
FunctionPasscreateBlockPlacementPass ()
LoopPasscreateLCSSAPass ()
FunctionPasscreatePredicateSimplifierPass ()
FunctionPasscreateGVNPREPass ()
FunctionPasscreateGVNPass ()
FunctionPasscreateMemCpyOptPass ()
LoopPasscreateLoopDeletionPass ()
FunctionPasscreateSimplifyLibCallsPass ()
FunctionPasscreateCodeGenPreparePass (const TargetLowering *TLI=0)
FunctionPasscreateInstructionNamerPass ()

Variables

const PassInfo *const PromoteMemoryToRegisterID = &X
const PassInfo *const DemoteRegisterToMemoryID = &X
const PassInfo *const BreakCriticalEdgesID = &X
const PassInfo *const LoopSimplifyID = &X
const PassInfo *const LowerAllocationsID = &X
const PassInfo *const LowerSwitchID = &X
const PassInfo *const LowerInvokePassID = &X
const PassInfo *const LCSSAID = &X


Function Documentation

FunctionPass * llvm::createAggressiveDCEPass  ) 
 

Definition at line 95 of file ADCE.cpp.

Referenced by ForcePassLinking::ForcePassLinking().

FunctionPass * llvm::createBlockPlacementPass  ) 
 

Definition at line 81 of file BasicBlockPlacement.cpp.

Referenced by ForcePassLinking::ForcePassLinking().

FunctionPass * llvm::createBreakCriticalEdgesPass  ) 
 

Definition at line 59 of file BreakCriticalEdges.cpp.

Referenced by ForcePassLinking::ForcePassLinking().

FunctionPass * llvm::createCFGSimplificationPass  ) 
 

Definition at line 54 of file SimplifyCFGPass.cpp.

Referenced by MSILTarget::addPassesToEmitWholeFile(), llvm::CTargetMachine::addPassesToEmitWholeFile(), ForcePassLinking::ForcePassLinking(), and LLVMAddCFGSimplificationPass().

FunctionPass * llvm::createCodeGenPreparePass const TargetLowering TLI = 0  ) 
 

Definition at line 67 of file CodeGenPrepare.cpp.

Referenced by llvm::LLVMTargetMachine::addPassesToEmitFile(), llvm::LLVMTargetMachine::addPassesToEmitMachineCode(), and ForcePassLinking::ForcePassLinking().

FunctionPass * llvm::createCondPropagationPass  ) 
 

Definition at line 56 of file CondPropagate.cpp.

Referenced by ForcePassLinking::ForcePassLinking().

FunctionPass * llvm::createConstantPropagationPass  ) 
 

Definition at line 52 of file ConstantProp.cpp.

Referenced by ForcePassLinking::ForcePassLinking(), and LLVMAddConstantPropagationPass().

FunctionPass * llvm::createDeadCodeEliminationPass  ) 
 

Definition at line 127 of file DCE.cpp.

Referenced by ForcePassLinking::ForcePassLinking().

Pass * llvm::createDeadInstEliminationPass  ) 
 

Definition at line 61 of file DCE.cpp.

Referenced by ForcePassLinking::ForcePassLinking().

FunctionPass * llvm::createDeadStoreEliminationPass  ) 
 

Definition at line 103 of file DeadStoreElimination.cpp.

Referenced by ForcePassLinking::ForcePassLinking().

FunctionPass * llvm::createDemoteRegisterToMemoryPass  ) 
 

Definition at line 123 of file Reg2Mem.cpp.

Referenced by ForcePassLinking::ForcePassLinking(), and LLVMAddDemoteMemoryToRegisterPass().

FunctionPass * llvm::createGVNPass  ) 
 

Definition at line 747 of file GVN.cpp.

Referenced by ForcePassLinking::ForcePassLinking(), and LLVMAddGVNPass().

FunctionPass * llvm::createGVNPREPass  ) 
 

Definition at line 741 of file GVNPRE.cpp.

Referenced by ForcePassLinking::ForcePassLinking().

LoopPass * llvm::createIndVarSimplifyPass  ) 
 

Definition at line 103 of file IndVarSimplify.cpp.

Referenced by ForcePassLinking::ForcePassLinking().

FunctionPass * llvm::createInstructionCombiningPass  ) 
 

Definition at line 11640 of file InstructionCombining.cpp.

Referenced by ForcePassLinking::ForcePassLinking(), and LLVMAddInstructionCombiningPass().

FunctionPass * llvm::createInstructionNamerPass  ) 
 

Definition at line 47 of file InstructionNamer.cpp.

Referenced by ForcePassLinking::ForcePassLinking().

FunctionPass * llvm::createJumpThreadingPass  ) 
 

Definition at line 73 of file JumpThreading.cpp.

Referenced by ForcePassLinking::ForcePassLinking().

LoopPass * llvm::createLCSSAPass  ) 
 

Definition at line 102 of file LCSSA.cpp.

Referenced by ForcePassLinking::ForcePassLinking().

LoopPass * llvm::createLICMPass  ) 
 

Definition at line 233 of file LICM.cpp.

Referenced by ForcePassLinking::ForcePassLinking().

LoopPass * llvm::createLoopDeletionPass  ) 
 

Definition at line 63 of file LoopDeletion.cpp.

Referenced by ForcePassLinking::ForcePassLinking().

LoopPass * llvm::createLoopIndexSplitPass  ) 
 

Definition at line 204 of file LoopIndexSplit.cpp.

Referenced by ForcePassLinking::ForcePassLinking().

LoopPass * llvm::createLoopRotatePass  ) 
 

Definition at line 110 of file LoopRotation.cpp.

Referenced by ForcePassLinking::ForcePassLinking().

FunctionPass * llvm::createLoopSimplifyPass  ) 
 

Definition at line 107 of file LoopSimplify.cpp.

Referenced by ForcePassLinking::ForcePassLinking().

LoopPass * llvm::createLoopStrengthReducePass const TargetLowering TLI = 0  ) 
 

Definition at line 211 of file LoopStrengthReduce.cpp.

Referenced by llvm::LLVMTargetMachine::addPassesToEmitFile(), llvm::LLVMTargetMachine::addPassesToEmitMachineCode(), and ForcePassLinking::ForcePassLinking().

LoopPass * llvm::createLoopUnrollPass  ) 
 

Definition at line 76 of file LoopUnroll.cpp.

Referenced by ForcePassLinking::ForcePassLinking().

LoopPass * llvm::createLoopUnswitchPass bool  OptimizeForSize = false  ) 
 

Definition at line 157 of file LoopUnswitch.cpp.

Referenced by ForcePassLinking::ForcePassLinking().

Pass * llvm::createLowerAllocationsPass bool  LowerMallocArgToInteger = false  ) 
 

Definition at line 78 of file LowerAllocations.cpp.

Referenced by MSILTarget::addPassesToEmitWholeFile(), llvm::CTargetMachine::addPassesToEmitWholeFile(), and ForcePassLinking::ForcePassLinking().

FunctionPass * llvm::createLowerInvokePass const TargetLowering TLI = 0  ) 
 

Definition at line 110 of file LowerInvoke.cpp.

Referenced by llvm::LLVMTargetMachine::addPassesToEmitFile(), llvm::LLVMTargetMachine::addPassesToEmitMachineCode(), llvm::CTargetMachine::addPassesToEmitWholeFile(), and ForcePassLinking::ForcePassLinking().

FunctionPass * llvm::createLowerSwitchPass  ) 
 

Definition at line 90 of file LowerSwitch.cpp.

Referenced by MSILTarget::addPassesToEmitWholeFile(), and ForcePassLinking::ForcePassLinking().

FunctionPass * llvm::createMemCpyOptPass  ) 
 

Definition at line 329 of file MemCpyOptimizer.cpp.

Referenced by ForcePassLinking::ForcePassLinking().

FunctionPass * llvm::createPredicateSimplifierPass  ) 
 

Definition at line 2656 of file PredicateSimplifier.cpp.

Referenced by ForcePassLinking::ForcePassLinking().

FunctionPass * llvm::createPromoteMemoryToRegisterPass  ) 
 

Definition at line 90 of file Mem2Reg.cpp.

Referenced by ForcePassLinking::ForcePassLinking(), and LLVMAddPromoteMemoryToRegisterPass().

FunctionPass * llvm::createReassociatePass  ) 
 

Definition at line 102 of file Reassociate.cpp.

Referenced by ForcePassLinking::ForcePassLinking(), and LLVMAddReassociatePass().

FunctionPass* createScalarReplAggregatesPass signed  Threshold = -1  ) 
 

Referenced by ForcePassLinking::ForcePassLinking().

FunctionPass * llvm::createSCCPPass  ) 
 

Definition at line 1518 of file SCCP.cpp.

Referenced by ForcePassLinking::ForcePassLinking().

FunctionPass * llvm::createSimplifyLibCallsPass  ) 
 

createSimplifyLibCallsPass - This pass optimizes specific calls to specific well-known (library) functions.

Definition at line 1225 of file SimplifyLibCalls.cpp.

Referenced by ForcePassLinking::ForcePassLinking().

FunctionPass * llvm::createTailCallEliminationPass  ) 
 

Definition at line 89 of file TailRecursionElimination.cpp.

Referenced by ForcePassLinking::ForcePassLinking().

FunctionPass * llvm::createTailDuplicationPass  ) 
 

Definition at line 64 of file TailDuplication.cpp.

Referenced by ForcePassLinking::ForcePassLinking().


Variable Documentation

const PassInfo *const llvm::BreakCriticalEdgesID = &X
 

Definition at line 58 of file BreakCriticalEdges.cpp.

Referenced by llvm::UnifyFunctionExitNodes::getAnalysisUsage(), RegToMem::getAnalysisUsage(), LoopSimplify::getAnalysisUsage(), LoopExtractor::getAnalysisUsage(), and CondProp::getAnalysisUsage().

const PassInfo *const llvm::DemoteRegisterToMemoryID = &X
 

Definition at line 122 of file Reg2Mem.cpp.

Referenced by ProfilerRS::getAnalysisUsage().

const PassInfo *const llvm::LCSSAID = &X
 

Definition at line 103 of file LCSSA.cpp.

Referenced by LoopUnswitch::getAnalysisUsage(), LoopUnroll::getAnalysisUsage(), LoopRotate::getAnalysisUsage(), LoopIndexSplit::getAnalysisUsage(), LoopDeletion::getAnalysisUsage(), InstCombiner::getAnalysisUsage(), IndVarSimplify::getAnalysisUsage(), and InstCombiner::runOnFunction().

const PassInfo *const llvm::LoopSimplifyID = &X
 

Definition at line 106 of file LoopSimplify.cpp.

Referenced by LoopUnswitch::getAnalysisUsage(), LoopUnroll::getAnalysisUsage(), LoopStrengthReduce::getAnalysisUsage(), LoopRotate::getAnalysisUsage(), LoopIndexSplit::getAnalysisUsage(), LoopExtractor::getAnalysisUsage(), LoopDeletion::getAnalysisUsage(), LICM::getAnalysisUsage(), LCSSA::getAnalysisUsage(), IndVarSimplify::getAnalysisUsage(), and BreakCriticalEdges::getAnalysisUsage().

const PassInfo *const llvm::LowerAllocationsID = &X
 

Definition at line 76 of file LowerAllocations.cpp.

Referenced by PromotePass::getAnalysisUsage(), LowerSwitch::getAnalysisUsage(), and LowerInvoke::getAnalysisUsage().

const PassInfo *const llvm::LowerInvokePassID = &X
 

Definition at line 107 of file LowerInvoke.cpp.

Referenced by PromotePass::getAnalysisUsage(), LowerSwitch::getAnalysisUsage(), and LowerAllocations::getAnalysisUsage().

const PassInfo *const llvm::LowerSwitchID = &X
 

Definition at line 88 of file LowerSwitch.cpp.

Referenced by llvm::UnifyFunctionExitNodes::getAnalysisUsage(), PromotePass::getAnalysisUsage(), LowerInvoke::getAnalysisUsage(), and LowerAllocations::getAnalysisUsage().

const PassInfo *const llvm::PromoteMemoryToRegisterID = &X
 

Definition at line 87 of file Mem2Reg.cpp.

Referenced by llvm::UnifyFunctionExitNodes::getAnalysisUsage(), LowerSwitch::getAnalysisUsage(), LowerInvoke::getAnalysisUsage(), and LowerAllocations::getAnalysisUsage().




This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.