Lines Matching refs:Parts
72 std::vector<Record*> Parts = in updateComponents() local
74 if (!Parts.empty()) { in updateComponents()
75 if (Parts.size() < 2) in updateComponents()
79 for (unsigned i = 0, e = Parts.size(); i != e; ++i) in updateComponents()
80 IdxParts.push_back(RegBank.getSubRegIdx(Parts[i])); in updateComponents()
345 SmallVector<CodeGenSubRegIndex*, 8> Parts; in computeSubRegs() local
347 Parts.push_back(getSubRegIndex(SR->ExplicitSubRegs[j])); in computeSubRegs()
350 RegBank.addConcatSubRegIndex(Parts, ExplicitSubRegIndices[i]); in computeSubRegs()
428 SmallVector<CodeGenSubRegIndex*, 8> Parts(1, I->first); in computeSecondarySubRegs() local
433 Parts.push_back(Idx); in computeSecondarySubRegs()
436 Parts.clear(); in computeSecondarySubRegs()
442 if (Parts.size() <= 1) in computeSecondarySubRegs()
447 CodeGenSubRegIndex *Concat= RegBank.getConcatSubRegIndex(Parts); in computeSecondarySubRegs()
1087 getConcatSubRegIndex(const SmallVector<CodeGenSubRegIndex *, 8> &Parts) { in getConcatSubRegIndex() argument
1088 assert(Parts.size() > 1 && "Need two parts to concatenate"); in getConcatSubRegIndex()
1091 CodeGenSubRegIndex *&Idx = ConcatIdx[Parts]; in getConcatSubRegIndex()
1096 std::string Name = Parts.front()->getName(); in getConcatSubRegIndex()
1099 unsigned Size = Parts.front()->Size; in getConcatSubRegIndex()
1100 unsigned LastOffset = Parts.front()->Offset; in getConcatSubRegIndex()
1101 unsigned LastSize = Parts.front()->Size; in getConcatSubRegIndex()
1102 for (unsigned i = 1, e = Parts.size(); i != e; ++i) { in getConcatSubRegIndex()
1104 Name += Parts[i]->getName(); in getConcatSubRegIndex()
1105 Size += Parts[i]->Size; in getConcatSubRegIndex()
1106 if (Parts[i]->Offset != (LastOffset + LastSize)) in getConcatSubRegIndex()
1108 LastOffset = Parts[i]->Offset; in getConcatSubRegIndex()
1109 LastSize = Parts[i]->Size; in getConcatSubRegIndex()
1111 Idx = createSubRegIndex(Name, Parts.front()->getNamespace()); in getConcatSubRegIndex()
1113 Idx->Offset = isContinuous ? Parts.front()->Offset : -1; in getConcatSubRegIndex()