LLVM 24.0.0git
llvm::HistogramInfo Struct Reference

This holds details about a histogram operation – a load -> update -> store sequence where each lane in a vector might be updating the same element as another lane. More...

#include "llvm/Transforms/Vectorize/LoopVectorizationLegality.h"

Public Member Functions

 HistogramInfo (LoadInst *Load, Instruction *Update, StoreInst *Store, HistogramUpdateKind UpdateKind)

Public Attributes

LoadInst * Load
Instruction * Update
StoreInst * Store
HistogramUpdateKind UpdateKind
 The update operation applied to the histogram buckets.

Detailed Description

This holds details about a histogram operation – a load -> update -> store sequence where each lane in a vector might be updating the same element as another lane.

Definition at line 242 of file LoopVectorizationLegality.h.

Constructor & Destructor Documentation

◆ HistogramInfo()

llvm::HistogramInfo::HistogramInfo ( LoadInst * Load,
Instruction * Update,
StoreInst * Store,
HistogramUpdateKind UpdateKind )
inline

Definition at line 249 of file LoopVectorizationLegality.h.

References Load, Store, Update, and UpdateKind.

Member Data Documentation

◆ Load

LoadInst* llvm::HistogramInfo::Load

◆ Store

StoreInst* llvm::HistogramInfo::Store

Definition at line 245 of file LoopVectorizationLegality.h.

Referenced by HistogramInfo().

◆ Update

Instruction* llvm::HistogramInfo::Update

Definition at line 244 of file LoopVectorizationLegality.h.

Referenced by HistogramInfo().

◆ UpdateKind

HistogramUpdateKind llvm::HistogramInfo::UpdateKind

The update operation applied to the histogram buckets.

Definition at line 247 of file LoopVectorizationLegality.h.

Referenced by HistogramInfo().


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