# PyPy Configuration[translation.backendopt]

PyPy Configuration[translation.backendopt]
general documentation config index command-line overview

# translation.backendopt

Contents

- Basic Option Information
- Sub-Options
- Description

back to parent

# Basic Option Information

- name: backendopt
- description: Backend Optimization Options

# Sub-Options

- translation.backendopt.inline: Do basic inlining and malloc removal
- translation.backendopt.inline_threshold: Threshold when to inline functions
- translation.backendopt.inline_heuristic: Dotted name of an heuristic function for inlining
- translation.backendopt.print_statistics: Print statistics while optimizing
- translation.backendopt.merge_if_blocks: Merge if ... elif chains
- translation.backendopt.raisingop2direct_call: Transform operations that can implicitly raise an exception into calls to functions that explicitly raise exceptions
- translation.backendopt.mallocs: Remove mallocs
- translation.backendopt.constfold: Constant propagation
- translation.backendopt.heap2stack: Escape analysis and stack allocation
- translation.backendopt.profile_based_inline: Use call count profiling to drive inlining, specify arguments
- translation.backendopt.profile_based_inline_threshold: Threshold when to inline functions for profile based inlining
- translation.backendopt.profile_based_inline_heuristic: Dotted name of an heuristic function for profile based inlining
- translation.backendopt.clever_malloc_removal: Drives inlining to remove mallocs in a clever way
- translation.backendopt.clever_malloc_removal_threshold: Threshold when to inline functions in clever malloc removal
- translation.backendopt.clever_malloc_removal_heuristic: Dotted name of an heuristic function for inlining in clever malloc removal
- translation.backendopt.remove_asserts: Remove operations that look like 'raise AssertionError', which lets the C optimizer remove the asserts
- translation.backendopt.none: Do not run any backend optimizations

# Description

This group contains options about various backend optimization passes. Most of them are described in the EU report about optimization