Lines Matching refs:Elts

1654       SmallVector<Metadata *, 8> Elts;  in ParseMetadata()  local
1660 Elts.push_back(MDValueList.getValueFwdRef(Record[i+1])); in ParseMetadata()
1666 Elts.push_back(MD); in ParseMetadata()
1668 Elts.push_back(nullptr); in ParseMetadata()
1670 MDValueList.AssignValue(MDNode::get(Context, Elts), NextMDValueNo++); in ParseMetadata()
1690 SmallVector<Metadata *, 8> Elts; in ParseMetadata() local
1691 Elts.reserve(Record.size()); in ParseMetadata()
1693 Elts.push_back(ID ? MDValueList.getValueFwdRef(ID - 1) : nullptr); in ParseMetadata()
1694 MDValueList.AssignValue(IsDistinct ? MDNode::getDistinct(Context, Elts) in ParseMetadata()
1695 : MDNode::get(Context, Elts), in ParseMetadata()
2176 SmallVector<Constant*, 16> Elts; in ParseConstants() local
2180 Elts.push_back(ValueList.getConstantFwdRef(Record[i], in ParseConstants()
2182 V = ConstantStruct::get(STy, Elts); in ParseConstants()
2186 Elts.push_back(ValueList.getConstantFwdRef(Record[i], EltTy)); in ParseConstants()
2187 V = ConstantArray::get(ATy, Elts); in ParseConstants()
2191 Elts.push_back(ValueList.getConstantFwdRef(Record[i], EltTy)); in ParseConstants()
2192 V = ConstantVector::get(Elts); in ParseConstants()
2203 SmallString<16> Elts(Record.begin(), Record.end()); in ParseConstants() local
2204 V = ConstantDataArray::getString(Context, Elts, in ParseConstants()
2216 SmallVector<uint8_t, 16> Elts(Record.begin(), Record.end()); in ParseConstants() local
2218 V = ConstantDataVector::get(Context, Elts); in ParseConstants()
2220 V = ConstantDataArray::get(Context, Elts); in ParseConstants()
2222 SmallVector<uint16_t, 16> Elts(Record.begin(), Record.end()); in ParseConstants() local
2224 V = ConstantDataVector::get(Context, Elts); in ParseConstants()
2226 V = ConstantDataArray::get(Context, Elts); in ParseConstants()
2228 SmallVector<uint32_t, 16> Elts(Record.begin(), Record.end()); in ParseConstants() local
2230 V = ConstantDataVector::get(Context, Elts); in ParseConstants()
2232 V = ConstantDataArray::get(Context, Elts); in ParseConstants()
2234 SmallVector<uint64_t, 16> Elts(Record.begin(), Record.end()); in ParseConstants() local
2236 V = ConstantDataVector::get(Context, Elts); in ParseConstants()
2238 V = ConstantDataArray::get(Context, Elts); in ParseConstants()
2240 SmallVector<float, 16> Elts(Size); in ParseConstants() local
2241 std::transform(Record.begin(), Record.end(), Elts.begin(), BitsToFloat); in ParseConstants()
2243 V = ConstantDataVector::get(Context, Elts); in ParseConstants()
2245 V = ConstantDataArray::get(Context, Elts); in ParseConstants()
2247 SmallVector<double, 16> Elts(Size); in ParseConstants() local
2248 std::transform(Record.begin(), Record.end(), Elts.begin(), in ParseConstants()
2251 V = ConstantDataVector::get(Context, Elts); in ParseConstants()
2253 V = ConstantDataArray::get(Context, Elts); in ParseConstants()
2313 SmallVector<Constant*, 16> Elts; in ParseConstants() local
2318 Elts.push_back(ValueList.getConstantFwdRef(Record[OpNum++], ElTy)); in ParseConstants()
2323 cast<SequentialType>(Elts[0]->getType()->getScalarType()) in ParseConstants()
2328 ArrayRef<Constant *> Indices(Elts.begin() + 1, Elts.end()); in ParseConstants()
2329 V = ConstantExpr::getGetElementPtr(PointeeType, Elts[0], Indices, in ParseConstants()