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

Functions

void LLVMAddConstantMergePass (LLVMPassManagerRef PM)
 See llvm::createConstantMergePass function.
 
void LLVMAddDeadArgEliminationPass (LLVMPassManagerRef PM)
 See llvm::createDeadArgEliminationPass function.
 
void LLVMAddFunctionAttrsPass (LLVMPassManagerRef PM)
 See llvm::createFunctionAttrsPass function.
 
void LLVMAddFunctionInliningPass (LLVMPassManagerRef PM)
 See llvm::createFunctionInliningPass function.
 
void LLVMAddAlwaysInlinerPass (LLVMPassManagerRef PM)
 See llvm::createAlwaysInlinerPass function.
 
void LLVMAddGlobalDCEPass (LLVMPassManagerRef PM)
 See llvm::createGlobalDCEPass function.
 
void LLVMAddGlobalOptimizerPass (LLVMPassManagerRef PM)
 See llvm::createGlobalOptimizerPass function.
 
void LLVMAddIPSCCPPass (LLVMPassManagerRef PM)
 See llvm::createIPSCCPPass function.
 
void LLVMAddInternalizePass (LLVMPassManagerRef, unsigned AllButMain)
 See llvm::createInternalizePass function.
 
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.
 
void LLVMAddStripDeadPrototypesPass (LLVMPassManagerRef PM)
 See llvm::createStripDeadPrototypesPass function.
 
void LLVMAddStripSymbolsPass (LLVMPassManagerRef PM)
 See llvm::createStripSymbolsPass function.
 

Detailed Description

Function Documentation

◆ LLVMAddAlwaysInlinerPass()

void LLVMAddAlwaysInlinerPass ( LLVMPassManagerRef  PM)

See llvm::createAlwaysInlinerPass function.

Definition at line 75 of file IPO.cpp.

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

◆ LLVMAddConstantMergePass()

void LLVMAddConstantMergePass ( LLVMPassManagerRef  PM)

See llvm::createConstantMergePass function.

Definition at line 59 of file IPO.cpp.

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

◆ LLVMAddDeadArgEliminationPass()

void LLVMAddDeadArgEliminationPass ( LLVMPassManagerRef  PM)

See llvm::createDeadArgEliminationPass function.

Definition at line 63 of file IPO.cpp.

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

◆ LLVMAddFunctionAttrsPass()

void LLVMAddFunctionAttrsPass ( LLVMPassManagerRef  PM)

See llvm::createFunctionAttrsPass function.

Definition at line 67 of file IPO.cpp.

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

◆ LLVMAddFunctionInliningPass()

void LLVMAddFunctionInliningPass ( LLVMPassManagerRef  PM)

See llvm::createFunctionInliningPass function.

Definition at line 71 of file IPO.cpp.

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

◆ LLVMAddGlobalDCEPass()

void LLVMAddGlobalDCEPass ( LLVMPassManagerRef  PM)

See llvm::createGlobalDCEPass function.

Definition at line 79 of file IPO.cpp.

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

◆ LLVMAddGlobalOptimizerPass()

void LLVMAddGlobalOptimizerPass ( LLVMPassManagerRef  PM)

See llvm::createGlobalOptimizerPass function.

Definition at line 83 of file IPO.cpp.

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

◆ LLVMAddInternalizePass()

void LLVMAddInternalizePass ( LLVMPassManagerRef  PM,
unsigned  AllButMain 
)

See llvm::createInternalizePass function.

Definition at line 91 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 98 of file IPO.cpp.

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

◆ LLVMAddIPSCCPPass()

void LLVMAddIPSCCPPass ( LLVMPassManagerRef  PM)

See llvm::createIPSCCPPass function.

Definition at line 87 of file IPO.cpp.

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

◆ LLVMAddStripDeadPrototypesPass()

void LLVMAddStripDeadPrototypesPass ( LLVMPassManagerRef  PM)

See llvm::createStripDeadPrototypesPass function.

Definition at line 107 of file IPO.cpp.

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

◆ LLVMAddStripSymbolsPass()

void LLVMAddStripSymbolsPass ( LLVMPassManagerRef  PM)

See llvm::createStripSymbolsPass function.

Definition at line 111 of file IPO.cpp.

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