LLVM 23.0.0git
llvm::PatternMatch::LoadSimple_match< OpTy > Struct Template Reference

Matches a simple (non-volatile, non-atomic) LoadInst. More...

#include "llvm/IR/PatternMatch.h"

Public Member Functions

 LoadSimple_match (const OpTy &Op)
template<typename ITy>
bool match (ITy *V) const

Public Attributes

OneOps_match< OpTy, Instruction::Load > Base

Detailed Description

template<typename OpTy>
struct llvm::PatternMatch::LoadSimple_match< OpTy >

Matches a simple (non-volatile, non-atomic) LoadInst.

Definition at line 2049 of file PatternMatch.h.

Constructor & Destructor Documentation

◆ LoadSimple_match()

template<typename OpTy>
llvm::PatternMatch::LoadSimple_match< OpTy >::LoadSimple_match ( const OpTy & Op)
inline

Definition at line 2052 of file PatternMatch.h.

References Base.

Member Function Documentation

◆ match()

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

Definition at line 2054 of file PatternMatch.h.

References Base, and llvm::cast().

Member Data Documentation

◆ Base

template<typename OpTy>
OneOps_match<OpTy, Instruction::Load> llvm::PatternMatch::LoadSimple_match< OpTy >::Base

Definition at line 2050 of file PatternMatch.h.

Referenced by LoadSimple_match(), and match().


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