LLVM 22.0.0git
Classes | Namespaces | Functions
VPlanHelpers.h File Reference

This file contains the declarations of different VPlan-related auxiliary helpers. More...

#include "VPlanAnalysis.h"
#include "VPlanDominatorTree.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Analysis/DomTreeUpdater.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/IR/DebugLoc.h"
#include "llvm/IR/ModuleSlotTracker.h"
#include "llvm/Support/InstructionCost.h"

Go to the source code of this file.

Classes

struct  llvm::VFRange
 A range of powers-of-2 vectorization factors with fixed start and adjustable end. More...
 
class  llvm::VFRange::iterator
 Iterator to iterate over vectorization factors in a VFRange. More...
 
class  llvm::VPLane
 In what follows, the term "input IR" refers to code that is fed into the vectorizer whereas the term "output IR" refers to code that is generated by the vectorizer. More...
 
struct  llvm::VPTransformState
 VPTransformState holds information passed down when "executing" a VPlan, needed for generating the output IR. More...
 
struct  llvm::VPTransformState::DataState
 
struct  llvm::VPTransformState::CFGState
 Hold state information used when constructing the CFG of the output IR, traversing the VPBasicBlocks and generating corresponding IR BasicBlocks. More...
 
struct  llvm::VPCostContext
 Struct to hold various analysis needed for cost computations. More...
 
class  llvm::VPSlotTracker
 This class can be used to assign names to VPValues. More...
 
class  llvm::VPlanPrinter
 VPlanPrinter prints a given VPlan to a given output stream. More...
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Functions

Valuellvm::getRuntimeVF (IRBuilderBase &B, Type *Ty, ElementCount VF)
 Return the runtime value for VF.
 
Valuellvm::createStepForVF (IRBuilderBase &B, Type *Ty, ElementCount VF, int64_t Step)
 Return a value for Step multiplied by VF.
 
unsigned llvm::getPredBlockCostDivisor (TargetTransformInfo::TargetCostKind CostKind)
 A helper function that returns how much we should divide the cost of a predicated block by.
 

Detailed Description

This file contains the declarations of different VPlan-related auxiliary helpers.

Definition in file VPlanHelpers.h.