LLVM 20.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
llvm::TargetTransformInfo::PointersChainInfo Struct Reference

Describe known properties for a set of pointers. More...

#include "llvm/Analysis/TargetTransformInfo.h"

Public Member Functions

bool isSameBase () const
 
bool isUnitStride () const
 
bool isKnownStride () const
 

Static Public Member Functions

static PointersChainInfo getUnitStride ()
 
static PointersChainInfo getKnownStride ()
 
static PointersChainInfo getUnknownStride ()
 

Public Attributes

unsigned IsSameBaseAddress: 1
 All the GEPs in a set have same base address.
 
unsigned IsUnitStride: 1
 These properties only valid if SameBaseAddress is set.
 
unsigned IsKnownStride: 1
 True if distance between any two neigbouring pointers is a known value.
 
unsigned Reserved: 29
 

Detailed Description

Describe known properties for a set of pointers.

Definition at line 305 of file TargetTransformInfo.h.

Member Function Documentation

◆ getKnownStride()

static PointersChainInfo llvm::TargetTransformInfo::PointersChainInfo::getKnownStride ( )
inlinestatic

Definition at line 323 of file TargetTransformInfo.h.

◆ getUnitStride()

static PointersChainInfo llvm::TargetTransformInfo::PointersChainInfo::getUnitStride ( )
inlinestatic

Definition at line 319 of file TargetTransformInfo.h.

◆ getUnknownStride()

static PointersChainInfo llvm::TargetTransformInfo::PointersChainInfo::getUnknownStride ( )
inlinestatic

Definition at line 327 of file TargetTransformInfo.h.

◆ isKnownStride()

bool llvm::TargetTransformInfo::PointersChainInfo::isKnownStride ( ) const
inline

Definition at line 317 of file TargetTransformInfo.h.

References IsKnownStride, and IsSameBaseAddress.

◆ isSameBase()

bool llvm::TargetTransformInfo::PointersChainInfo::isSameBase ( ) const
inline

Definition at line 315 of file TargetTransformInfo.h.

References IsSameBaseAddress.

◆ isUnitStride()

bool llvm::TargetTransformInfo::PointersChainInfo::isUnitStride ( ) const
inline

Definition at line 316 of file TargetTransformInfo.h.

References IsSameBaseAddress, and IsUnitStride.

Member Data Documentation

◆ IsKnownStride

unsigned llvm::TargetTransformInfo::PointersChainInfo::IsKnownStride

True if distance between any two neigbouring pointers is a known value.

Definition at line 312 of file TargetTransformInfo.h.

Referenced by isKnownStride().

◆ IsSameBaseAddress

unsigned llvm::TargetTransformInfo::PointersChainInfo::IsSameBaseAddress

All the GEPs in a set have same base address.

Definition at line 307 of file TargetTransformInfo.h.

Referenced by isKnownStride(), isSameBase(), and isUnitStride().

◆ IsUnitStride

unsigned llvm::TargetTransformInfo::PointersChainInfo::IsUnitStride

These properties only valid if SameBaseAddress is set.

True if all pointers are separated by a unit stride.

Definition at line 310 of file TargetTransformInfo.h.

Referenced by isUnitStride().

◆ Reserved

unsigned llvm::TargetTransformInfo::PointersChainInfo::Reserved

Definition at line 313 of file TargetTransformInfo.h.


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