LLVM 24.0.0git
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 MachineInstr * MI0
 First instruction involved in the LOH.
const MachineInstr * MI1
 Second instruction involved in the LOH (if any).
const MachineInstr * LastADRP
 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 256 of file AArch64CollectLOH.cpp.

Member Data Documentation

◆ IsCandidate

unsigned LOHInfo::IsCandidate

Possible LOH candidate.

Definition at line 259 of file AArch64CollectLOH.cpp.

Referenced by handleMiddleInst().

◆ LastADRP

const MachineInstr* LOHInfo::LastADRP

Last ADRP in same register.

Definition at line 267 of file AArch64CollectLOH.cpp.

Referenced by handleMiddleInst().

◆ MI0

const MachineInstr* LOHInfo::MI0

First instruction involved in the LOH.

Definition at line 264 of file AArch64CollectLOH.cpp.

◆ MI1

const MachineInstr* LOHInfo::MI1

Second instruction involved in the LOH (if any).

Definition at line 265 of file AArch64CollectLOH.cpp.

◆ MultiUsers

unsigned LOHInfo::MultiUsers

Found multiple users.

Definition at line 263 of file AArch64CollectLOH.cpp.

Referenced by handleADRP().

◆ OneUser

unsigned LOHInfo::OneUser

Found exactly one user (yet).

Definition at line 261 of file AArch64CollectLOH.cpp.

Referenced by handleADRP(), and handleMiddleInst().

◆ Type

MCLOHType LOHInfo::Type

"Best" type of LOH possible.

Definition at line 257 of file AArch64CollectLOH.cpp.


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