class VPlanHCFGBuilder

Declaration

class VPlanHCFGBuilder { /* full declaration omitted */ };

Description

Main class to build the VPlan H-CFG for an incoming IR.

Declared at: llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.h:39

Member Variables

private llvm::Loop* TheLoop
private llvm::LoopInfo* LI
private llvm::VPlan& Plan
private llvm::VPlanVerifier Verifier
private llvm::VPDominatorTree VPDomTree

Method Overview

Methods

VPlanHCFGBuilder(llvm::Loop* Lp,
                 llvm::LoopInfo* LI,
                 llvm::VPlan& P)

Declared at: llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.h:65

Parameters

llvm::Loop* Lp
llvm::LoopInfo* LI
llvm::VPlan& P

void buildHierarchicalCFG()

Description

Build H-CFG for TheLoop and update Plan accordingly.

Declared at: llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.h:69

llvm::VPBasicBlock* buildPlainCFG()

Description

Build plain CFG for TheLoop. Return the pre-header VPBasicBlock connected to a new VPRegionBlock (TopRegion) enclosing the plain CFG.

Declared at: llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.h:62