reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/AsmParser/LLParser.cpp
 3567             Elts, Opc == Instruction::GetElementPtr ? &InRangeOp : nullptr) ||
 3572       if (Elts.size() == 0 ||
 3573           !Elts[0]->getType()->isPtrOrPtrVectorTy())
 3576       Type *BaseType = Elts[0]->getType();
 3586       ArrayRef<Constant *> Indices(Elts.begin() + 1, Elts.end());
 3586       ArrayRef<Constant *> Indices(Elts.begin() + 1, Elts.end());
 3617       ID.ConstantVal = ConstantExpr::getGetElementPtr(Ty, Elts[0], Indices,
 3620       if (Elts.size() != 3)
 3622       if (const char *Reason = SelectInst::areInvalidOperands(Elts[0], Elts[1],
 3622       if (const char *Reason = SelectInst::areInvalidOperands(Elts[0], Elts[1],
 3623                                                               Elts[2]))
 3625       ID.ConstantVal = ConstantExpr::getSelect(Elts[0], Elts[1], Elts[2]);
 3625       ID.ConstantVal = ConstantExpr::getSelect(Elts[0], Elts[1], Elts[2]);
 3625       ID.ConstantVal = ConstantExpr::getSelect(Elts[0], Elts[1], Elts[2]);
 3627       if (Elts.size() != 3)
 3629       if (!ShuffleVectorInst::isValidOperands(Elts[0], Elts[1], Elts[2]))
 3629       if (!ShuffleVectorInst::isValidOperands(Elts[0], Elts[1], Elts[2]))
 3629       if (!ShuffleVectorInst::isValidOperands(Elts[0], Elts[1], Elts[2]))
 3632                  ConstantExpr::getShuffleVector(Elts[0], Elts[1],Elts[2]);
 3632                  ConstantExpr::getShuffleVector(Elts[0], Elts[1],Elts[2]);
 3632                  ConstantExpr::getShuffleVector(Elts[0], Elts[1],Elts[2]);
 3634       if (Elts.size() != 2)
 3636       if (!ExtractElementInst::isValidOperands(Elts[0], Elts[1]))
 3636       if (!ExtractElementInst::isValidOperands(Elts[0], Elts[1]))
 3638       ID.ConstantVal = ConstantExpr::getExtractElement(Elts[0], Elts[1]);
 3638       ID.ConstantVal = ConstantExpr::getExtractElement(Elts[0], Elts[1]);
 3641       if (Elts.size() != 3)
 3643       if (!InsertElementInst::isValidOperands(Elts[0], Elts[1], Elts[2]))
 3643       if (!InsertElementInst::isValidOperands(Elts[0], Elts[1], Elts[2]))
 3643       if (!InsertElementInst::isValidOperands(Elts[0], Elts[1], Elts[2]))
 3646                  ConstantExpr::getInsertElement(Elts[0], Elts[1],Elts[2]);
 3646                  ConstantExpr::getInsertElement(Elts[0], Elts[1],Elts[2]);
 3646                  ConstantExpr::getInsertElement(Elts[0], Elts[1],Elts[2]);