New PM pass that relaxes out-of-range machine branches.
Declared in <llvm/CodeGen/BranchRelaxation.h>
class BranchRelaxationPass
: public RequiredPassInfoMixin<BranchRelaxationPass>
Replaces branches that need to jump further than is supported by a branch instruction.
| Name | Description |
|---|---|
RequiredPassInfoMixin<BranchRelaxationPass> | A CRTP mix-in for passes that should not be skipped. |
| Name | Description |
|---|---|
run | Relax out-of-range branches in MF. |
| Name | Description |
|---|---|
isRequired | Return true; required passes cannot be skipped. |