reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
3133 if (ParseGlobalValueVector(Elts) || 3140 ID.ConstantStructElts = std::make_unique<Constant *[]>(Elts.size()); 3141 memcpy(ID.ConstantStructElts.get(), Elts.data(), 3142 Elts.size() * sizeof(Elts[0])); 3142 Elts.size() * sizeof(Elts[0])); 3143 ID.UIntVal = Elts.size(); 3148 if (Elts.empty()) 3151 if (!Elts[0]->getType()->isIntegerTy() && 3152 !Elts[0]->getType()->isFloatingPointTy() && 3153 !Elts[0]->getType()->isPointerTy()) 3158 for (unsigned i = 1, e = Elts.size(); i != e; ++i) 3159 if (Elts[i]->getType() != Elts[0]->getType()) 3159 if (Elts[i]->getType() != Elts[0]->getType()) 3162 " is not of type '" + getTypeString(Elts[0]->getType())); 3164 ID.ConstantVal = ConstantVector::get(Elts);