Lines Matching refs:Elts
664 SmallVector<llvm::Constant*, 2> Elts; in VisitCastExpr() local
666 Elts.push_back(C); in VisitCastExpr()
677 Elts.push_back(llvm::UndefValue::get(Ty)); in VisitCastExpr()
683 return llvm::ConstantStruct::get(STy, Elts); in VisitCastExpr()
775 std::vector<llvm::Constant*> Elts; in EmitArrayInitialization() local
776 Elts.reserve(NumInitableElts + NumElements); in EmitArrayInitialization()
785 Elts.push_back(C); in EmitArrayInitialization()
798 Elts.resize(NumElements, fillC); in EmitArrayInitialization()
804 for (unsigned i = 0, e = Elts.size(); i < e; ++i) in EmitArrayInitialization()
805 Types.push_back(Elts[i]->getType()); in EmitArrayInitialization()
808 return llvm::ConstantStruct::get(SType, Elts); in EmitArrayInitialization()
811 return llvm::ConstantArray::get(AType, Elts); in EmitArrayInitialization()
1184 std::vector<llvm::Constant*> Elts; in EmitConstantValue() local
1185 Elts.reserve(NumElements); in EmitConstantValue()
1204 Elts.push_back(C); in EmitConstantValue()
1211 for (unsigned i = 0, e = Elts.size(); i < e; ++i) in EmitConstantValue()
1212 Types.push_back(Elts[i]->getType()); in EmitConstantValue()
1214 return llvm::ConstantStruct::get(SType, Elts); in EmitConstantValue()
1219 return llvm::ConstantArray::get(AType, Elts); in EmitConstantValue()