OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:physReg
(Results
1 - 5
of
5
) sorted by null
/external/llvm/lib/CodeGen/
VirtRegMap.cpp
80
unsigned
physReg
= Hint.second;
81
if (TargetRegisterInfo::isVirtualRegister(
physReg
) && hasPhys(
physReg
))
82
physReg
= getPhys(
physReg
);
84
return (TargetRegisterInfo::isPhysicalRegister(
physReg
))
85
?
physReg
: 0;
86
return TRI->ResolveRegAllocHint(Hint.first,
physReg
, *MF);
138
unsigned
PhysReg
= getPhys(VirtReg);
139
assert(
PhysReg
!= NO_PHYS_REG && "Instruction uses unmapped VirtReg")
[
all
...]
VirtRegMap.h
105
void assignVirt2Phys(unsigned virtReg, unsigned
physReg
) {
107
TargetRegisterInfo::isPhysicalRegister(
physReg
));
111
Virt2PhysMap[virtReg] =
physReg
;
132
/// @brief returns true if VirtReg is assigned to its preferred
physreg
.
InterferenceCache.h
38
/// of
PhysReg
in all basic blocks.
40
///
PhysReg
- The register currently represented.
41
unsigned
PhysReg
;
63
///
PhysReg
.
78
Entry() :
PhysReg
(0), Tag(0), RefCount(0), Indexes(0), LIS(0) {}
82
PhysReg
= 0;
88
unsigned getPhysReg() const { return
PhysReg
; }
96
/// valid - Return true if this is a valid entry for
physReg
.
99
/// reset - Initialize entry to represent
physReg
's aliases.
100
void reset(unsigned
physReg
,
[
all
...]
InterferenceCache.cpp
38
InterferenceCache::Entry *InterferenceCache::get(unsigned
PhysReg
) {
39
unsigned E = PhysRegEntries[
PhysReg
];
40
if (E < CacheEntries && Entries[E].getPhysReg() ==
PhysReg
) {
56
Entries[E].reset(
PhysReg
, LIUArray, TRI, MF);
57
PhysRegEntries[
PhysReg
] = E;
73
void InterferenceCache::Entry::reset(unsigned
physReg
,
80
PhysReg
=
physReg
;
83
for (const uint16_t *AS = TRI->getOverlaps(
PhysReg
); *AS; ++AS) {
99
for (const uint16_t *AS = TRI->getOverlaps(
PhysReg
); *AS; ++AS, ++i)
[
all
...]
RegAllocPBQP.cpp
591
unsigned
physReg
= vrm->getRegAllocPref(li->reg);
593
if (
physReg
== 0) {
595
physReg
= liRC->getRawAllocationOrder(*mf).front();
598
vrm->assignVirt2Phys(li->reg,
physReg
);
632
// And add the
physreg
for this interval to their live-in sets.
Completed in 1171 milliseconds