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()
778 std::vector<llvm::Constant*> Elts; in EmitArrayInitialization() local
779 Elts.reserve(NumInitableElts + NumElements); in EmitArrayInitialization()
788 Elts.push_back(C); in EmitArrayInitialization()
801 Elts.resize(NumElements, fillC); in EmitArrayInitialization()
807 for (unsigned i = 0, e = Elts.size(); i < e; ++i) in EmitArrayInitialization()
808 Types.push_back(Elts[i]->getType()); in EmitArrayInitialization()
811 return llvm::ConstantStruct::get(SType, Elts); in EmitArrayInitialization()
814 return llvm::ConstantArray::get(AType, Elts); in EmitArrayInitialization()
1188 std::vector<llvm::Constant*> Elts; in EmitConstantValue() local
1189 Elts.reserve(NumElements); in EmitConstantValue()
1208 Elts.push_back(C); in EmitConstantValue()
1215 for (unsigned i = 0, e = Elts.size(); i < e; ++i) in EmitConstantValue()
1216 Types.push_back(Elts[i]->getType()); in EmitConstantValue()
1218 return llvm::ConstantStruct::get(SType, Elts); in EmitConstantValue()
1223 return llvm::ConstantArray::get(AType, Elts); in EmitConstantValue()