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)
VPRegionValue * getRegionValue ()
const VPRegionValue * getRegionValue () const
VPRegionValue * getHeaderMask () const
VPRegionValue * createHeaderMask ()
 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 4611 of file VPlan.h.

Constructor & Destructor Documentation

◆ VPCanonicalIVInfo()

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

Definition at line 4623 of file VPlan.h.

References DL.

Member Function Documentation

◆ clearNUW()

void llvm::VPCanonicalIVInfo::clearNUW ( )
inline

Definition at line 4643 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 4633 of file VPlan.h.

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

◆ getHeaderMask()

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

Definition at line 4629 of file VPlan.h.

◆ getRegionValue() [1/2]

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

Definition at line 4626 of file VPlan.h.

◆ getRegionValue() [2/2]

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

Definition at line 4627 of file VPlan.h.

◆ hasNUW()

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

Definition at line 4641 of file VPlan.h.


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