clang 24.0.0git
cir::PointsToLimits Struct Reference

Limits on the work done by PointsToAnalysis. More...

#include "clang/CIR/Dialect/Analysis/CIRPointsToAnalysis.h"

Public Attributes

unsigned maxOperations = 5000
 The largest number of operations the analysis is computed for.
unsigned workPerOperation = 32
 The work allowed to compute the sets, counted as the number of times an operation is visited.
unsigned minWork = 100000
unsigned maxSetSize = 100
 The largest number of objects a set holds.

Detailed Description

Limits on the work done by PointsToAnalysis.

When the operation is too large, or the sets take too long to compute, the analysis gives up, and every value points to "unknown".

Definition at line 91 of file CIRPointsToAnalysis.h.

Member Data Documentation

◆ maxOperations

unsigned cir::PointsToLimits::maxOperations = 5000

The largest number of operations the analysis is computed for.

Definition at line 93 of file CIRPointsToAnalysis.h.

◆ maxSetSize

unsigned cir::PointsToLimits::maxSetSize = 100

The largest number of objects a set holds.

A set that grows past it is replaced by "unknown", and its objects escape.

Definition at line 103 of file CIRPointsToAnalysis.h.

◆ minWork

unsigned cir::PointsToLimits::minWork = 100000

Definition at line 99 of file CIRPointsToAnalysis.h.

◆ workPerOperation

unsigned cir::PointsToLimits::workPerOperation = 32

The work allowed to compute the sets, counted as the number of times an operation is visited.

It is workPerOperation for each operation, and at least minWork.

Definition at line 98 of file CIRPointsToAnalysis.h.


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