LLVM 22.0.0git
llvm::GIMatchTableExecutor::MatcherState Struct Reference

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

Public Member Functions

LLVM_ABI MatcherState (unsigned MaxRenderers)

Public Attributes

std::vector< ComplexRendererFns::value_type > Renderers
RecordedMIVector MIs
DenseMap< unsigned, RegisterTempRegisters
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 627 of file GIMatchTableExecutor.h.

Constructor & Destructor Documentation

◆ MatcherState()

GIMatchTableExecutor::MatcherState::MatcherState ( unsigned MaxRenderers)

Definition at line 24 of file GIMatchTableExecutor.cpp.

References Renderers.

Member Data Documentation

◆ MIs

RecordedMIVector llvm::GIMatchTableExecutor::MatcherState::MIs

Definition at line 629 of file GIMatchTableExecutor.h.

◆ 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 635 of file GIMatchTableExecutor.h.

◆ 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 639 of file GIMatchTableExecutor.h.

◆ Renderers

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

Definition at line 628 of file GIMatchTableExecutor.h.

Referenced by MatcherState().

◆ TempRegisters

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

Definition at line 630 of file GIMatchTableExecutor.h.


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