LLVM 22.0.0git
VPlanAnalysis.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "vplan"

Functions

static unsigned getVFScaleFactor (VPRecipeBase *R)
 Get the VF scaling factor applied to the recipe's output, if the recipe has one.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "vplan"

Definition at line 22 of file VPlanAnalysis.cpp.

Function Documentation

◆ getVFScaleFactor()

unsigned getVFScaleFactor ( VPRecipeBase * R)
static

Get the VF scaling factor applied to the recipe's output, if the recipe has one.

Definition at line 399 of file VPlanAnalysis.cpp.

References assert(), llvm::cast(), llvm::dyn_cast(), getOpcode(), llvm::isa(), and llvm::VPInstruction::ReductionStartVector.

Referenced by llvm::calculateRegisterUsageForPlan().