LLVM 20.0.0git
Public Attributes | List of all members
LOHInfo Struct Reference

State tracked per register. More...

Public Attributes

MCLOHType Type: 8
 "Best" type of LOH possible.
 
bool IsCandidate: 1
 Possible LOH candidate.
 
bool OneUser: 1
 Found exactly one user (yet).
 
bool MultiUsers: 1
 Found multiple users.
 
const MachineInstrMI0
 First instruction involved in the LOH.
 
const MachineInstrMI1
 Second instruction involved in the LOH (if any).
 
const MachineInstrLastADRP
 Last ADRP in same register.
 

Detailed Description

State tracked per register.

The main algorithm walks backwards over a basic block maintaining this datastructure for each tracked general purpose register.

Definition at line 273 of file AArch64CollectLOH.cpp.

Member Data Documentation

◆ IsCandidate

bool LOHInfo::IsCandidate

Possible LOH candidate.

Definition at line 275 of file AArch64CollectLOH.cpp.

Referenced by handleMiddleInst().

◆ LastADRP

const MachineInstr* LOHInfo::LastADRP

Last ADRP in same register.

Definition at line 281 of file AArch64CollectLOH.cpp.

Referenced by handleMiddleInst().

◆ MI0

const MachineInstr* LOHInfo::MI0

First instruction involved in the LOH.

Definition at line 278 of file AArch64CollectLOH.cpp.

◆ MI1

const MachineInstr* LOHInfo::MI1

Second instruction involved in the LOH (if any).

Definition at line 279 of file AArch64CollectLOH.cpp.

Referenced by handleMiddleInst().

◆ MultiUsers

bool LOHInfo::MultiUsers

Found multiple users.

Definition at line 277 of file AArch64CollectLOH.cpp.

Referenced by handleADRP().

◆ OneUser

bool LOHInfo::OneUser

Found exactly one user (yet).

Definition at line 276 of file AArch64CollectLOH.cpp.

Referenced by handleADRP(), and handleMiddleInst().

◆ Type

MCLOHType LOHInfo::Type

"Best" type of LOH possible.

Definition at line 274 of file AArch64CollectLOH.cpp.

Referenced by handleMiddleInst().


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