LLVM 22.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.
 
unsigned IsCandidate: 1
 Possible LOH candidate.
 
unsigned OneUser: 1
 Found exactly one user (yet).
 
unsigned 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 283 of file AArch64CollectLOH.cpp.

Member Data Documentation

◆ IsCandidate

unsigned LOHInfo::IsCandidate

Possible LOH candidate.

Definition at line 286 of file AArch64CollectLOH.cpp.

Referenced by handleMiddleInst().

◆ LastADRP

const MachineInstr* LOHInfo::LastADRP

Last ADRP in same register.

Definition at line 294 of file AArch64CollectLOH.cpp.

Referenced by handleMiddleInst().

◆ MI0

const MachineInstr* LOHInfo::MI0

First instruction involved in the LOH.

Definition at line 291 of file AArch64CollectLOH.cpp.

◆ MI1

const MachineInstr* LOHInfo::MI1

Second instruction involved in the LOH (if any).

Definition at line 292 of file AArch64CollectLOH.cpp.

Referenced by handleMiddleInst().

◆ MultiUsers

unsigned LOHInfo::MultiUsers

Found multiple users.

Definition at line 290 of file AArch64CollectLOH.cpp.

Referenced by handleADRP().

◆ OneUser

unsigned LOHInfo::OneUser

Found exactly one user (yet).

Definition at line 288 of file AArch64CollectLOH.cpp.

Referenced by handleADRP(), and handleMiddleInst().

◆ Type

MCLOHType LOHInfo::Type

"Best" type of LOH possible.

Definition at line 284 of file AArch64CollectLOH.cpp.

Referenced by handleMiddleInst().


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