LLVM
17.0.0git
|
#include "VPlanTransforms.h"
#include "VPlanCFG.h"
#include "llvm/ADT/PostOrderIterator.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/Analysis/IVDescriptors.h"
#include "llvm/Analysis/VectorUtils.h"
#include "llvm/IR/Intrinsics.h"
Go to the source code of this file.
Functions | |
VPValue * | getPredicatedMask (VPRegionBlock *R) |
If R is a region with a VPBranchOnMaskRecipe in the entry block, return the mask. More... | |
static VPBasicBlock * | getPredicatedThenBlock (VPRegionBlock *R) |
If R is a triangle region, return the 'then' block of the triangle. More... | |
static bool | canSimplifyBranchOnCond (VPInstruction *Term) |
This file implements a set of utility VPlan to VPlan transformations.
Definition in file VPlanTransforms.cpp.
|
static |
Definition at line 487 of file VPlanTransforms.cpp.
References llvm::VPInstruction::ActiveLaneMask, llvm::VPInstruction::getOpcode(), llvm::VPUser::getOperand(), llvm::VPInstruction::Not, and llvm::M68kBeads::Term.
Referenced by llvm::VPlanTransforms::optimizeForVFAndUF().
VPValue* getPredicatedMask | ( | VPRegionBlock * | R | ) |
If R
is a region with a VPBranchOnMaskRecipe in the entry block, return the mask.
Definition at line 198 of file VPlanTransforms.cpp.
Referenced by llvm::VPlanTransforms::mergeReplicateRegionsIntoSuccessors().
|
static |
If R
is a triangle region, return the 'then' block of the triangle.
Definition at line 208 of file VPlanTransforms.cpp.
Referenced by llvm::VPlanTransforms::mergeReplicateRegionsIntoSuccessors().