LLVM 20.0.0git
Public Types | Public Attributes | List of all members
llvm::detail::PtrUseVisitorBase::UseToVisit Struct Reference

A struct of the data needed to visit a particular use. More...

#include "llvm/Analysis/PtrUseVisitor.h"

Public Types

using UseAndIsOffsetKnownPair = PointerIntPair< Use *, 1, bool >
 

Public Attributes

UseAndIsOffsetKnownPair UseAndIsOffsetKnown
 
APInt Offset
 

Detailed Description

A struct of the data needed to visit a particular use.

This is used to maintain a worklist fo to-visit uses. This is used to make the visit be iterative rather than recursive.

Definition at line 132 of file PtrUseVisitor.h.

Member Typedef Documentation

◆ UseAndIsOffsetKnownPair

Definition at line 133 of file PtrUseVisitor.h.

Member Data Documentation

◆ Offset

APInt llvm::detail::PtrUseVisitorBase::UseToVisit::Offset

Definition at line 136 of file PtrUseVisitor.h.

Referenced by llvm::PtrUseVisitor< DerivedT >::visitPtr().

◆ UseAndIsOffsetKnown

UseAndIsOffsetKnownPair llvm::detail::PtrUseVisitorBase::UseToVisit::UseAndIsOffsetKnown

Definition at line 135 of file PtrUseVisitor.h.

Referenced by llvm::PtrUseVisitor< DerivedT >::visitPtr().


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