LLVM  8.0.1
Public Attributes | List of all members
LOHInfo Struct Reference

State tracked per register. More...

Collaboration diagram for LOHInfo:
Collaboration graph
[legend]

Public Attributes

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

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 278 of file AArch64CollectLOH.cpp.

Member Data Documentation

◆ IsCandidate

bool LOHInfo::IsCandidate

Possible LOH candidate.

Definition at line 280 of file AArch64CollectLOH.cpp.

Referenced by handleADRP(), handleClobber(), handleMiddleInst(), and handleUse().

◆ LastADRP

const MachineInstr* LOHInfo::LastADRP

Last ADRP in same register.

Definition at line 286 of file AArch64CollectLOH.cpp.

Referenced by handleADRP(), handleClobber(), and handleMiddleInst().

◆ MI0

const MachineInstr* LOHInfo::MI0

First instruction involved in the LOH.

Definition at line 283 of file AArch64CollectLOH.cpp.

Referenced by handleADRP(), and handleUse().

◆ MI1

const MachineInstr* LOHInfo::MI1

Second instruction involved in the LOH (if any).

Definition at line 284 of file AArch64CollectLOH.cpp.

Referenced by handleADRP(), handleMiddleInst(), and handleUse().

◆ MultiUsers

bool LOHInfo::MultiUsers

Found multiple users.

Definition at line 282 of file AArch64CollectLOH.cpp.

Referenced by handleClobber(), and handleUse().

◆ OneUser

bool LOHInfo::OneUser

Found exactly one user (yet).

Definition at line 281 of file AArch64CollectLOH.cpp.

Referenced by handleClobber(), handleMiddleInst(), and handleUse().

◆ Type

MCLOHType LOHInfo::Type

"Best" type of LOH possible.

Definition at line 279 of file AArch64CollectLOH.cpp.

Referenced by handleADRP(), handleMiddleInst(), and handleUse().


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