Home
last modified time | relevance | path

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

123456789

/external/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 …]
/external/llvm-project/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 …]
DRDFRegisters.h131 return MaskInfos[Register::stackSlot2Index(MaskId)].Units; in getMaskUnits()
150 BitVector Units; member
170 : Units(pri.getTRI().getNumRegUnits()), PRI(pri) {} in RegisterAggr()
173 unsigned count() const { return Units.count(); } in count()
174 bool empty() const { return Units.none(); } in empty()
179 return DenseMapInfo<BitVector>::isEqual(Units, A.Units);
199 return DenseMapInfo<BitVector>::getHashValue(Units); in hash()
245 BitVector Units;
/external/llvm/lib/CodeGen/
DLiveRegMatrix.cpp77 for (MCRegUnitMaskIterator Units(PhysReg, TRI); Units.isValid(); ++Units) { in foreachUnit() local
78 unsigned Unit = (*Units).first; in foreachUnit()
79 LaneBitmask Mask = (*Units).second; in foreachUnit()
89 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) { in foreachUnit() local
90 if (Func(*Units, VRegInterval)) in foreachUnit()
192 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) in checkInterference() local
193 if (query(VirtReg, *Units).checkInterference()) in checkInterference()
DInterferenceCache.cpp89 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units, ++i) in revalidate() local
90 RegUnits[i].VirtTag = LIUArray[*Units].getTag(); in revalidate()
106 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) { in reset() local
107 RegUnits.push_back(LIUArray[*Units]); in reset()
108 RegUnits.back().Fixed = &LIS->getRegUnit(*Units); in reset()
115 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units, ++i) { in valid() local
118 if (LIUArray[*Units].changedSince(RegUnits[i].VirtTag)) in valid()
DEarlyIfConversion.cpp240 for (MCRegUnitIterator Units(Reg, TRI); Units.isValid(); ++Units) in canSpeculateInstrs() local
241 ClobberedRegUnits.set(*Units); in canSpeculateInstrs()
296 for (MCRegUnitIterator Units(Reg, TRI); Units.isValid(); ++Units) in findInsertionPoint() local
297 LiveRegUnits.erase(*Units); in findInsertionPoint()
304 for (MCRegUnitIterator Units(Reads.pop_back_val(), TRI); Units.isValid(); in findInsertionPoint() local
305 ++Units) in findInsertionPoint()
306 if (ClobberedRegUnits.test(*Units)) in findInsertionPoint()
307 LiveRegUnits.insert(*Units); in findInsertionPoint()
DMachineTraceMetrics.cpp720 for (MCRegUnitIterator Units(Reg, TRI); Units.isValid(); ++Units) { in updatePhysDepsDownwards() local
721 SparseSet<LiveRegUnit>::iterator I = RegUnits.find(*Units); in updatePhysDepsDownwards()
732 for (MCRegUnitIterator Units(Kill, TRI); Units.isValid(); ++Units) in updatePhysDepsDownwards() local
733 RegUnits.erase(*Units); in updatePhysDepsDownwards()
737 for (MCRegUnitIterator Units(UseMI->getOperand(DefOp).getReg(), TRI); in updatePhysDepsDownwards() local
738 Units.isValid(); ++Units) { in updatePhysDepsDownwards()
739 LiveRegUnit &LRU = RegUnits[*Units]; in updatePhysDepsDownwards()
890 for (MCRegUnitIterator Units(Reg, TRI); Units.isValid(); ++Units) { in updatePhysDepsUpwards() local
891 SparseSet<LiveRegUnit>::iterator I = RegUnits.find(*Units); in updatePhysDepsUpwards()
910 for (MCRegUnitIterator Units(Reg, TRI); Units.isValid(); ++Units) { in updatePhysDepsUpwards() local
[all …]
/external/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()
/external/llvm-project/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()
DRDFRegisters.cpp93 MaskInfos[M].Units = PU.flip(); in PhysicalRegisterInfo()
247 return Units.anyCommon(PRI.getMaskUnits(RR.Reg)); in hasAliasOf()
252 if (Units.test(P.first)) in hasAliasOf()
261 return T.reset(Units).none(); in hasCoverOf()
267 if (!Units.test(P.first)) in hasCoverOf()
275 Units |= PRI.getMaskUnits(RR.Reg); in insert()
282 Units.set(P.first); in insert()
288 Units |= RG.Units; in insert()
297 Units &= RG.Units; in intersect()
306 Units.reset(RG.Units); in clear()
[all …]
DInterferenceCache.cpp96 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units, ++i) in revalidate() local
97 RegUnits[i].VirtTag = LIUArray[*Units].getTag(); in revalidate()
113 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) { in reset() local
114 RegUnits.push_back(LIUArray[*Units]); in reset()
115 RegUnits.back().Fixed = &LIS->getRegUnit(*Units); in reset()
122 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units, ++i) { in valid() local
125 if (LIUArray[*Units].changedSince(RegUnits[i].VirtTag)) in valid()
/external/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;
/external/cldr/tools/java/org/unicode/cldr/util/data/
DPathHeader.txt173 ### Units
175 //ldml/localeDisplayNames/measurementSystemNames/measurementSystemName[@type="%A"] ; Units ; Measur…
177 …"%L"]/unit[@type="duration-%A"]/displayName ; Units ; Duration ; &date…
178 …type="%L"]/unit[@type="duration-%A"]/gender ; Units ; Duration ; &date…
179 …type="duration-%A"]/unitPattern[@count="%A"][@case="%A"] ; Units ; Duration ; &date…
180 …"%L"]/unit[@type="duration-%A"]/unitPattern[@count="%A"] ; Units ; Duration ; &date…
181 …"%L"]/unit[@type="duration-%A"]/perUnitPattern ; Units ; Duration ; &date…
183 …L"]/unit[@type="graphics-%A"]/displayName ; Units ; Graphics ; &unit…
184 …pe="%L"]/unit[@type="graphics-%A"]/gender ; Units ; Graphics ; &unit…
185 …pe="graphics-%A"]/unitPattern[@count="%A"][@case="%A"] ; Units ; Graphics ; &unit…
[all …]
/external/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;
/external/llvm-project/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()
116 const unsigned Units = HexagonConvertUnits(ItinUnits, &Lanes); in HexagonCVIResource() local
118 if (Units == 0 && Lanes == 0) { in HexagonCVIResource()
128 setUnits(Units); in HexagonCVIResource()
136 unsigned Units; member
151 if (!hvxInsts[startIdx].Units) in checkHVXPipes()
[all …]
/external/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 …]
/external/llvm/lib/Fuzzer/test/
DFuzzerUnittest.cpp398 std::vector<Unit> Units; in TEST() local
399 EXPECT_FALSE(ParseDictionaryFile("zzz\n", &Units)); in TEST()
400 EXPECT_FALSE(ParseDictionaryFile("", &Units)); in TEST()
401 EXPECT_TRUE(ParseDictionaryFile("\n", &Units)); in TEST()
402 EXPECT_EQ(Units.size(), 0U); in TEST()
403 EXPECT_TRUE(ParseDictionaryFile("#zzzz a b c d\n", &Units)); in TEST()
404 EXPECT_EQ(Units.size(), 0U); in TEST()
405 EXPECT_TRUE(ParseDictionaryFile(" #zzzz\n", &Units)); in TEST()
406 EXPECT_EQ(Units.size(), 0U); in TEST()
407 EXPECT_TRUE(ParseDictionaryFile(" #zzzz\n", &Units)); in TEST()
[all …]
/external/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugMacro.h113 Error parseMacro(DWARFUnitVector::compile_unit_range Units, in parseMacro() argument
116 return parseImpl(Units, StringExtractor, MacroData, /*IsMacro=*/true); in parseMacro()
129 Error parseImpl(Optional<DWARFUnitVector::compile_unit_range> Units,
/external/llvm/utils/TableGen/
DCodeGenRegisters.cpp1530 if (I->Units == Set.Units) in findRegUnitSet()
1573 unsigned UnitWeight = RegUnits[SubSet.Units[0]].Weight; in pruneUnitSets()
1575 if (isRegUnitSubSet(SubSet.Units, SuperSet.Units) in pruneUnitSets()
1576 && (SubSet.Units.size() + 3 > SuperSet.Units.size()) in pruneUnitSets()
1577 && UnitWeight == RegUnits[SuperSet.Units[0]].Weight in pruneUnitSets()
1578 && UnitWeight == RegUnits[SuperSet.Units.back()].Weight) { in pruneUnitSets()
1598 PrunedUnitSets[i].Units.swap(RegUnitSets[SuperIdx].Units); in pruneUnitSets()
1624 RC.buildRegUnitSet(RegUnitSets.back().Units); in computeRegUnitSets()
1638 for (auto &U : RegUnitSets[USIdx].Units) in computeRegUnitSets()
1651 for (auto &U : RegUnitSets[USIdx].Units) in computeRegUnitSets()
[all …]
/external/llvm-project/llvm/utils/TableGen/
DCodeGenRegisters.cpp1815 if (I->Units == Set.Units) in findRegUnitSet()
1858 unsigned UnitWeight = RegUnits[SubSet.Units[0]].Weight; in pruneUnitSets()
1860 if (isRegUnitSubSet(SubSet.Units, SuperSet.Units) in pruneUnitSets()
1861 && (SubSet.Units.size() + 3 > SuperSet.Units.size()) in pruneUnitSets()
1862 && UnitWeight == RegUnits[SuperSet.Units[0]].Weight in pruneUnitSets()
1863 && UnitWeight == RegUnits[SuperSet.Units.back()].Weight) { in pruneUnitSets()
1883 PrunedUnitSets[i].Units.swap(RegUnitSets[SuperIdx].Units); in pruneUnitSets()
1909 RC.buildRegUnitSet(*this, RegUnitSets.back().Units); in computeRegUnitSets()
1922 for (auto &U : RegUnitSets[USIdx].Units) in computeRegUnitSets()
1934 for (auto &U : RegUnitSets[USIdx].Units) in computeRegUnitSets()
[all …]

123456789