clang  6.0.0svn
Public Member Functions | Static Public Member Functions | List of all members
LoopState Struct Reference

Public Member Functions

bool isUnrolled () const
 
unsigned getMaxStep () const
 
const StmtgetLoopStmt () const
 
const LocationContextgetLocationContext () const
 
bool operator== (const LoopState &X) const
 
void Profile (llvm::FoldingSetNodeID &ID) const
 

Static Public Member Functions

static LoopState getNormal (const Stmt *S, const LocationContext *L, unsigned N)
 
static LoopState getUnrolled (const Stmt *S, const LocationContext *L, unsigned N)
 

Detailed Description

Definition at line 28 of file LoopUnrolling.cpp.

Member Function Documentation

◆ getLocationContext()

const LocationContext* LoopState::getLocationContext ( ) const
inline

Definition at line 49 of file LoopUnrolling.cpp.

◆ getLoopStmt()

const Stmt* LoopState::getLoopStmt ( ) const
inline

Definition at line 48 of file LoopUnrolling.cpp.

◆ getMaxStep()

unsigned LoopState::getMaxStep ( ) const
inline

Definition at line 47 of file LoopUnrolling.cpp.

◆ getNormal()

static LoopState LoopState::getNormal ( const Stmt S,
const LocationContext L,
unsigned  N 
)
inlinestatic

Definition at line 38 of file LoopUnrolling.cpp.

Referenced by clang::ento::updateLoopStack().

◆ getUnrolled()

static LoopState LoopState::getUnrolled ( const Stmt S,
const LocationContext L,
unsigned  N 
)
inlinestatic

Definition at line 42 of file LoopUnrolling.cpp.

Referenced by clang::ento::updateLoopStack().

◆ isUnrolled()

bool LoopState::isUnrolled ( ) const
inline

Definition at line 46 of file LoopUnrolling.cpp.

◆ operator==()

bool LoopState::operator== ( const LoopState X) const
inline

Definition at line 50 of file LoopUnrolling.cpp.

◆ Profile()

void LoopState::Profile ( llvm::FoldingSetNodeID &  ID) const
inline

Definition at line 53 of file LoopUnrolling.cpp.

References REGISTER_LIST_WITH_PROGRAMSTATE.


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