Lines Matching defs:operands
55 // allocate space for exactly two operands
76 // allocate space for exactly three operands
97 // allocate space for exactly two operands
118 // allocate space for exactly three operands
140 // allocate space for exactly three operands
239 // allocate space for exactly two operands
323 operands(ops.begin(), ops.end()), indices(inds.begin(), inds.end()) {}
327 std::vector<Constant*> operands;
333 this->operands == that.operands &&
338 if (this->operands != that.operands) return this->operands < that.operands;
390 // The number of operands for each ConstantCreator::create method is
438 return new UnaryConstantExpr(V.opcode, V.operands[0], Ty);
441 return new BinaryConstantExpr(V.opcode, V.operands[0], V.operands[1],
444 return new SelectConstantExpr(V.operands[0], V.operands[1],
445 V.operands[2]);
447 return new ExtractElementConstantExpr(V.operands[0], V.operands[1]);
449 return new InsertElementConstantExpr(V.operands[0], V.operands[1],
450 V.operands[2]);
452 return new ShuffleVectorConstantExpr(V.operands[0], V.operands[1],
453 V.operands[2]);
455 return new InsertValueConstantExpr(V.operands[0], V.operands[1],
458 return new ExtractValueConstantExpr(V.operands[0], V.indices, Ty);
460 std::vector<Constant*> IdxList(V.operands.begin()+1, V.operands.end());
461 return GetElementPtrConstantExpr::Create(V.operands[0], IdxList, Ty,
470 V.operands[0], V.operands[1]);
473 V.operands[0], V.operands[1]);