LLVM 22.0.0git
llvm::VPlanPatternMatch::is_specific_int Struct Reference

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

#include "Transforms/Vectorize/VPlanPatternMatch.h"

Public Member Functions

 is_specific_int (APInt Val)
bool isValue (const APInt &C) const

Public Attributes

APInt Val

Detailed Description

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

BitWidth optionally specifies the bitwidth the matched constant must have. If it is 0, the matched constant can have any bitwidth.

Definition at line 115 of file VPlanPatternMatch.h.

Constructor & Destructor Documentation

◆ is_specific_int()

llvm::VPlanPatternMatch::is_specific_int::is_specific_int ( APInt Val)
inline

Definition at line 118 of file VPlanPatternMatch.h.

References llvm::move(), and Val.

Member Function Documentation

◆ isValue()

bool llvm::VPlanPatternMatch::is_specific_int::isValue ( const APInt & C) const
inline

Definition at line 120 of file VPlanPatternMatch.h.

References llvm::CallingConv::C, llvm::APInt::isSameValue(), and Val.

Member Data Documentation

◆ Val

APInt llvm::VPlanPatternMatch::is_specific_int::Val

Definition at line 116 of file VPlanPatternMatch.h.

Referenced by is_specific_int(), and isValue().


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