struct LoopState
Declaration
struct LoopState { /* full declaration omitted */ };
Declared at: clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp:27
Member Variables
- private enum Kind K
- private const clang::Stmt* LoopStmt
- private const clang::LocationContext* LCtx
- private unsigned int maxStep
Method Overview
- private LoopState(LoopState::Kind InK, const clang::Stmt * S, const clang::LocationContext * L, unsigned int N)
- public void Profile(llvm::FoldingSetNodeID & ID) const
- public const clang::LocationContext * getLocationContext() const
- public const clang::Stmt * getLoopStmt() const
- public unsigned int getMaxStep() const
- public static LoopState getNormal(const clang::Stmt * S, const clang::LocationContext * L, unsigned int N)
- public static LoopState getUnrolled(const clang::Stmt * S, const clang::LocationContext * L, unsigned int N)
- public bool isUnrolled() const
Methods
¶LoopState(LoopState::Kind InK,
const clang::Stmt* S,
const clang::LocationContext* L,
unsigned int N)
LoopState(LoopState::Kind InK,
const clang::Stmt* S,
const clang::LocationContext* L,
unsigned int N)
Declared at: clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp:33
Parameters
- LoopState::Kind InK
- const clang::Stmt* S
- const clang::LocationContext* L
- unsigned int N
¶void Profile(llvm::FoldingSetNodeID& ID) const
void Profile(llvm::FoldingSetNodeID& ID) const
Declared at: clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp:52
Parameters
¶const clang::LocationContext* getLocationContext()
const
const clang::LocationContext* getLocationContext()
const
Declared at: clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp:48
¶const clang::Stmt* getLoopStmt() const
const clang::Stmt* getLoopStmt() const
Declared at: clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp:47
¶unsigned int getMaxStep() const
unsigned int getMaxStep() const
Declared at: clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp:46
¶static LoopState getNormal(
const clang::Stmt* S,
const clang::LocationContext* L,
unsigned int N)
static LoopState getNormal(
const clang::Stmt* S,
const clang::LocationContext* L,
unsigned int N)
Declared at: clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp:37
Parameters
- const clang::Stmt* S
- const clang::LocationContext* L
- unsigned int N
¶static LoopState getUnrolled(
const clang::Stmt* S,
const clang::LocationContext* L,
unsigned int N)
static LoopState getUnrolled(
const clang::Stmt* S,
const clang::LocationContext* L,
unsigned int N)
Declared at: clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp:41
Parameters
- const clang::Stmt* S
- const clang::LocationContext* L
- unsigned int N
¶bool isUnrolled() const
bool isUnrolled() const
Declared at: clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp:45