Home
last modified time | relevance | path

Searched refs:RegUnits (Results 1 – 9 of 9) sorted by relevance

/external/llvm/lib/CodeGen/
DInterferenceCache.cpp90 RegUnits[i].VirtTag = LIUArray[*Units].getTag(); in revalidate()
105 RegUnits.clear(); in reset()
107 RegUnits.push_back(LIUArray[*Units]); in reset()
108 RegUnits.back().Fixed = &LIS->getRegUnit(*Units); in reset()
114 unsigned i = 0, e = RegUnits.size(); in valid()
118 if (LIUArray[*Units].changedSince(RegUnits[i].VirtTag)) in valid()
131 for (unsigned i = 0, e = RegUnits.size(); i != e; ++i) { in update()
132 RegUnitInfo &RUI = RegUnits[i]; in update()
137 for (unsigned i = 0, e = RegUnits.size(); i != e; ++i) { in update()
138 RegUnitInfo &RUI = RegUnits[i]; in update()
[all …]
DRegisterPressure.cpp82 void RegPressureTracker::increaseRegPressure(ArrayRef<unsigned> RegUnits) { in increaseRegPressure() argument
83 for (unsigned i = 0, e = RegUnits.size(); i != e; ++i) { in increaseRegPressure()
84 PSetIterator PSetI = MRI->getPressureSets(RegUnits[i]); in increaseRegPressure()
96 void RegPressureTracker::decreaseRegPressure(ArrayRef<unsigned> RegUnits) { in decreaseRegPressure() argument
97 for (unsigned I = 0, E = RegUnits.size(); I != E; ++I) in decreaseRegPressure()
98 decreaseSetPressure(CurrSetPressure, MRI->getPressureSets(RegUnits[I])); in decreaseRegPressure()
303 static bool containsReg(ArrayRef<unsigned> RegUnits, unsigned RegUnit) { in containsReg() argument
304 return std::find(RegUnits.begin(), RegUnits.end(), RegUnit) != RegUnits.end(); in containsReg()
343 void pushRegUnits(unsigned Reg, SmallVectorImpl<unsigned> &RegUnits) { in pushRegUnits() argument
345 if (containsReg(RegUnits, Reg)) in pushRegUnits()
[all …]
DMachineTraceMetrics.cpp692 SparseSet<LiveRegUnit> &RegUnits, in updatePhysDepsDownwards() argument
715 SparseSet<LiveRegUnit>::iterator I = RegUnits.find(*Units); in updatePhysDepsDownwards()
716 if (I == RegUnits.end()) in updatePhysDepsDownwards()
727 RegUnits.erase(*Units); in updatePhysDepsDownwards()
734 LiveRegUnit &LRU = RegUnits[*Units]; in updatePhysDepsDownwards()
793 SparseSet<LiveRegUnit> RegUnits; in computeInstrDepths() local
794 RegUnits.setUniverse(MTM.TRI->getNumRegUnits()); in computeInstrDepths()
828 updatePhysDepsDownwards(&UseMI, Deps, RegUnits, MTM.TRI); in computeInstrDepths()
866 SparseSet<LiveRegUnit> &RegUnits, in updatePhysDepsUpwards() argument
884 SparseSet<LiveRegUnit>::iterator I = RegUnits.find(*Units); in updatePhysDepsUpwards()
[all …]
DInterferenceCache.h88 SmallVector<RegUnitInfo, 4> RegUnits; variable
/external/llvm/utils/TableGen/
DCodeGenRegisters.h208 const RegUnitList &getRegUnits() const { return RegUnits; } in getRegUnits()
229 void adoptRegUnit(unsigned RUID) { RegUnits.set(RUID); } in adoptRegUnit()
255 RegUnitList RegUnits; member
398 void buildRegUnitSet(std::vector<unsigned> &RegUnits) const;
499 SmallVector<RegUnit, 8> RegUnits; variable
621 RegUnits.resize(RegUnits.size() + 1);
622 RegUnits.back().Roots[0] = R0;
623 RegUnits.back().Roots[1] = R1;
624 return RegUnits.size() - 1;
630 RegUnits.resize(RegUnits.size() + 1); in newRegUnit()
[all …]
DCodeGenRegisters.cpp196 static bool hasRegUnit(CodeGenRegister::RegUnitList &RegUnits, unsigned Unit) { in hasRegUnit() argument
197 return RegUnits.test(Unit); in hasRegUnit()
208 changed |= (RegUnits |= SR->RegUnits); in inheritRegUnits()
360 RegUnits |= SR->RegUnits; in computeSubRegs()
380 RegUnits.set(Unit); in computeSubRegs()
381 AR->RegUnits.set(Unit); in computeSubRegs()
387 if (RegUnits.empty()) in computeSubRegs()
388 RegUnits.set(RegBank.newRegUnit(this)); in computeSubRegs()
392 NativeRegUnits = RegUnits; in computeSubRegs()
526 for (RegUnitList::iterator I = RegUnits.begin(), E = RegUnits.end(); in getWeight()
[all …]
DRegisterInfoEmitter.cpp187 std::vector<unsigned> RegUnits; in EmitRegUnitPressure() local
188 RC.buildRegUnitSet(RegUnits); in EmitRegUnitPressure()
190 << ", " << RegBank.getRegUnitSetWeight(RegUnits); in EmitRegUnitPressure()
239 const RegUnitSet &RegUnits = RegBank.getRegSetAt(i); in EmitRegUnitPressure() local
240 MaxRegUnitWeight = std::max(MaxRegUnitWeight, RegUnits.Weight); in EmitRegUnitPressure()
241 OS << " \"" << RegUnits.Name << "\",\n"; in EmitRegUnitPressure()
254 const RegUnitSet &RegUnits = RegBank.getRegSetAt(i); in EmitRegUnitPressure() local
255 OS << " " << RegUnits.Weight << ", \t// " << i << ": " in EmitRegUnitPressure()
256 << RegUnits.Name << "\n"; in EmitRegUnitPressure()
/external/llvm/include/llvm/CodeGen/
DRegisterScavenging.h166 void setUsed(BitVector &RegUnits) { in setUsed() argument
167 RegUnitsAvailable.reset(RegUnits); in setUsed()
169 void setUnused(BitVector &RegUnits) { in setUnused() argument
170 RegUnitsAvailable |= RegUnits; in setUnused()
/external/llvm/include/llvm/MC/
DMCRegisterInfo.h116 uint32_t RegUnits; member
542 unsigned RU = MCRI->get(Reg).RegUnits; in MCRegUnitIterator()