struct SpecificConstantOrSplatMatch

Declaration

struct SpecificConstantOrSplatMatch { /* full declaration omitted */ };

Description

Matcher for a specific constant or constant splat.

Declared at: llvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h:212

Member Variables

public int64_t RequestedVal

Method Overview

Methods

SpecificConstantOrSplatMatch(int64_t RequestedVal)

Declared at: llvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h:214

Parameters

int64_t RequestedVal

bool match(const llvm::MachineRegisterInfo& MRI,
           llvm::Register Reg)

Declared at: llvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h:216

Parameters

const llvm::MachineRegisterInfo& MRI
llvm::Register Reg