registerPass ‐ Register a pass (by means of its PassInfo) with the registry. Required in order to use the pass with a PassManager.

Synopsis

Declared in <llvm/PassRegistry.h>

void
registerPass(
    PassInfo const& PI,
    bool ShouldFree = false);

Parameters

Name

Description

PI

Pass metadata to register.

ShouldFree

If true, the registry takes ownership and frees PI.

Created with MrDocs