Pass that assigns names to anonymous arguments, blocks, and instructions.

Synopsis

Declared in <llvm/Transforms/Utils/InstructionNamer.h>

struct InstructionNamerPass
    : OptionalPassInfoMixin<InstructionNamerPass>

Description

Useful when diffing the effect of an optimization, because deleting an unnamed instruction can renumber other instructions and make the diff noisy.

Base Classes

Name

Description

OptionalPassInfoMixin<InstructionNamerPass>

A CRTP mix‐in for passes that can be skipped.

Member Functions

Name

Description

run

Run the instruction‐namer pass over the function.

Static Member Functions

Name

Description

isRequired

Return false; optional passes may be skipped.

Created with MrDocs