|
LLVM
5.0.0
|
A DomainValue is a bit like LiveIntervals' ValNo, but it also keeps track of execution domains. More...
#include "llvm/CodeGen/ExecutionDepsFix.h"
Public Member Functions | |
| DomainValue () | |
| bool | isCollapsed () const |
| bool | hasDomain (unsigned domain) const |
| void | addDomain (unsigned domain) |
| void | setSingleDomain (unsigned domain) |
| unsigned | getCommonDomains (unsigned mask) const |
| unsigned | getFirstDomain () const |
| void | clear () |
Public Attributes | |
| unsigned | Refs = 0 |
| unsigned | AvailableDomains |
| DomainValue * | Next |
| SmallVector< MachineInstr *, 8 > | Instrs |
A DomainValue is a bit like LiveIntervals' ValNo, but it also keeps track of execution domains.
An open DomainValue represents a set of instructions that can still switch execution domain. Multiple registers may refer to the same open DomainValue - they will eventually be collapsed to the same execution domain.
A collapsed DomainValue represents a single register that has been forced into one of more execution domains. There is a separate collapsed DomainValue for each register, but it may contain multiple execution domains. A register value is initially created in a single execution domain, but if we were forced to pay the penalty of a domain crossing, we keep track of the fact that the register is now available in multiple domains.
Definition at line 62 of file ExecutionDepsFix.h.
|
inline |
Definition at line 79 of file ExecutionDepsFix.h.
References clear().
|
inline |
Definition at line 94 of file ExecutionDepsFix.h.
References AvailableDomains.
|
inline |
Definition at line 114 of file ExecutionDepsFix.h.
References AvailableDomains, Instrs, and Next.
Referenced by DomainValue().
Definition at line 104 of file ExecutionDepsFix.h.
References AvailableDomains.
|
inline |
Definition at line 109 of file ExecutionDepsFix.h.
References AvailableDomains, and llvm::countTrailingZeros().
Definition at line 86 of file ExecutionDepsFix.h.
References assert(), and AvailableDomains.
|
inline |
Definition at line 83 of file ExecutionDepsFix.h.
References Instrs.
|
inline |
Definition at line 99 of file ExecutionDepsFix.h.
References AvailableDomains.
| unsigned llvm::DomainValue::AvailableDomains |
Definition at line 69 of file ExecutionDepsFix.h.
Referenced by addDomain(), clear(), getCommonDomains(), getFirstDomain(), hasDomain(), and setSingleDomain().
| SmallVector<MachineInstr*, 8> llvm::DomainValue::Instrs |
Definition at line 77 of file ExecutionDepsFix.h.
Referenced by clear(), and isCollapsed().
| DomainValue* llvm::DomainValue::Next |
Definition at line 74 of file ExecutionDepsFix.h.
Referenced by clear().
| unsigned llvm::DomainValue::Refs = 0 |
Definition at line 64 of file ExecutionDepsFix.h.
1.8.6