LLVM 22.0.0git
llvm::PatternMatch::PtrAdd_match< PointerOpTy, OffsetOpTy > Struct Template Reference

#include "llvm/IR/PatternMatch.h"

Public Member Functions

 PtrAdd_match (const PointerOpTy &PointerOp, const OffsetOpTy &OffsetOp)
template<typename OpTy>
bool match (OpTy *V) const

Public Attributes

PointerOpTy PointerOp
OffsetOpTy OffsetOp

Detailed Description

template<typename PointerOpTy, typename OffsetOpTy>
struct llvm::PatternMatch::PtrAdd_match< PointerOpTy, OffsetOpTy >

Definition at line 2014 of file PatternMatch.h.

Constructor & Destructor Documentation

◆ PtrAdd_match()

template<typename PointerOpTy, typename OffsetOpTy>
llvm::PatternMatch::PtrAdd_match< PointerOpTy, OffsetOpTy >::PtrAdd_match ( const PointerOpTy & PointerOp,
const OffsetOpTy & OffsetOp )
inline

Definition at line 2018 of file PatternMatch.h.

References OffsetOp, and PointerOp.

Member Function Documentation

◆ match()

template<typename PointerOpTy, typename OffsetOpTy>
template<typename OpTy>
bool llvm::PatternMatch::PtrAdd_match< PointerOpTy, OffsetOpTy >::match ( OpTy * V) const
inline

Definition at line 2021 of file PatternMatch.h.

References llvm::dyn_cast(), GEP, OffsetOp, and PointerOp.

Member Data Documentation

◆ OffsetOp

template<typename PointerOpTy, typename OffsetOpTy>
OffsetOpTy llvm::PatternMatch::PtrAdd_match< PointerOpTy, OffsetOpTy >::OffsetOp

Definition at line 2016 of file PatternMatch.h.

Referenced by match(), and PtrAdd_match().

◆ PointerOp

template<typename PointerOpTy, typename OffsetOpTy>
PointerOpTy llvm::PatternMatch::PtrAdd_match< PointerOpTy, OffsetOpTy >::PointerOp

Definition at line 2015 of file PatternMatch.h.

Referenced by match(), and PtrAdd_match().


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