1 //===- VPlanHCFGTransforms.h - Utility VPlan to VPlan transforms ----------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
11 /// This file provides utility VPlan to VPlan transformations.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_TRANSFORMS_VECTORIZE_VPLANHCFGTRANSFORMS_H
15 #define LLVM_TRANSFORMS_VECTORIZE_VPLANHCFGTRANSFORMS_H
18 #include "llvm/IR/Instruction.h"
19 #include "llvm/Transforms/Vectorize/LoopVectorizationLegality.h"
23 class VPlanHCFGTransforms {
26 /// Replaces the VPInstructions in \p Plan with corresponding
28 static void VPInstructionsToVPRecipes(
30 LoopVectorizationLegality::InductionList *Inductions,
31 SmallPtrSetImpl<Instruction *> &DeadInstructions);
36 #endif // LLVM_TRANSFORMS_VECTORIZE_VPLANHCFGTRANSFORMS_H