LLVM 22.0.0git
llvm::VPlanPatternMatch::int_pred_ty< Pred, BitWidth > Struct Template Reference

Match an integer constant or vector of constants if Pred::isValue returns true for the APInt. More...

#include "Transforms/Vectorize/VPlanPatternMatch.h"

Inheritance diagram for llvm::VPlanPatternMatch::int_pred_ty< Pred, BitWidth >:
[legend]

Public Member Functions

 int_pred_ty (Pred P)
 int_pred_ty ()
bool match (VPValue *VPV) const

Public Attributes

Pred P

Detailed Description

template<typename Pred, unsigned BitWidth = 0>
struct llvm::VPlanPatternMatch::int_pred_ty< Pred, BitWidth >

Match an integer constant or vector of constants if Pred::isValue returns true for the APInt.

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

Definition at line 86 of file VPlanPatternMatch.h.

Constructor & Destructor Documentation

◆ int_pred_ty() [1/2]

template<typename Pred, unsigned BitWidth = 0>
llvm::VPlanPatternMatch::int_pred_ty< Pred, BitWidth >::int_pred_ty ( Pred P)
inline

Definition at line 89 of file VPlanPatternMatch.h.

◆ int_pred_ty() [2/2]

template<typename Pred, unsigned BitWidth = 0>
llvm::VPlanPatternMatch::int_pred_ty< Pred, BitWidth >::int_pred_ty ( )
inline

Definition at line 90 of file VPlanPatternMatch.h.

Member Function Documentation

◆ match()

template<typename Pred, unsigned BitWidth = 0>
bool llvm::VPlanPatternMatch::int_pred_ty< Pred, BitWidth >::match ( VPValue * VPV) const
inline

Definition at line 92 of file VPlanPatternMatch.h.

Member Data Documentation

◆ P

template<typename Pred, unsigned BitWidth = 0>
Pred llvm::VPlanPatternMatch::int_pred_ty< Pred, BitWidth >::P

Definition at line 87 of file VPlanPatternMatch.h.


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