clang 22.0.0git
clang::lifetimes::internal::LivenessLattice Struct Reference

The dataflow lattice for origin liveness analysis. More...

Public Member Functions

 LivenessLattice ()
 LivenessLattice (LivenessMap L)
bool operator== (const LivenessLattice &Other) const
bool operator!= (const LivenessLattice &Other) const
void dump (llvm::raw_ostream &OS, const OriginManager &OM) const

Public Attributes

LivenessMap LiveOrigins

Detailed Description

The dataflow lattice for origin liveness analysis.

It tracks which origins are live, why they're live (which UseFact), and the confidence level of that liveness.

Definition at line 1195 of file LifetimeSafety.cpp.

Constructor & Destructor Documentation

◆ LivenessLattice() [1/2]

clang::lifetimes::internal::LivenessLattice::LivenessLattice ( )
inline

Definition at line 1198 of file LifetimeSafety.cpp.

References LiveOrigins, and clang::nullptr.

Referenced by operator!=(), and operator==().

◆ LivenessLattice() [2/2]

clang::lifetimes::internal::LivenessLattice::LivenessLattice ( LivenessMap L)
inlineexplicit

Definition at line 1200 of file LifetimeSafety.cpp.

References LiveOrigins.

Member Function Documentation

◆ dump()

void clang::lifetimes::internal::LivenessLattice::dump ( llvm::raw_ostream & OS,
const OriginManager & OM ) const
inline

◆ operator!=()

bool clang::lifetimes::internal::LivenessLattice::operator!= ( const LivenessLattice & Other) const
inline

Definition at line 1206 of file LifetimeSafety.cpp.

References LivenessLattice(), and clang::Other.

◆ operator==()

bool clang::lifetimes::internal::LivenessLattice::operator== ( const LivenessLattice & Other) const
inline

Definition at line 1202 of file LifetimeSafety.cpp.

References LivenessLattice(), LiveOrigins, and clang::Other.

Member Data Documentation

◆ LiveOrigins


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