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

State tracked per register. More...

Collaboration diagram for LOHInfo:
[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 MachineInstr * MI0
 First instruction involved in the LOH. More...
 
const MachineInstr * MI1
 Second instruction involved in the LOH (if any). More...
 
const MachineInstr * LastADRP
 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 282 of file AArch64CollectLOH.cpp.

Member Data Documentation

bool LOHInfo::IsCandidate

Possible LOH candidate.

Definition at line 284 of file AArch64CollectLOH.cpp.

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

const MachineInstr* LOHInfo::LastADRP

Last ADRP in same register.

Definition at line 290 of file AArch64CollectLOH.cpp.

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

const MachineInstr* LOHInfo::MI0

First instruction involved in the LOH.

Definition at line 287 of file AArch64CollectLOH.cpp.

Referenced by handleADRP(), and handleUse().

const MachineInstr* LOHInfo::MI1

Second instruction involved in the LOH (if any).

Definition at line 288 of file AArch64CollectLOH.cpp.

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

bool LOHInfo::MultiUsers

Found multiple users.

Definition at line 286 of file AArch64CollectLOH.cpp.

Referenced by handleClobber(), and handleUse().

bool LOHInfo::OneUser

Found exactly one user (yet).

Definition at line 285 of file AArch64CollectLOH.cpp.

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

MCLOHType LOHInfo::Type

"Best" type of LOH possible.

Definition at line 283 of file AArch64CollectLOH.cpp.

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


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