LLVM  6.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::VPTransformState::CFGState Struct Reference

Hold state information used when constructing the CFG of the output IR, traversing the VPBasicBlocks and generating corresponding IR BasicBlocks. More...

#include "Transforms/Vectorize/VPlan.h"

Collaboration diagram for llvm::VPTransformState::CFGState:
Collaboration graph
[legend]

Public Member Functions

 CFGState ()=default
 

Public Attributes

VPBasicBlockPrevVPBB = nullptr
 The previous VPBasicBlock visited. Initially set to null. More...
 
BasicBlockPrevBB = nullptr
 The previous IR BasicBlock created or used. More...
 
BasicBlockLastBB = nullptr
 The last IR BasicBlock in the output IR. More...
 
SmallDenseMap< VPBasicBlock *, BasicBlock * > VPBB2IRBB
 A mapping of each VPBasicBlock to the corresponding BasicBlock. More...
 

Detailed Description

Hold state information used when constructing the CFG of the output IR, traversing the VPBasicBlocks and generating corresponding IR BasicBlocks.

Definition at line 268 of file VPlan.h.

Constructor & Destructor Documentation

◆ CFGState()

llvm::VPTransformState::CFGState::CFGState ( )
default

Member Data Documentation

◆ LastBB

BasicBlock* llvm::VPTransformState::CFGState::LastBB = nullptr

The last IR BasicBlock in the output IR.

Set to the new latch BasicBlock, used for placing the newly created BasicBlocks.

Definition at line 278 of file VPlan.h.

Referenced by llvm::VPBlockBase::deleteCFG(), llvm::VPBasicBlock::execute(), and llvm::VPlan::execute().

◆ PrevBB

BasicBlock* llvm::VPTransformState::CFGState::PrevBB = nullptr

The previous IR BasicBlock created or used.

Initially set to the new header BasicBlock.

Definition at line 274 of file VPlan.h.

Referenced by llvm::LoopVectorizationPlanner::buildVPlans(), llvm::VPBlockBase::deleteCFG(), llvm::VPBasicBlock::execute(), and llvm::VPlan::execute().

◆ PrevVPBB

VPBasicBlock* llvm::VPTransformState::CFGState::PrevVPBB = nullptr

The previous VPBasicBlock visited. Initially set to null.

Definition at line 270 of file VPlan.h.

Referenced by llvm::VPBasicBlock::execute(), and llvm::VPlan::execute().

◆ VPBB2IRBB

SmallDenseMap<VPBasicBlock *, BasicBlock *> llvm::VPTransformState::CFGState::VPBB2IRBB

A mapping of each VPBasicBlock to the corresponding BasicBlock.

In case of replication, maps the BasicBlock of the last replica created.

Definition at line 282 of file VPlan.h.

Referenced by llvm::VPBlockBase::deleteCFG(), and llvm::VPBasicBlock::execute().


The documentation for this struct was generated from the following file: