Shared implementation for legacy and new‐PM instruction selection passes.

Synopsis

Declared in <llvm/CodeGen/GlobalISel/InstructionSelect.h>

class InstructionSelectImpl;

Member Functions

Name

Description

InstructionSelectImpl [constructor]

Construct the shared instruction selection implementation.

runOnMachineFunction

Prepare analyses and select generic instructions in MF.

selectMachineFunction

Select all generic instructions in MF using the current selector.

setInstructionSelector

Install the instruction selector used for subsequent selection.

Protected Types

Name

Description

MIIteratorMaintainer

Observer that keeps the reverse selection iterator valid across erasures.

Protected Member Functions

Name

Description

selectInstr

Select a single machine instruction, or erase it if already dead.

Protected Data Members

Name

Description

BFI

Optional block frequency info used at non‐None optimization levels.

ISel

Target instruction selector used to lower generic opcodes.

OptLevel

Optimization level controlling optional profile analyses.

PSI

Optional profile summary info used at non‐None optimization levels.

VT

Optional value‐tracking analysis passed to the selector.

Created with MrDocs