Lines Matching refs:Ops
421 ArrayRef<Constant *> Ops;
424 ConstantExprKeyType(unsigned Opcode, ArrayRef<Constant *> Ops,
429 SubclassData(SubclassData), Ops(Ops), Indexes(Indexes) {}
433 SubclassData(CE->isCompare() ? CE->getPredicate() : 0), Ops(Operands),
444 Ops = Storage;
449 SubclassOptionalData == X.SubclassOptionalData && Ops == X.Ops &&
458 if (Ops.size() != CE->getNumOperands())
462 for (unsigned I = 0, E = Ops.size(); I != E; ++I)
463 if (Ops[I] != CE->getOperand(I))
472 hash_combine_range(Ops.begin(), Ops.end()),
481 return new UnaryConstantExpr(Opcode, Ops[0], Ty);
484 return new BinaryConstantExpr(Opcode, Ops[0], Ops[1],
488 return new SelectConstantExpr(Ops[0], Ops[1], Ops[2]);
490 return new ExtractElementConstantExpr(Ops[0], Ops[1]);
492 return new InsertElementConstantExpr(Ops[0], Ops[1], Ops[2]);
494 return new ShuffleVectorConstantExpr(Ops[0], Ops[1], Ops[2]);
496 return new InsertValueConstantExpr(Ops[0], Ops[1], Indexes, Ty);
498 return new ExtractValueConstantExpr(Ops[0], Indexes, Ty);
500 return GetElementPtrConstantExpr::Create(Ops[0], Ops.slice(1), Ty,
504 Ops[0], Ops[1]);
507 Ops[0], Ops[1]);