LLVM  14.0.0git
Public Member Functions | Public Attributes | List of all members
FlattenInfo Struct Reference
Collaboration diagram for FlattenInfo:
Collaboration graph
[legend]

Public Member Functions

 FlattenInfo (Loop *OL, Loop *IL)
 

Public Attributes

LoopOuterLoop = nullptr
 
LoopInnerLoop = nullptr
 
PHINodeInnerInductionPHI = nullptr
 
PHINodeOuterInductionPHI = nullptr
 
ValueInnerTripCount = nullptr
 
ValueOuterTripCount = nullptr
 
BinaryOperatorInnerIncrement = nullptr
 
BinaryOperatorOuterIncrement = nullptr
 
BranchInstInnerBranch = nullptr
 
BranchInstOuterBranch = nullptr
 
SmallPtrSet< Value *, 4 > LinearIVUses
 
SmallPtrSet< PHINode *, 4 > InnerPHIsToTransform
 
bool Widened = false
 

Detailed Description

Definition at line 74 of file LoopFlatten.cpp.

Constructor & Destructor Documentation

◆ FlattenInfo()

FlattenInfo::FlattenInfo ( Loop OL,
Loop IL 
)
inline

Definition at line 93 of file LoopFlatten.cpp.

Member Data Documentation

◆ InnerBranch

BranchInst* FlattenInfo::InnerBranch = nullptr

Definition at line 85 of file LoopFlatten.cpp.

Referenced by CanFlattenLoopPair(), and checkIVUsers().

◆ InnerIncrement

BinaryOperator* FlattenInfo::InnerIncrement = nullptr

Definition at line 83 of file LoopFlatten.cpp.

Referenced by CanFlattenLoopPair(), and checkIVUsers().

◆ InnerInductionPHI

PHINode* FlattenInfo::InnerInductionPHI = nullptr

◆ InnerLoop

Loop* FlattenInfo::InnerLoop = nullptr

◆ InnerPHIsToTransform

SmallPtrSet<PHINode *, 4> FlattenInfo::InnerPHIsToTransform

Definition at line 88 of file LoopFlatten.cpp.

Referenced by checkPHIs(), and DoFlattenLoopPair().

◆ InnerTripCount

Value* FlattenInfo::InnerTripCount = nullptr

◆ LinearIVUses

SmallPtrSet<Value *, 4> FlattenInfo::LinearIVUses

Definition at line 87 of file LoopFlatten.cpp.

Referenced by checkIVUsers(), checkOverflow(), and DoFlattenLoopPair().

◆ OuterBranch

BranchInst* FlattenInfo::OuterBranch = nullptr

Definition at line 86 of file LoopFlatten.cpp.

Referenced by CanFlattenLoopPair(), and DoFlattenLoopPair().

◆ OuterIncrement

BinaryOperator* FlattenInfo::OuterIncrement = nullptr

Definition at line 84 of file LoopFlatten.cpp.

Referenced by CanFlattenLoopPair(), and checkIVUsers().

◆ OuterInductionPHI

PHINode* FlattenInfo::OuterInductionPHI = nullptr

◆ OuterLoop

Loop* FlattenInfo::OuterLoop = nullptr

◆ OuterTripCount

Value* FlattenInfo::OuterTripCount = nullptr

Definition at line 82 of file LoopFlatten.cpp.

Referenced by CanFlattenLoopPair(), checkOverflow(), and DoFlattenLoopPair().

◆ Widened

bool FlattenInfo::Widened = false

Definition at line 91 of file LoopFlatten.cpp.

Referenced by CanFlattenLoopPair(), CanWidenIV(), checkIVUsers(), and DoFlattenLoopPair().


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