Synopsis
Declared in <llvm/CodeGen/GlobalISel/InstructionSelector.h>
class InstructionSelector
: public GIMatchTableExecutor
Base Classes
Name |
Description |
Provides the logic to execute GlobalISel match tables, which are used by the instruction selector and instruction combiners as their engine to match and apply MIR patterns. |
Types
Name |
Member Functions
Name |
Description |
|
Destructor |
|
Select the (possibly generic) instruction |
|
|
|
Setup per‐MF executor state. |
Static Member Functions
Name |
Data Members
Name |
Description |
Note: InstructionSelect does not track changed instructions. changingInstr() and changedInstr() will never be called on these observers. |
|
Protected Types
Name |
Protected Type Aliases
Protected Member Functions
Name |
Description |
Execute a given matcher table and return true if the match was successful and false otherwise. |
|
|
|
Return true if the specified operand is a G_PTR_ADD with a G_CONSTANT on the right‐hand side. GlobalISel's separation of pointer and integer types means that we don't need to worry about G_OR with equivalent semantics. |
|
Return true if MI can obviously be folded into IntoMI. MI and IntoMI do not need to be in the same basic blocks, but MI must preceed IntoMI. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Protected Static Member Functions
Name |
Created with MrDocs