Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DInterferenceCache.cpp72 RegUnits[i].VirtTag = LIUArray[*Units].getTag(); in revalidate()
87 RegUnits.clear(); in reset()
89 RegUnits.push_back(LIUArray[*Units]); in reset()
90 RegUnits.back().Fixed = &LIS->getRegUnit(*Units); in reset()
96 unsigned i = 0, e = RegUnits.size(); in valid()
100 if (LIUArray[*Units].changedSince(RegUnits[i].VirtTag)) in valid()
113 for (unsigned i = 0, e = RegUnits.size(); i != e; ++i) { in update()
114 RegUnitInfo &RUI = RegUnits[i]; in update()
119 for (unsigned i = 0, e = RegUnits.size(); i != e; ++i) { in update()
120 RegUnitInfo &RUI = RegUnits[i]; in update()
[all …]
DMachineTraceMetrics.cpp608 SparseSet<LiveRegUnit> &RegUnits, in updatePhysDepsDownwards() argument
631 SparseSet<LiveRegUnit>::iterator I = RegUnits.find(*Units); in updatePhysDepsDownwards()
632 if (I == RegUnits.end()) in updatePhysDepsDownwards()
643 RegUnits.erase(*Units); in updatePhysDepsDownwards()
650 LiveRegUnit &LRU = RegUnits[*Units]; in updatePhysDepsDownwards()
709 SparseSet<LiveRegUnit> RegUnits; in computeInstrDepths() local
710 RegUnits.setUniverse(MTM.TRI->getNumRegUnits()); in computeInstrDepths()
734 updatePhysDepsDownwards(UseMI, Deps, RegUnits, MTM.TRI); in computeInstrDepths()
773 SparseSet<LiveRegUnit> &RegUnits, in updatePhysDepsUpwards() argument
791 SparseSet<LiveRegUnit>::iterator I = RegUnits.find(*Units); in updatePhysDepsUpwards()
[all …]
DInterferenceCache.h87 SmallVector<RegUnitInfo, 4> RegUnits; variable
/external/llvm/utils/TableGen/
DCodeGenRegisters.h174 const RegUnitList &getRegUnits() const { return RegUnits; } in getRegUnits()
178 return makeArrayRef(RegUnits).slice(0, NumNativeRegUnits); in getNativeRegUnits()
187 void adoptRegUnit(unsigned RUID) { RegUnits.push_back(RUID); } in adoptRegUnit()
225 RegUnitList RegUnits; member
353 void buildRegUnitSet(std::vector<unsigned> &RegUnits) const;
454 SmallVector<RegUnit, 8> RegUnits; variable
562 RegUnits.resize(RegUnits.size() + 1);
563 RegUnits.back().Roots[0] = R0;
564 RegUnits.back().Roots[1] = R1;
565 return RegUnits.size() - 1;
[all …]
DCodeGenRegisters.cpp199 static bool hasRegUnit(CodeGenRegister::RegUnitList &RegUnits, unsigned Unit) { in hasRegUnit() argument
200 return std::count(RegUnits.begin(), RegUnits.end(), Unit); in hasRegUnit()
206 unsigned OldNumUnits = RegUnits.size(); in inheritRegUnits()
211 mergeRegUnits(RegUnits, SR->RegUnits); in inheritRegUnits()
213 return OldNumUnits != RegUnits.size(); in inheritRegUnits()
357 unsigned N = RegUnits.size(); in computeSubRegs()
358 RegUnits.append(SR->RegUnits.begin(), SR->RegUnits.end()); in computeSubRegs()
359 std::inplace_merge(RegUnits.begin(), RegUnits.begin() + N, RegUnits.end()); in computeSubRegs()
361 RegUnits.erase(std::unique(RegUnits.begin(), RegUnits.end()), RegUnits.end()); in computeSubRegs()
380 RegUnits.push_back(Unit); in computeSubRegs()
[all …]
DRegisterInfoEmitter.cpp177 std::vector<unsigned> RegUnits; in EmitRegUnitPressure() local
178 RC.buildRegUnitSet(RegUnits); in EmitRegUnitPressure()
180 << ", " << RegBank.getRegUnitSetWeight(RegUnits); in EmitRegUnitPressure()
240 const RegUnitSet &RegUnits = RegBank.getRegPressureSet(i); in EmitRegUnitPressure() local
241 OS << " " << RegBank.getRegUnitSetWeight(RegUnits.Units) in EmitRegUnitPressure()
242 << ", \t// " << i << ": " << RegUnits.Name << "\n"; in EmitRegUnitPressure()
/external/llvm/include/llvm/MC/
DMCRegisterInfo.h124 uint32_t RegUnits; member
484 unsigned RU = MCRI->get(Reg).RegUnits; in MCRegUnitIterator()