Lines Matching defs:Ops
514 ArrayRef<Constant *> Ops;
538 ConstantExprKeyType(unsigned Opcode, ArrayRef<Constant *> Ops,
545 SubclassData(SubclassData), Ops(Ops), Indexes(Indexes),
551 SubclassData(CE->isCompare() ? CE->getPredicate() : 0), Ops(Operands),
565 Ops = Storage;
570 SubclassOptionalData == X.SubclassOptionalData && Ops == X.Ops &&
580 if (Ops.size() != CE->getNumOperands())
584 for (unsigned I = 0, E = Ops.size(); I != E; ++I)
585 if (Ops[I] != CE->getOperand(I))
599 hash_combine_range(Ops.begin(), Ops.end()),
612 return new UnaryConstantExpr(Opcode, Ops[0], Ty);
615 return new BinaryConstantExpr(Opcode, Ops[0], Ops[1],
619 return new SelectConstantExpr(Ops[0], Ops[1], Ops[2]);
621 return new ExtractElementConstantExpr(Ops[0], Ops[1]);
623 return new InsertElementConstantExpr(Ops[0], Ops[1], Ops[2]);
625 return new ShuffleVectorConstantExpr(Ops[0], Ops[1], ShuffleMask);
627 return new InsertValueConstantExpr(Ops[0], Ops[1], Indexes, Ty);
629 return new ExtractValueConstantExpr(Ops[0], Indexes, Ty);
631 return GetElementPtrConstantExpr::Create(ExplicitTy, Ops[0], Ops.slice(1),
635 Ops[0], Ops[1]);
638 Ops[0], Ops[1]);