LLVM 22.0.0git
llvm::PatternMatch::PtrToIntSameSize_match< Op_t > Struct Template Reference

#include "llvm/IR/PatternMatch.h"

Public Member Functions

 PtrToIntSameSize_match (const DataLayout &DL, const Op_t &OpMatch)
template<typename OpTy>
bool match (OpTy *V) const

Public Attributes

const DataLayoutDL
Op_t Op

Detailed Description

template<typename Op_t>
struct llvm::PatternMatch::PtrToIntSameSize_match< Op_t >

Definition at line 2105 of file PatternMatch.h.

Constructor & Destructor Documentation

◆ PtrToIntSameSize_match()

template<typename Op_t>
llvm::PatternMatch::PtrToIntSameSize_match< Op_t >::PtrToIntSameSize_match ( const DataLayout & DL,
const Op_t & OpMatch )
inline

Definition at line 2109 of file PatternMatch.h.

References DL, and Op.

Member Function Documentation

◆ match()

template<typename Op_t>
template<typename OpTy>
bool llvm::PatternMatch::PtrToIntSameSize_match< Op_t >::match ( OpTy * V) const
inline

Definition at line 2112 of file PatternMatch.h.

References DL, llvm::dyn_cast(), and Op.

Member Data Documentation

◆ DL

template<typename Op_t>
const DataLayout& llvm::PatternMatch::PtrToIntSameSize_match< Op_t >::DL

Definition at line 2106 of file PatternMatch.h.

Referenced by match(), and PtrToIntSameSize_match().

◆ Op

template<typename Op_t>
Op_t llvm::PatternMatch::PtrToIntSameSize_match< Op_t >::Op

Definition at line 2107 of file PatternMatch.h.

Referenced by match(), and PtrToIntSameSize_match().


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