LLVM  15.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

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 2252 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 

Definition at line 2256 of file LoopIdiomRecognize.cpp.

Member Function Documentation

◆ match()

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

Definition at line 2259 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 2254 of file LoopIdiomRecognize.cpp.

◆ SubPattern

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

Definition at line 2253 of file LoopIdiomRecognize.cpp.

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