LLVM 17.0.0git
Public Member Functions | Protected Attributes | List of all members
llvm::Combiner Class Reference

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

Public Member Functions

 Combiner (CombinerInfo &CombinerInfo, const TargetPassConfig *TPC)
bool combineMachineInstrs (MachineFunction &MF, GISelCSEInfo *CSEInfo)
 If CSEInfo is not null, then the Combiner will setup observer for CSEInfo and instantiate a CSEMIRBuilder.

Protected Attributes

MachineRegisterInfoMRI = nullptr
const TargetPassConfigTPC
std::unique_ptr< MachineIRBuilderBuilder

Detailed Description

Definition at line 26 of file Combiner.h.

Constructor & Destructor Documentation

◆ Combiner()

Combiner::Combiner ( CombinerInfo CombinerInfo,
const TargetPassConfig TPC 

Definition at line 93 of file Combiner.cpp.

References Info.

Member Function Documentation

◆ combineMachineInstrs()

bool Combiner::combineMachineInstrs ( MachineFunction MF,

Member Data Documentation

◆ Builder

std::unique_ptr<MachineIRBuilder> llvm::Combiner::Builder

Definition at line 40 of file Combiner.h.

Referenced by combineMachineInstrs().

◆ CInfo

CombinerInfo& llvm::Combiner::CInfo

Definition at line 36 of file Combiner.h.

Referenced by combineMachineInstrs().


MachineRegisterInfo* llvm::Combiner::MRI = nullptr

Definition at line 38 of file Combiner.h.

Referenced by combineMachineInstrs().


const TargetPassConfig* llvm::Combiner::TPC

Definition at line 39 of file Combiner.h.

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