clang 24.0.0git
clang::ento::LoopUnrollingCache Struct Reference

Memoizes the part of the loop unrolling decision that depends only on the AST of a loop (as opposed to the path that reached it), so that the AST matchers run once per loop instead of every time a path enters the loop. More...

#include "clang/StaticAnalyzer/Core/PathSensitive/LoopUnrolling.h"

Classes

struct  Entry

Public Attributes

llvm::DenseMap< const Stmt *, Entry > Entries

Static Public Attributes

static const Entry NotUnrollable
 The entry of a loop that is not a candidate for complete unrolling.

Detailed Description

Memoizes the part of the loop unrolling decision that depends only on the AST of a loop (as opposed to the path that reached it), so that the AST matchers run once per loop instead of every time a path enters the loop.

Definition at line 36 of file LoopUnrolling.h.

Member Data Documentation

◆ Entries

llvm::DenseMap<const Stmt *, Entry> clang::ento::LoopUnrollingCache::Entries

Definition at line 46 of file LoopUnrolling.h.

◆ NotUnrollable

const LoopUnrollingCache::Entry clang::ento::LoopUnrollingCache::NotUnrollable
static
Initial value:
= {nullptr,
0}

The entry of a loop that is not a candidate for complete unrolling.

Definition at line 44 of file LoopUnrolling.h.

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


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