LLVM  14.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::VPIteration Struct Reference

VPIteration represents a single point in the iteration space of the output (vectorized and/or unrolled) IR loop. More...

#include "Transforms/Vectorize/VPlan.h"

Collaboration diagram for llvm::VPIteration:
Collaboration graph
[legend]

Public Member Functions

 VPIteration (unsigned Part, unsigned Lane, VPLane::Kind Kind=VPLane::Kind::First)
 
 VPIteration (unsigned Part, const VPLane &Lane)
 
bool isFirstIteration () const
 

Public Attributes

unsigned Part
 in [0..UF) More...
 
VPLane Lane
 

Detailed Description

VPIteration represents a single point in the iteration space of the output (vectorized and/or unrolled) IR loop.

Definition at line 177 of file VPlan.h.

Constructor & Destructor Documentation

◆ VPIteration() [1/2]

llvm::VPIteration::VPIteration ( unsigned  Part,
unsigned  Lane,
VPLane::Kind  Kind = VPLane::Kind::First 
)
inline

Definition at line 183 of file VPlan.h.

◆ VPIteration() [2/2]

llvm::VPIteration::VPIteration ( unsigned  Part,
const VPLane Lane 
)
inline

Definition at line 187 of file VPlan.h.

Member Function Documentation

◆ isFirstIteration()

bool llvm::VPIteration::isFirstIteration ( ) const
inline

Definition at line 189 of file VPlan.h.

References llvm::VPLane::isFirstLane(), Lane, and Part.

Referenced by llvm::InnerLoopVectorizer::scalarizeInstruction().

Member Data Documentation

◆ Lane

VPLane llvm::VPIteration::Lane

◆ Part

unsigned llvm::VPIteration::Part

in [0..UF)

Definition at line 179 of file VPlan.h.

Referenced by isFirstIteration(), and llvm::InnerLoopVectorizer::packScalarIntoVectorValue().


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