Lines Matching refs:Parts
92 std::vector<Record*> Parts = in updateComponents() local
94 if (!Parts.empty()) { in updateComponents()
95 if (Parts.size() < 2) in updateComponents()
99 for (Record *Part : Parts) in updateComponents()
123 ArrayRef<CodeGenSubRegIndex*> Parts) { in setConcatenationOf() argument
125 ConcatenationOf.assign(Parts.begin(), Parts.end()); in setConcatenationOf()
127 assert(std::equal(Parts.begin(), Parts.end(), in setConcatenationOf()
396 SmallVector<CodeGenSubRegIndex*, 8> Parts; in computeSubRegs() local
400 Parts.push_back(getSubRegIndex(SR->ExplicitSubRegs[j])); in computeSubRegs()
405 Idx.setConcatenationOf(Parts); in computeSubRegs()
492 SmallVector<CodeGenSubRegIndex*, 8> Parts; in computeSecondarySubRegs() local
500 Parts.push_back(SubRegIdx); in computeSecondarySubRegs()
503 Parts.push_back(SubIdx); in computeSecondarySubRegs()
506 Parts.clear(); in computeSecondarySubRegs()
512 if (Parts.empty()) in computeSecondarySubRegs()
517 CodeGenSubRegIndex *Concat = RegBank.getConcatSubRegIndex(Parts); in computeSecondarySubRegs()
1304 getConcatSubRegIndex(const SmallVector<CodeGenSubRegIndex *, 8> &Parts) { in getConcatSubRegIndex() argument
1305 assert(Parts.size() > 1 && "Need two parts to concatenate"); in getConcatSubRegIndex()
1307 for (CodeGenSubRegIndex *Idx : Parts) { in getConcatSubRegIndex()
1313 CodeGenSubRegIndex *&Idx = ConcatIdx[Parts]; in getConcatSubRegIndex()
1318 std::string Name = Parts.front()->getName(); in getConcatSubRegIndex()
1321 unsigned Size = Parts.front()->Size; in getConcatSubRegIndex()
1322 unsigned LastOffset = Parts.front()->Offset; in getConcatSubRegIndex()
1323 unsigned LastSize = Parts.front()->Size; in getConcatSubRegIndex()
1324 for (unsigned i = 1, e = Parts.size(); i != e; ++i) { in getConcatSubRegIndex()
1326 Name += Parts[i]->getName(); in getConcatSubRegIndex()
1327 Size += Parts[i]->Size; in getConcatSubRegIndex()
1328 if (Parts[i]->Offset != (LastOffset + LastSize)) in getConcatSubRegIndex()
1330 LastOffset = Parts[i]->Offset; in getConcatSubRegIndex()
1331 LastSize = Parts[i]->Size; in getConcatSubRegIndex()
1333 Idx = createSubRegIndex(Name, Parts.front()->getNamespace()); in getConcatSubRegIndex()
1335 Idx->Offset = isContinuous ? Parts.front()->Offset : -1; in getConcatSubRegIndex()
1336 Idx->ConcatenationOf.assign(Parts.begin(), Parts.end()); in getConcatSubRegIndex()