Home
last modified time | relevance | path

Searched refs:Units (Results 1 – 25 of 111) sorted by relevance

12345

/third_party/mesa3d/src/freedreno/ds/
Dfd_pps_driver.cc123 counter("GPU Frequency", Counter::Units::Hertz, [=]() { in setup_a6xx_counters()
128 counter("GPU % Utilization", Counter::Units::Percent, [=]() { in setup_a6xx_counters()
133 counter("TP L1 Cache Misses", Counter::Units::None, [=]() { in setup_a6xx_counters()
138 counter("Shader Core Utilization", Counter::Units::Percent, [=]() { in setup_a6xx_counters()
144 counter("(?) % Texture Fetch Stall", Counter::Units::Percent, [=]() { in setup_a6xx_counters()
150 counter("(?) % Vertex Fetch Stall", Counter::Units::Percent, [=]() { in setup_a6xx_counters()
155 counter("L1 Texture Cache Miss Per Pixel", Counter::Units::None, [=]() { in setup_a6xx_counters()
160 counter("% Texture L1 Miss", Counter::Units::Percent, [=]() { in setup_a6xx_counters()
165 counter("% Texture L2 Miss", Counter::Units::Percent, [=]() { in setup_a6xx_counters()
171 counter("(?) % Stalled on System Memory", Counter::Units::Percent, [=]() { in setup_a6xx_counters()
[all …]
Dfd_pps_driver.h128 DerivedCounter(FreedrenoDriver *d, std::string name, Counter::Units units,
132 DerivedCounter counter(std::string name, Counter::Units units,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DLiveRegUnits.h32 BitVector Units; variable
76 Units.reset(); in init()
77 Units.resize(TRI.getNumRegUnits()); in init()
81 void clear() { Units.reset(); } in clear()
84 bool empty() const { return Units.none(); } in empty()
89 Units.set(*Unit); in addReg()
98 Units.set((*Unit).first); in addRegMasked()
105 Units.reset(*Unit); in removeReg()
119 if (Units.test(*Unit)) in available()
146 Units |= RegUnits; in addUnits()
[all …]
DLiveIntervals.h426 for (MCRegUnitIterator Units(Reg, TRI); Units.isValid(); ++Units) in removeAllRegUnitsForPhysReg()
427 removeRegUnit(*Units); in removeAllRegUnitsForPhysReg()
DTargetRegisterInfo.h398 for (MCRegUnitIterator Units(Reg, this); Units.isValid(); ++Units) in hasRegUnit()
399 if (*Units == RegUnit) in hasRegUnit()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLiveRegMatrix.cpp84 for (MCRegUnitMaskIterator Units(PhysReg, TRI); Units.isValid(); ++Units) { in foreachUnit() local
85 unsigned Unit = (*Units).first; in foreachUnit()
86 LaneBitmask Mask = (*Units).second; in foreachUnit()
96 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) { in foreachUnit() local
97 if (Func(*Units, VRegInterval)) in foreachUnit()
218 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) { in checkInterference() local
219 if (query(LR, *Units).checkInterference()) in checkInterference()
DInterferenceCache.cpp100 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units, ++i) in revalidate() local
101 RegUnits[i].VirtTag = LIUArray[*Units].getTag(); in revalidate()
117 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) { in reset() local
118 RegUnits.push_back(LIUArray[*Units]); in reset()
119 RegUnits.back().Fixed = &LIS->getRegUnit(*Units); in reset()
126 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units, ++i) { in valid() local
129 if (LIUArray[*Units].changedSince(RegUnits[i].VirtTag)) in valid()
DMachineTraceMetrics.cpp726 for (MCRegUnitIterator Units(Reg, TRI); Units.isValid(); ++Units) { in updatePhysDepsDownwards() local
727 SparseSet<LiveRegUnit>::iterator I = RegUnits.find(*Units); in updatePhysDepsDownwards()
738 for (MCRegUnitIterator Units(Kill, TRI); Units.isValid(); ++Units) in updatePhysDepsDownwards() local
739 RegUnits.erase(*Units); in updatePhysDepsDownwards()
743 for (MCRegUnitIterator Units(UseMI->getOperand(DefOp).getReg(), TRI); in updatePhysDepsDownwards() local
744 Units.isValid(); ++Units) { in updatePhysDepsDownwards()
745 LiveRegUnit &LRU = RegUnits[*Units]; in updatePhysDepsDownwards()
915 for (MCRegUnitIterator Units(Reg, TRI); Units.isValid(); ++Units) { in updatePhysDepsUpwards() local
916 SparseSet<LiveRegUnit>::iterator I = RegUnits.find(*Units); in updatePhysDepsUpwards()
935 for (MCRegUnitIterator Units(Reg, TRI); Units.isValid(); ++Units) { in updatePhysDepsUpwards() local
[all …]
DEarlyIfConversion.cpp267 for (MCRegUnitIterator Units(Reg, TRI); Units.isValid(); ++Units) in InstrDependenciesAllowIfConv() local
268 ClobberedRegUnits.set(*Units); in InstrDependenciesAllowIfConv()
388 for (MCRegUnitIterator Units(Reg, TRI); Units.isValid(); ++Units) in findInsertionPoint() local
389 LiveRegUnits.erase(*Units); in findInsertionPoint()
396 for (MCRegUnitIterator Units(Reads.pop_back_val(), TRI); Units.isValid(); in findInsertionPoint() local
397 ++Units) in findInsertionPoint()
398 if (ClobberedRegUnits.test(*Units)) in findInsertionPoint()
399 LiveRegUnits.insert(*Units); in findInsertionPoint()
DRegAllocGreedy.cpp816 MCRegUnitIterator Units(PhysReg, TRI); in canReassign() local
817 for (; Units.isValid(); ++Units) { in canReassign()
819 LiveIntervalUnion::Query subQ(VirtReg, Matrix->getLiveUnions()[*Units]); in canReassign()
824 if (!Units.isValid()) in canReassign()
893 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) { in canEvictInterference() local
894 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, *Units); in canEvictInterference()
975 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) { in canEvictInterferenceInRange() local
976 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, *Units); in canEvictInterferenceInRange()
1062 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) { in evictInterference() local
1063 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, *Units); in evictInterference()
[all …]
DRegAllocBasic.cpp211 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) { in spillInterferences() local
212 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, *Units); in spillInterferences()
DLiveRegUnits.cpp30 Units.reset(U); in removeRegsNotPreserved()
39 Units.set(U); in addRegsInMask()
DRegAllocFast.cpp144 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) in markRegUsedInInstr() local
145 UsedInInstr.insert(*Units); in markRegUsedInInstr()
150 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) in isRegUsedInInstr() local
151 if (UsedInInstr.count(*Units)) in isRegUsedInInstr()
/third_party/skia/modules/skottie/src/text/
DRangeSelector.cpp46 template <RangeSelector::Units>
50 struct UnitTraits<RangeSelector::Units::kPercentage> {
62 struct UnitTraits<RangeSelector::Units::kIndex> {
256 static constexpr Units gUnitMap[] = { in Make()
257 Units::kPercentage, // 'r': 1 in Make()
258 Units::kIndex, // 'r': 2 in Make()
282 new RangeSelector(ParseEnum<Units> (gUnitMap , (*jrange)["r" ], abuilder, "units" ), in Make()
302 RangeSelector::RangeSelector(Units u, Domain d, Mode m, Shape sh) in RangeSelector()
310 case Units::kPercentage: in RangeSelector()
311 std::tie(fStart, fEnd, fOffset) = UnitTraits<Units::kPercentage>::Defaults(); in RangeSelector()
[all …]
DRangeSelector.h27 enum class Units : uint8_t { enum
60 RangeSelector(Units, Domain, Mode, Shape);
65 const Units fUnits;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DRDFRegisters.cpp93 MaskInfos[M].Units = PU.flip(); in PhysicalRegisterInfo()
242 return Units.anyCommon(PRI.getMaskUnits(RR.Reg)); in hasAliasOf()
247 if (Units.test(P.first)) in hasAliasOf()
256 return T.reset(Units).none(); in hasCoverOf()
262 if (!Units.test(P.first)) in hasCoverOf()
270 Units |= PRI.getMaskUnits(RR.Reg); in insert()
277 Units.set(P.first); in insert()
283 Units |= RG.Units; in insert()
292 Units &= RG.Units; in intersect()
301 Units.reset(RG.Units); in clear()
[all …]
DRDFRegisters.h128 return MaskInfos[Register::stackSlot2Index(MaskId)].Units; in getMaskUnits()
143 BitVector Units; member
159 : Units(pri.getTRI().getNumRegUnits()), PRI(pri) {} in RegisterAggr()
162 bool empty() const { return Units.none(); } in empty()
225 BitVector Units;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonShuffler.cpp93 unsigned Units = getUnits(); in setWeight() local
94 unsigned Key = ((1u << s) & Units) != 0; in setWeight()
99 if (Key == 0 || Units == 0 || (SlotWeight * s >= 32)) in setWeight()
102 unsigned Ctpop = countPopulation(Units); in setWeight()
103 unsigned Cttz = countTrailingZeros(Units); in setWeight()
168 unsigned Units; member
183 if (!hvxInsts[startIdx].Units) in checkHVXPipes()
186 if ((hvxInsts[startIdx].Units & b) == 0) in checkHVXPipes()
242 unsigned Units = ISJ->Core.getUnits(); in restrictSlot1AOK() local
243 if (Units & 2U) { in restrictSlot1AOK()
[all …]
/third_party/json/tests/thirdparty/Fuzzer/test/
DFuzzerUnittest.cpp553 std::vector<Unit> Units; in TEST() local
554 EXPECT_FALSE(ParseDictionaryFile("zzz\n", &Units)); in TEST()
555 EXPECT_FALSE(ParseDictionaryFile("", &Units)); in TEST()
556 EXPECT_TRUE(ParseDictionaryFile("\n", &Units)); in TEST()
557 EXPECT_EQ(Units.size(), 0U); in TEST()
558 EXPECT_TRUE(ParseDictionaryFile("#zzzz a b c d\n", &Units)); in TEST()
559 EXPECT_EQ(Units.size(), 0U); in TEST()
560 EXPECT_TRUE(ParseDictionaryFile(" #zzzz\n", &Units)); in TEST()
561 EXPECT_EQ(Units.size(), 0U); in TEST()
562 EXPECT_TRUE(ParseDictionaryFile(" #zzzz\n", &Units)); in TEST()
[all …]
/third_party/mesa3d/src/tool/pps/
Dpps_counter.h37 enum class Units { enum
88 Units units;
Dpps_datasource.cc197 case Counter::Units::Percent: in add_descriptors()
200 case Counter::Units::Byte: in add_descriptors()
203 case Counter::Units::Hertz: in add_descriptors()
206 case Counter::Units::None: in add_descriptors()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCVSXFMAMutate.cpp319 for (MCRegUnitIterator Units(AddendSrcReg, TRI); Units.isValid(); in processBlock() local
320 ++Units) { in processBlock()
321 unsigned Unit = *Units; in processBlock()
/third_party/json/tests/thirdparty/Fuzzer/
DFuzzerUtil.cpp127 bool ParseDictionaryFile(const std::string &Text, std::vector<Unit> *Units) { in ParseDictionaryFile() argument
133 Units->clear(); in ParseDictionaryFile()
144 Units->push_back(U); in ParseDictionaryFile()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64A57FPLoadBalancing.cpp500 LiveRegUnits Units(*TRI); in scavengeRegister() local
501 Units.addLiveOuts(MBB); in scavengeRegister()
506 Units.stepBackward(*I); in scavengeRegister()
514 Units.accumulate(*I); in scavengeRegister()
521 if (!Units.available(Reg)) in scavengeRegister()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFoldingSet.cpp91 unsigned Units = Size / 4; in AddString() local
97 Bits.append(Base, Base + Units); in AddString()
98 Pos = (Units + 1) * 4; in AddString()

12345