New PM pass that relaxes out‐of‐range machine branches.

Synopsis

Declared in <llvm/CodeGen/BranchRelaxation.h>

class BranchRelaxationPass
    : public RequiredPassInfoMixin<BranchRelaxationPass>

Description

Replaces branches that need to jump further than is supported by a branch instruction.

Base Classes

Name

Description

RequiredPassInfoMixin<BranchRelaxationPass>

A CRTP mix‐in for passes that should not be skipped.

Member Functions

Name

Description

run

Relax out‐of‐range branches in MF.

Static Member Functions

Name

Description

isRequired

Return true; required passes cannot be skipped.

Created with MrDocs