LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::GIMatchTableExecutor::MatcherState Struct Reference

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

Public Member Functions

 MatcherState (unsigned MaxRenderers)
 

Public Attributes

std::vector< ComplexRendererFns::value_type > Renderers
 
RecordedMIVector MIs
 
DenseMap< unsigned, unsignedTempRegisters
 
std::array< const MachineOperand *, 3 > RecordedOperands
 Named operands that predicate with 'let PredicateCodeUsesOperands = 1' referenced in its argument list.
 
SmallVector< LLT, 4 > RecordedTypes
 Types extracted from an instruction's operand.
 

Detailed Description

Definition at line 619 of file GIMatchTableExecutor.h.

Constructor & Destructor Documentation

◆ MatcherState()

GIMatchTableExecutor::MatcherState::MatcherState ( unsigned  MaxRenderers)

Definition at line 24 of file GIMatchTableExecutor.cpp.

Member Data Documentation

◆ MIs

RecordedMIVector llvm::GIMatchTableExecutor::MatcherState::MIs

◆ RecordedOperands

std::array<const MachineOperand *, 3> llvm::GIMatchTableExecutor::MatcherState::RecordedOperands

Named operands that predicate with 'let PredicateCodeUsesOperands = 1' referenced in its argument list.

Operands are inserted at index set by emitter, it corresponds to the order in which names appear in argument list. Currently such predicates don't have more then 3 arguments.

Definition at line 627 of file GIMatchTableExecutor.h.

Referenced by llvm::GIMatchTableExecutor::executeMatchTable().

◆ RecordedTypes

SmallVector<LLT, 4> llvm::GIMatchTableExecutor::MatcherState::RecordedTypes

Types extracted from an instruction's operand.

Whenever a type index is negative, we look here instead.

Definition at line 631 of file GIMatchTableExecutor.h.

Referenced by llvm::GIMatchTableExecutor::executeMatchTable().

◆ Renderers

std::vector<ComplexRendererFns::value_type> llvm::GIMatchTableExecutor::MatcherState::Renderers

◆ TempRegisters

DenseMap<unsigned, unsigned> llvm::GIMatchTableExecutor::MatcherState::TempRegisters

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