|
LLVM
8.0.1
|
#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. More... | |
Protected Attributes | |
| CombinerInfo & | CInfo |
| MachineRegisterInfo * | MRI = nullptr |
| const TargetPassConfig * | TPC |
| std::unique_ptr< MachineIRBuilder > | Builder |
Definition at line 28 of file Combiner.h.
| Combiner::Combiner | ( | CombinerInfo & | CombinerInfo, |
| const TargetPassConfig * | TPC | ||
| ) |
Definition at line 82 of file Combiner.cpp.
| bool Combiner::combineMachineInstrs | ( | MachineFunction & | MF, |
| GISelCSEInfo * | CSEInfo | ||
| ) |
If CSEInfo is not null, then the Combiner will setup observer for CSEInfo and instantiate a CSEMIRBuilder.
Pass nullptr if CSE is not needed.
Definition at line 87 of file Combiner.cpp.
References llvm::GISelObserverWrapper::addObserver(), B, Builder, CInfo, llvm::CombinerInfo::combine(), llvm::dbgs(), llvm::GISelWorkList< N >::empty(), llvm::MachineInstr::eraseFromParentAndMarkDBGValuesForRemoval(), llvm::MachineFunctionProperties::FailedISel, llvm::MachineFunction::getName(), llvm::MachineFunction::getProperties(), llvm::MachineFunction::getRegInfo(), llvm::MachineFunctionProperties::hasProperty(), llvm::GISelWorkList< N >::insert(), llvm::isTriviallyDead(), LLVM_DEBUG, MORE, MRI, llvm::GISelWorkList< N >::pop_back_val(), and llvm::post_order().
|
protected |
Definition at line 42 of file Combiner.h.
Referenced by combineMachineInstrs().
|
protected |
Definition at line 38 of file Combiner.h.
Referenced by combineMachineInstrs().
|
protected |
Definition at line 40 of file Combiner.h.
Referenced by combineMachineInstrs().
|
protected |
Definition at line 41 of file Combiner.h.
1.8.13