llvm::BranchRelaxationPass

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

NameDescription
RequiredPassInfoMixin<BranchRelaxationPass>A CRTP mix-in for passes that should not be skipped.

Member Functions

NameDescription
run Relax out-of-range branches in MF.

Static Member Functions

NameDescription
isRequired Return true; required passes cannot be skipped.