Lines Matching defs:Elts
655 SmallVector<llvm::Constant*, 2> Elts;
657 Elts.push_back(C);
668 Elts.push_back(llvm::UndefValue::get(Ty));
674 return llvm::ConstantStruct::get(STy, Elts);
793 std::vector<llvm::Constant*> Elts;
794 Elts.reserve(NumInitableElts + NumElements);
803 Elts.push_back(C);
807 Elts.resize(NumElements, fillC);
813 for (unsigned i = 0, e = Elts.size(); i < e; ++i)
814 Types.push_back(Elts[i]->getType());
817 return llvm::ConstantStruct::get(SType, Elts);
820 return llvm::ConstantArray::get(AType, Elts);
852 std::vector<llvm::Constant *> Elts;
853 Elts.reserve(NumElements);
858 Elts.push_back(DataArray->getElementAsConstant(i));
862 Elts.push_back(Array->getOperand(i));
878 Elts[i] = fillC;
882 Elts[i] = EmitDesignatedInitUpdater(Elts[i], ChildILE);
884 Elts[i] = CGM.EmitConstantExpr(Init, Init->getType(), CGF);
886 if (!Elts[i])
888 RewriteType |= (Elts[i]->getType() != ElemType);
895 Types.push_back(Elts[i]->getType());
898 return llvm::ConstantStruct::get(SType, Elts);
901 return llvm::ConstantArray::get(AType, Elts);
1256 llvm::Constant *Elts[] = {
1261 return llvm::ConstantStruct::getAnon(Elts);
1409 std::vector<llvm::Constant*> Elts;
1410 Elts.reserve(NumElements);
1422 Elts.push_back(C);
1429 for (unsigned i = 0, e = Elts.size(); i < e; ++i)
1430 Types.push_back(Elts[i]->getType());
1432 return llvm::ConstantStruct::get(SType, Elts);
1437 return llvm::ConstantArray::get(AType, Elts);