LLVM  13.0.0git
Public Member Functions | Public Attributes | List of all members
WidenIV::NarrowIVDefUse Struct Reference

Record a link in the Narrow IV def-use chain along with the WideIV that computes the same value as the Narrow IV def. More...

Collaboration diagram for WidenIV::NarrowIVDefUse:
Collaboration graph
[legend]

Public Member Functions

 NarrowIVDefUse (Instruction *ND, Instruction *NU, Instruction *WD, bool NeverNegative)
 

Public Attributes

InstructionNarrowDef = nullptr
 
InstructionNarrowUse = nullptr
 
InstructionWideDef = nullptr
 
bool NeverNegative = false
 

Detailed Description

Record a link in the Narrow IV def-use chain along with the WideIV that computes the same value as the Narrow IV def.

This avoids caching Use* pointers.

Definition at line 1020 of file SimplifyIndVar.cpp.

Constructor & Destructor Documentation

◆ NarrowIVDefUse()

WidenIV::NarrowIVDefUse::NarrowIVDefUse ( Instruction ND,
Instruction NU,
Instruction WD,
bool  NeverNegative 
)
inline

Definition at line 1030 of file SimplifyIndVar.cpp.

Member Data Documentation

◆ NarrowDef

Instruction* WidenIV::NarrowIVDefUse::NarrowDef = nullptr

◆ NarrowUse

Instruction* WidenIV::NarrowIVDefUse::NarrowUse = nullptr

◆ NeverNegative

bool WidenIV::NarrowIVDefUse::NeverNegative = false

◆ WideDef

Instruction* WidenIV::NarrowIVDefUse::WideDef = nullptr

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