LLVM
8.0.1
|
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"
Public Member Functions | |
CFGState ()=default | |
Public Attributes | |
VPBasicBlock * | PrevVPBB = nullptr |
The previous VPBasicBlock visited. Initially set to null. More... | |
BasicBlock * | PrevBB = nullptr |
The previous IR BasicBlock created or used. More... | |
BasicBlock * | LastBB = nullptr |
The last IR BasicBlock in the output IR. More... | |
SmallDenseMap< VPBasicBlock *, BasicBlock * > | VPBB2IRBB |
A mapping of each VPBasicBlock to the corresponding BasicBlock. More... | |
SmallVector< VPBasicBlock *, 8 > | VPBBsToFix |
Vector of VPBasicBlocks whose terminator instruction needs to be fixed up at the end of vector code generation. More... | |
Hold state information used when constructing the CFG of the output IR, traversing the VPBasicBlocks and generating corresponding IR BasicBlocks.
|
default |
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 293 of file VPlan.h.
Referenced by llvm::VPBlockBase::deleteCFG(), llvm::VPBasicBlock::execute(), and llvm::VPlan::execute().
BasicBlock* llvm::VPTransformState::CFGState::PrevBB = nullptr |
The previous IR BasicBlock created or used.
Initially set to the new header BasicBlock.
Definition at line 289 of file VPlan.h.
Referenced by llvm::VPBlockBase::deleteCFG(), llvm::VPBranchOnMaskRecipe::execute(), llvm::VPBasicBlock::execute(), and llvm::VPlan::execute().
VPBasicBlock* llvm::VPTransformState::CFGState::PrevVPBB = nullptr |
The previous VPBasicBlock visited. Initially set to null.
Definition at line 285 of file VPlan.h.
Referenced by llvm::VPBasicBlock::execute(), and llvm::VPlan::execute().
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 297 of file VPlan.h.
Referenced by llvm::VPBlockBase::deleteCFG(), llvm::VPBasicBlock::execute(), and llvm::VPlan::execute().
SmallVector<VPBasicBlock *, 8> llvm::VPTransformState::CFGState::VPBBsToFix |
Vector of VPBasicBlocks whose terminator instruction needs to be fixed up at the end of vector code generation.
Definition at line 301 of file VPlan.h.
Referenced by llvm::VPBlockBase::deleteCFG(), and llvm::VPlan::execute().