LLVM  12.0.0git
Functions
Interprocedural transformations
Collaboration diagram for Interprocedural transformations:

Functions

void LLVMAddArgumentPromotionPass (LLVMPassManagerRef PM)
 See llvm::createArgumentPromotionPass function. More...
 
void LLVMAddConstantMergePass (LLVMPassManagerRef PM)
 See llvm::createConstantMergePass function. More...
 
void LLVMAddMergeFunctionsPass (LLVMPassManagerRef PM)
 See llvm::createMergeFunctionsPass function. More...
 
void LLVMAddCalledValuePropagationPass (LLVMPassManagerRef PM)
 See llvm::createCalledValuePropagationPass function. More...
 
void LLVMAddDeadArgEliminationPass (LLVMPassManagerRef PM)
 See llvm::createDeadArgEliminationPass function. More...
 
void LLVMAddFunctionAttrsPass (LLVMPassManagerRef PM)
 See llvm::createFunctionAttrsPass function. More...
 
void LLVMAddFunctionInliningPass (LLVMPassManagerRef PM)
 See llvm::createFunctionInliningPass function. More...
 
void LLVMAddAlwaysInlinerPass (LLVMPassManagerRef PM)
 See llvm::createAlwaysInlinerPass function. More...
 
void LLVMAddGlobalDCEPass (LLVMPassManagerRef PM)
 See llvm::createGlobalDCEPass function. More...
 
void LLVMAddGlobalOptimizerPass (LLVMPassManagerRef PM)
 See llvm::createGlobalOptimizerPass function. More...
 
void LLVMAddIPConstantPropagationPass (LLVMPassManagerRef PM)
 See llvm::createIPConstantPropagationPass function. More...
 
void LLVMAddPruneEHPass (LLVMPassManagerRef PM)
 See llvm::createPruneEHPass function. More...
 
void LLVMAddIPSCCPPass (LLVMPassManagerRef PM)
 See llvm::createIPSCCPPass function. More...
 
void LLVMAddInternalizePass (LLVMPassManagerRef, unsigned AllButMain)
 See llvm::createInternalizePass function. More...
 
void LLVMAddInternalizePassWithMustPreservePredicate (LLVMPassManagerRef PM, void *Context, LLVMBool(*MustPreserve)(LLVMValueRef, void *))
 Create and add the internalize pass to the given pass manager with the provided preservation callback. More...
 
void LLVMAddStripDeadPrototypesPass (LLVMPassManagerRef PM)
 See llvm::createStripDeadPrototypesPass function. More...
 
void LLVMAddStripSymbolsPass (LLVMPassManagerRef PM)
 See llvm::createStripSymbolsPass function. More...
 

Detailed Description

Function Documentation

◆ LLVMAddAlwaysInlinerPass()

void LLVMAddAlwaysInlinerPass ( LLVMPassManagerRef  PM)

See llvm::createAlwaysInlinerPass function.

Definition at line 95 of file IPO.cpp.

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

◆ LLVMAddArgumentPromotionPass()

void LLVMAddArgumentPromotionPass ( LLVMPassManagerRef  PM)

See llvm::createArgumentPromotionPass function.

Definition at line 71 of file IPO.cpp.

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

◆ LLVMAddCalledValuePropagationPass()

void LLVMAddCalledValuePropagationPass ( LLVMPassManagerRef  PM)

◆ LLVMAddConstantMergePass()

void LLVMAddConstantMergePass ( LLVMPassManagerRef  PM)

See llvm::createConstantMergePass function.

Definition at line 79 of file IPO.cpp.

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

◆ LLVMAddDeadArgEliminationPass()

void LLVMAddDeadArgEliminationPass ( LLVMPassManagerRef  PM)

See llvm::createDeadArgEliminationPass function.

Definition at line 83 of file IPO.cpp.

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

◆ LLVMAddFunctionAttrsPass()

void LLVMAddFunctionAttrsPass ( LLVMPassManagerRef  PM)

See llvm::createFunctionAttrsPass function.

Definition at line 87 of file IPO.cpp.

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

◆ LLVMAddFunctionInliningPass()

void LLVMAddFunctionInliningPass ( LLVMPassManagerRef  PM)

See llvm::createFunctionInliningPass function.

Definition at line 91 of file IPO.cpp.

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

◆ LLVMAddGlobalDCEPass()

void LLVMAddGlobalDCEPass ( LLVMPassManagerRef  PM)

See llvm::createGlobalDCEPass function.

Definition at line 99 of file IPO.cpp.

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

◆ LLVMAddGlobalOptimizerPass()

void LLVMAddGlobalOptimizerPass ( LLVMPassManagerRef  PM)

See llvm::createGlobalOptimizerPass function.

Definition at line 103 of file IPO.cpp.

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

◆ LLVMAddInternalizePass()

void LLVMAddInternalizePass ( LLVMPassManagerRef  ,
unsigned  AllButMain 
)

See llvm::createInternalizePass function.

Definition at line 123 of file IPO.cpp.

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

◆ LLVMAddInternalizePassWithMustPreservePredicate()

void LLVMAddInternalizePassWithMustPreservePredicate ( LLVMPassManagerRef  PM,
void *  Context,
LLVMBool(*)(LLVMValueRef, void *)  MustPreserve 
)

Create and add the internalize pass to the given pass manager with the provided preservation callback.

The context parameter is forwarded to the callback on each invocation. As such, it is the responsibility of the caller to extend its lifetime until execution of this pass has finished.

See also
llvm::createInternalizePass function.

Definition at line 130 of file IPO.cpp.

References llvm::createInternalizePass(), false, llvm::unwrap(), and llvm::wrap().

◆ LLVMAddIPConstantPropagationPass()

void LLVMAddIPConstantPropagationPass ( LLVMPassManagerRef  PM)

◆ LLVMAddIPSCCPPass()

void LLVMAddIPSCCPPass ( LLVMPassManagerRef  PM)

See llvm::createIPSCCPPass function.

Definition at line 115 of file IPO.cpp.

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

◆ LLVMAddMergeFunctionsPass()

void LLVMAddMergeFunctionsPass ( LLVMPassManagerRef  PM)

See llvm::createMergeFunctionsPass function.

Definition at line 119 of file IPO.cpp.

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

◆ LLVMAddPruneEHPass()

void LLVMAddPruneEHPass ( LLVMPassManagerRef  PM)

See llvm::createPruneEHPass function.

Definition at line 111 of file IPO.cpp.

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

◆ LLVMAddStripDeadPrototypesPass()

void LLVMAddStripDeadPrototypesPass ( LLVMPassManagerRef  PM)

See llvm::createStripDeadPrototypesPass function.

Definition at line 139 of file IPO.cpp.

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

◆ LLVMAddStripSymbolsPass()

void LLVMAddStripSymbolsPass ( LLVMPassManagerRef  PM)

See llvm::createStripSymbolsPass function.

Definition at line 143 of file IPO.cpp.

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