LLVM  14.0.0git
Public Member Functions | Public Attributes | List of all members
match_LoopInvariant< SubPattern_t > Struct Template Reference

Match loop-invariant value. More...

Collaboration diagram for match_LoopInvariant< SubPattern_t >:
Collaboration graph
[legend]

Public Member Functions

 match_LoopInvariant (const SubPattern_t &SP, const Loop *L)
 
template<typename ITy >
bool match (ITy *V)
 

Public Attributes

SubPattern_t SubPattern
 
const LoopL
 

Detailed Description

template<typename SubPattern_t>
struct match_LoopInvariant< SubPattern_t >

Match loop-invariant value.

Definition at line 2185 of file LoopIdiomRecognize.cpp.

Constructor & Destructor Documentation

◆ match_LoopInvariant()

template<typename SubPattern_t >
match_LoopInvariant< SubPattern_t >::match_LoopInvariant ( const SubPattern_t &  SP,
const Loop L 
)
inline

Definition at line 2189 of file LoopIdiomRecognize.cpp.

Member Function Documentation

◆ match()

template<typename SubPattern_t >
template<typename ITy >
bool match_LoopInvariant< SubPattern_t >::match ( ITy *  V)
inline

Definition at line 2192 of file LoopIdiomRecognize.cpp.

References llvm::Loop::isLoopInvariant().

Member Data Documentation

◆ L

template<typename SubPattern_t >
const Loop* match_LoopInvariant< SubPattern_t >::L

Definition at line 2187 of file LoopIdiomRecognize.cpp.

◆ SubPattern

template<typename SubPattern_t >
SubPattern_t match_LoopInvariant< SubPattern_t >::SubPattern

Definition at line 2186 of file LoopIdiomRecognize.cpp.


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