LLVM  14.0.0git
Functions
VPlanTransforms.cpp File Reference
#include "VPlanTransforms.h"
#include "llvm/ADT/PostOrderIterator.h"
Include dependency graph for VPlanTransforms.cpp:

Go to the source code of this file.

Functions

VPValuegetPredicatedMask (VPRegionBlock *R)
 If R is a region with a VPBranchOnMaskRecipe in the entry block, return the mask. More...
 
static VPBasicBlockgetPredicatedThenBlock (VPRegionBlock *R)
 If R is a triangle region, return the 'then' block of the triangle. More...
 

Detailed Description

This file implements a set of utility VPlan to VPlan transformations.

Definition in file VPlanTransforms.cpp.

Function Documentation

◆ getPredicatedMask()

VPValue* getPredicatedMask ( VPRegionBlock R)

If R is a region with a VPBranchOnMaskRecipe in the entry block, return the mask.

Definition at line 185 of file VPlanTransforms.cpp.

Referenced by llvm::VPlanTransforms::mergeReplicateRegions().

◆ getPredicatedThenBlock()

static VPBasicBlock* getPredicatedThenBlock ( VPRegionBlock R)
static

If R is a triangle region, return the 'then' block of the triangle.

Definition at line 195 of file VPlanTransforms.cpp.

Referenced by llvm::VPlanTransforms::mergeReplicateRegions().