Home
last modified time | relevance | path

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

123456

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DLiveRegUnits.h33 BitVector Units; variable
77 Units.reset(); in init()
78 Units.resize(TRI.getNumRegUnits()); in init()
82 void clear() { Units.reset(); } in clear()
85 bool empty() const { return Units.none(); } in empty()
90 Units.set(*Unit); in addReg()
99 Units.set((*Unit).first); in addRegMasked()
106 Units.reset(*Unit); in removeReg()
120 if (Units.test(*Unit)) in available()
147 Units |= RegUnits; in addUnits()
[all …]
/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 …]
DRegAllocGreedy.cpp669 MCRegUnitIterator Units(PhysReg, TRI); in canReassign() local
670 for (; Units.isValid(); ++Units) { in canReassign()
672 LiveIntervalUnion::Query subQ(&VirtReg, &Matrix->getLiveUnions()[*Units]); in canReassign()
677 if (!Units.isValid()) in canReassign()
745 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) { in canEvictInterference() local
746 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, *Units); in canEvictInterference()
821 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) { in evictInterference() local
822 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, *Units); in evictInterference()
1663 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) { in calcGapWeights() local
1664 if (!Matrix->query(const_cast<LiveInterval&>(SA->getParent()), *Units) in calcGapWeights()
[all …]
DRegAllocBasic.cpp173 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) { in spillInterferences() local
174 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, *Units); in spillInterferences()
DLiveIntervalAnalysis.cpp316 for (MCRegUnitIterator Units(LI.PhysReg, TRI); Units.isValid(); ++Units) { in computeLiveInRegUnits() local
317 unsigned Unit = *Units; in computeLiveInRegUnits()
666 for (MCRegUnitIterator Units(VRM->getPhys(Reg), TRI); Units.isValid(); in addKillFlags() local
667 ++Units) { in addKillFlags()
668 const LiveRange &RURange = getRegUnit(*Units); in addKillFlags()
970 for (MCRegUnitIterator Units(Reg, &TRI); Units.isValid(); ++Units) in updateAllRanges() local
971 if (LiveRange *LR = getRegUnitLI(*Units)) in updateAllRanges()
972 updateRange(*LR, *Units, 0); in updateAllRanges()
1533 for (MCRegUnitIterator Units(Reg, TRI); Units.isValid(); ++Units) { in removePhysRegDefAt() local
1534 if (LiveRange *LR = getCachedRegUnit(*Units)) in removePhysRegDefAt()
/external/swiftshader/third_party/llvm-7.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.cpp101 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units, ++i) in revalidate() local
102 RegUnits[i].VirtTag = LIUArray[*Units].getTag(); in revalidate()
118 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) { in reset() local
119 RegUnits.push_back(LIUArray[*Units]); in reset()
120 RegUnits.back().Fixed = &LIS->getRegUnit(*Units); in reset()
127 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units, ++i) { in valid() local
130 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()
297 for (MCRegUnitIterator Units(Reg, TRI); Units.isValid(); ++Units) in findInsertionPoint() local
298 LiveRegUnits.erase(*Units); in findInsertionPoint()
305 for (MCRegUnitIterator Units(Reads.pop_back_val(), TRI); Units.isValid(); in findInsertionPoint() local
306 ++Units) in findInsertionPoint()
307 if (ClobberedRegUnits.test(*Units)) in findInsertionPoint()
308 LiveRegUnits.insert(*Units); in findInsertionPoint()
DMachineTraceMetrics.cpp727 for (MCRegUnitIterator Units(Reg, TRI); Units.isValid(); ++Units) { in updatePhysDepsDownwards() local
728 SparseSet<LiveRegUnit>::iterator I = RegUnits.find(*Units); in updatePhysDepsDownwards()
739 for (MCRegUnitIterator Units(Kill, TRI); Units.isValid(); ++Units) in updatePhysDepsDownwards() local
740 RegUnits.erase(*Units); in updatePhysDepsDownwards()
744 for (MCRegUnitIterator Units(UseMI->getOperand(DefOp).getReg(), TRI); in updatePhysDepsDownwards() local
745 Units.isValid(); ++Units) { in updatePhysDepsDownwards()
746 LiveRegUnit &LRU = RegUnits[*Units]; in updatePhysDepsDownwards()
916 for (MCRegUnitIterator Units(Reg, TRI); Units.isValid(); ++Units) { in updatePhysDepsUpwards() local
917 SparseSet<LiveRegUnit>::iterator I = RegUnits.find(*Units); in updatePhysDepsUpwards()
936 for (MCRegUnitIterator Units(Reg, TRI); Units.isValid(); ++Units) { in updatePhysDepsUpwards() local
[all …]
DRegAllocGreedy.cpp812 MCRegUnitIterator Units(PhysReg, TRI); in canReassign() local
813 for (; Units.isValid(); ++Units) { in canReassign()
815 LiveIntervalUnion::Query subQ(VirtReg, Matrix->getLiveUnions()[*Units]); in canReassign()
820 if (!Units.isValid()) in canReassign()
888 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) { in canEvictInterference() local
889 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, *Units); in canEvictInterference()
963 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) { in canEvictInterferenceInRange() local
964 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, *Units); in canEvictInterferenceInRange()
1050 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) { in evictInterference() local
1051 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, *Units); in evictInterference()
[all …]
DRegAllocBasic.cpp212 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) { in spillInterferences() local
213 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, *Units); in spillInterferences()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DRDFRegisters.cpp94 MaskInfos[M].Units = PU.flip(); in PhysicalRegisterInfo()
243 return Units.anyCommon(PRI.getMaskUnits(RR.Reg)); in hasAliasOf()
248 if (Units.test(P.first)) in hasAliasOf()
257 return T.reset(Units).none(); in hasCoverOf()
263 if (!Units.test(P.first)) in hasCoverOf()
271 Units |= PRI.getMaskUnits(RR.Reg); in insert()
278 Units.set(P.first); in insert()
284 Units |= RG.Units; in insert()
293 Units &= RG.Units; in intersect()
302 Units.reset(RG.Units); in clear()
[all …]
DRDFRegisters.h129 return MaskInfos[TargetRegisterInfo::stackSlot2Index(MaskId)].Units; in getMaskUnits()
144 BitVector Units; member
160 : Units(pri.getTRI().getNumRegUnits()), PRI(pri) {} in RegisterAggr()
163 bool empty() const { return Units.none(); } in empty()
226 BitVector Units;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonShuffler.cpp94 unsigned Units = getUnits(); in setWeight() local
95 unsigned Key = ((1u << s) & Units) != 0; in setWeight()
100 if (Key == 0 || Units == 0 || (SlotWeight * s >= 32)) in setWeight()
103 unsigned Ctpop = countPopulation(Units); in setWeight()
104 unsigned Cttz = countTrailingZeros(Units); in setWeight()
167 unsigned Units; member
182 if (!hvxInsts[startIdx].Units) in checkHVXPipes()
185 if ((hvxInsts[startIdx].Units & b) == 0) in checkHVXPipes()
241 unsigned Units = ISJ->Core.getUnits(); in restrictSlot1AOK() local
242 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/cldr/tools/java/org/unicode/cldr/util/data/
DPathHeader.txt164 ### Units
166 //ldml/localeDisplayNames/measurementSystemNames/measurementSystemName[@type="%A"] ; Units ; Measur…
168 …L"]/unit[@type="duration-%T%A"]/displayName ; Units ; Duration ; &date…
169 …L"]/unit[@type="duration-%T%A"]/unitPattern[@count="%A"] ; Units ; Duration ; &date…
170 …L"]/unit[@type="duration-%T%A"]/perUnitPattern ; Units ; Duration ; &date…
172 …L"]/unit[@type="length-%A"]/displayName ; Units ; Length ; &unit(l…
173 …L"]/unit[@type="length-%A"]/unitPattern[@count="%A"] ; Units ; Length ; &unit(l…
174 …L"]/unit[@type="length-%A"]/perUnitPattern ; Units ; Length ; &unit(l…
176 …L"]/unit[@type="area-%A"]/displayName ; Units ; Area ; &unit(are…
177 …L"]/unit[@type="area-%A"]/unitPattern[@count="%A"] ; Units ; Area ; &unit(are…
[all …]
/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/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCodeGenRegisters.cpp1733 if (I->Units == Set.Units) in findRegUnitSet()
1776 unsigned UnitWeight = RegUnits[SubSet.Units[0]].Weight; in pruneUnitSets()
1778 if (isRegUnitSubSet(SubSet.Units, SuperSet.Units) in pruneUnitSets()
1779 && (SubSet.Units.size() + 3 > SuperSet.Units.size()) in pruneUnitSets()
1780 && UnitWeight == RegUnits[SuperSet.Units[0]].Weight in pruneUnitSets()
1781 && UnitWeight == RegUnits[SuperSet.Units.back()].Weight) { in pruneUnitSets()
1801 PrunedUnitSets[i].Units.swap(RegUnitSets[SuperIdx].Units); in pruneUnitSets()
1827 RC.buildRegUnitSet(*this, RegUnitSets.back().Units); in computeRegUnitSets()
1840 for (auto &U : RegUnitSets[USIdx].Units) in computeRegUnitSets()
1852 for (auto &U : RegUnitSets[USIdx].Units) in computeRegUnitSets()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCVSXFMAMutate.cpp318 for (MCRegUnitIterator Units(AddendSrcReg, TRI); Units.isValid(); in processBlock() local
319 ++Units) { in processBlock()
320 unsigned Unit = *Units; in processBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-dwarfdump/X86/
Dverify_unit_header_chain.s6 # CHECK-NEXT: error: Units[1] - start offset: 0x0000000d
9 # CHECK-NEXT: error: Units[2] - start offset: 0x00000026
14 # CHECK-NEXT: error: Units[4] - start offset: 0x00000041
/external/swiftshader/third_party/llvm-7.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()
/external/cldr/tools/java/org/unicode/cldr/util/
DPathHeader.java89 … Display Names"), DateTime("Date & Time"), Timezones, Numbers, Currencies, Units, Characters, Misc( enumConstant
181 … SectionId.Units,
183 … SectionId.Units), Length(
184 … SectionId.Units), Area(
185 … SectionId.Units), Volume(
186 … SectionId.Units), SpeedAcceleration(
187 … SectionId.Units,
189 … SectionId.Units,
191 … SectionId.Units,
193 … SectionId.Units,
[all …]

123456