LLVM 23.0.0git
llvm::VPSCEVExpander Class Reference

Lightweight SCEV-to-VPlan expander. More...

#include "Transforms/Vectorize/VPlanUtils.h"

Public Member Functions

 VPSCEVExpander (VPBuilder &Builder, ScalarEvolution &SE, DebugLoc DL={})
VPValuetryToExpand (const SCEV *S)
 Try to expand S into recipes and live-ins using the builder.

Detailed Description

Lightweight SCEV-to-VPlan expander.

Converts SCEV expressions into VPInstructions where possible, and returning nullptr for unsupported expressions (like adds, casts, min/max).

Definition at line 187 of file VPlanUtils.h.

Constructor & Destructor Documentation

◆ VPSCEVExpander()

llvm::VPSCEVExpander::VPSCEVExpander ( VPBuilder & Builder,
ScalarEvolution & SE,
DebugLoc DL = {} )
inline

Definition at line 198 of file VPlanUtils.h.

Member Function Documentation

◆ tryToExpand()


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