LLVM 22.0.0git
llvm::PatternMatch::specific_intval< AllowPoison > Struct Template Reference

Match a specified integer value or vector of all elements of that value. More...

#include "llvm/IR/PatternMatch.h"

Public Member Functions

 specific_intval (const APInt &V)
template<typename ITy>
bool match (ITy *V) const

Public Attributes

const APIntVal

Detailed Description

template<bool AllowPoison>
struct llvm::PatternMatch::specific_intval< AllowPoison >

Match a specified integer value or vector of all elements of that value.

Definition at line 1028 of file PatternMatch.h.

Constructor & Destructor Documentation

◆ specific_intval()

template<bool AllowPoison>
llvm::PatternMatch::specific_intval< AllowPoison >::specific_intval ( const APInt & V)
inline

Definition at line 1031 of file PatternMatch.h.

References Val.

Member Function Documentation

◆ match()

template<bool AllowPoison>
template<typename ITy>
bool llvm::PatternMatch::specific_intval< AllowPoison >::match ( ITy * V) const
inline

Member Data Documentation

◆ Val

template<bool AllowPoison>
const APInt& llvm::PatternMatch::specific_intval< AllowPoison >::Val

Definition at line 1029 of file PatternMatch.h.

Referenced by match(), and specific_intval().


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