LLVM 24.0.0git
llvm::InstructionSelectImpl Class Reference

#include "llvm/CodeGen/GlobalISel/InstructionSelect.h"

Classes

class  MIIteratorMaintainer
 This class observes instruction insertions/removals. More...

Public Member Functions

LLVM_ABI bool selectMachineFunction (MachineFunction &MF)
void setInstructionSelector (InstructionSelector *NewISel)
LLVM_ABI bool runOnMachineFunction (MachineFunction &MF, function_ref< GISelValueTracking *()> GetVT, function_ref< ProfileSummaryInfo *()> GetPSI, function_ref< BlockFrequencyInfo *()> GetBFI)
LLVM_ABI InstructionSelectImpl (CodeGenOptLevel OL)

Protected Member Functions

LLVM_ABI bool selectInstr (MachineInstr &MI)

Protected Attributes

InstructionSelector * ISel = nullptr
GISelValueTracking * VT = nullptr
BlockFrequencyInfo * BFI = nullptr
ProfileSummaryInfo * PSI = nullptr
CodeGenOptLevel OptLevel = CodeGenOptLevel::None

Detailed Description

Definition at line 69 of file InstructionSelect.h.

Constructor & Destructor Documentation

◆ InstructionSelectImpl()

InstructionSelectImpl::InstructionSelectImpl ( CodeGenOptLevel OL)

Definition at line 82 of file InstructionSelect.cpp.

References OptLevel.

Member Function Documentation

◆ runOnMachineFunction()

◆ selectInstr()

bool InstructionSelectImpl::selectInstr ( MachineInstr & MI)
protected

◆ selectMachineFunction()

bool InstructionSelectImpl::selectMachineFunction ( MachineFunction & MF)

◆ setInstructionSelector()

void llvm::InstructionSelectImpl::setInstructionSelector ( InstructionSelector * NewISel)
inline

Definition at line 72 of file InstructionSelect.h.

References ISel.

Member Data Documentation

◆ BFI

BlockFrequencyInfo* llvm::InstructionSelectImpl::BFI = nullptr
protected

Definition at line 85 of file InstructionSelect.h.

Referenced by runOnMachineFunction(), and selectMachineFunction().

◆ ISel

InstructionSelector* llvm::InstructionSelectImpl::ISel = nullptr
protected

◆ OptLevel

CodeGenOptLevel llvm::InstructionSelectImpl::OptLevel = CodeGenOptLevel::None
protected

Definition at line 88 of file InstructionSelect.h.

Referenced by InstructionSelectImpl(), and runOnMachineFunction().

◆ PSI

ProfileSummaryInfo* llvm::InstructionSelectImpl::PSI = nullptr
protected

Definition at line 86 of file InstructionSelect.h.

Referenced by runOnMachineFunction(), and selectMachineFunction().

◆ VT

GISelValueTracking* llvm::InstructionSelectImpl::VT = nullptr
protected

Definition at line 84 of file InstructionSelect.h.

Referenced by runOnMachineFunction(), and selectMachineFunction().


The documentation for this class was generated from the following files: