|
LLVM 22.0.0git
|
#include "llvm/CodeGen/GlobalISel/InstructionSelector.h"
Public Member Functions | |
| ~InstructionSelector () override | |
| virtual bool | select (MachineInstr &I)=0 |
Select the (possibly generic) instruction I to only use target-specific opcodes. | |
| Public Member Functions inherited from llvm::GIMatchTableExecutor | |
| virtual | ~GIMatchTableExecutor ()=default |
| virtual void | setupGeneratedPerFunctionState (MachineFunction &MF)=0 |
| virtual void | setupMF (MachineFunction &mf, GISelValueTracking *vt, CodeGenCoverage *covinfo=nullptr, ProfileSummaryInfo *psi=nullptr, BlockFrequencyInfo *bfi=nullptr) |
| Setup per-MF executor state. | |
Public Attributes | |
| const TargetPassConfig * | TPC = nullptr |
| MachineOptimizationRemarkEmitter * | MORE = nullptr |
| GISelObserverWrapper * | AllObservers = nullptr |
| Note: InstructionSelect does not track changed instructions. | |
| Public Attributes inherited from llvm::GIMatchTableExecutor | |
| CodeGenCoverage * | CoverageInfo = nullptr |
| GISelValueTracking * | VT = nullptr |
| MachineFunction * | MF = nullptr |
| ProfileSummaryInfo * | PSI = nullptr |
| BlockFrequencyInfo * | BFI = nullptr |
| MachineBasicBlock * | CurMBB = nullptr |
Definition at line 22 of file InstructionSelector.h.
|
overridedefault |
|
pure virtual |
Select the (possibly generic) instruction I to only use target-specific opcodes.
It is OK to insert multiple instructions, but they cannot be generic pre-isel instructions.
Implemented in llvm::AMDGPUInstructionSelector.
References I.
| GISelObserverWrapper* llvm::InstructionSelector::AllObservers = nullptr |
Note: InstructionSelect does not track changed instructions.
changingInstr() and changedInstr() will never be called on these observers.
Definition at line 46 of file InstructionSelector.h.
| MachineOptimizationRemarkEmitter* llvm::InstructionSelector::MORE = nullptr |
Definition at line 41 of file InstructionSelector.h.
| const TargetPassConfig* llvm::InstructionSelector::TPC = nullptr |
Definition at line 39 of file InstructionSelector.h.