LLVM 24.0.0git
llvm::VPCanonicalIVInfo Class Reference

Track information about the canonical IV and header mask of a loop region. More...

#include "Transforms/Vectorize/VPlan.h"

Public Member Functions

 VPCanonicalIVInfo (Type *Ty, DebugLoc DL, VPRegionBlock *Region)
VPRegionValuegetRegionValue ()
const VPRegionValuegetRegionValue () const
VPRegionValuegetHeaderMask () const
VPRegionValuecreateHeaderMask ()
 Create the header mask for the region and return it.
bool hasNUW () const
void clearNUW ()

Detailed Description

Track information about the canonical IV and header mask of a loop region.

TODO: Have it also track the canonical IV increment, subject of NUW flag.

Definition at line 4558 of file VPlan.h.

Constructor & Destructor Documentation

◆ VPCanonicalIVInfo()

llvm::VPCanonicalIVInfo::VPCanonicalIVInfo ( Type * Ty,
DebugLoc DL,
VPRegionBlock * Region )
inline

Definition at line 4570 of file VPlan.h.

References DL.

Member Function Documentation

◆ clearNUW()

void llvm::VPCanonicalIVInfo::clearNUW ( )
inline

Definition at line 4590 of file VPlan.h.

◆ createHeaderMask()

VPRegionValue * llvm::VPCanonicalIVInfo::createHeaderMask ( )
inline

Create the header mask for the region and return it.

Must only be called when no header mask exists yet.

Definition at line 4580 of file VPlan.h.

References assert(), llvm::Type::getInt1Ty(), and llvm::DebugLoc::getUnknown().

◆ getHeaderMask()

VPRegionValue * llvm::VPCanonicalIVInfo::getHeaderMask ( ) const
inline

Definition at line 4576 of file VPlan.h.

◆ getRegionValue() [1/2]

VPRegionValue * llvm::VPCanonicalIVInfo::getRegionValue ( )
inline

Definition at line 4573 of file VPlan.h.

◆ getRegionValue() [2/2]

const VPRegionValue * llvm::VPCanonicalIVInfo::getRegionValue ( ) const
inline

Definition at line 4574 of file VPlan.h.

◆ hasNUW()

bool llvm::VPCanonicalIVInfo::hasNUW ( ) const
inline

Definition at line 4588 of file VPlan.h.


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