Lines Matching defs:operands
51 // allocate space for exactly two operands
71 // allocate space for exactly three operands
91 // allocate space for exactly two operands
111 // allocate space for exactly three operands
132 // allocate space for exactly three operands
226 // allocate space for exactly two operands
310 operands(ops.begin(), ops.end()), indices(inds.begin(), inds.end()) {}
314 std::vector<Constant*> operands;
320 this->operands == that.operands &&
325 if (this->operands != that.operands) return this->operands < that.operands;
372 // The number of operands for each ConstantCreator::create method is
413 return new UnaryConstantExpr(V.opcode, V.operands[0], Ty);
416 return new BinaryConstantExpr(V.opcode, V.operands[0], V.operands[1],
419 return new SelectConstantExpr(V.operands[0], V.operands[1],
420 V.operands[2]);
422 return new ExtractElementConstantExpr(V.operands[0], V.operands[1]);
424 return new InsertElementConstantExpr(V.operands[0], V.operands[1],
425 V.operands[2]);
427 return new ShuffleVectorConstantExpr(V.operands[0], V.operands[1],
428 V.operands[2]);
430 return new InsertValueConstantExpr(V.operands[0], V.operands[1],
433 return new ExtractValueConstantExpr(V.operands[0], V.indices, Ty);
435 std::vector<Constant*> IdxList(V.operands.begin()+1, V.operands.end());
436 return GetElementPtrConstantExpr::Create(V.operands[0], IdxList, Ty,
445 V.operands[0], V.operands[1]);
448 V.operands[0], V.operands[1]);
458 std::vector<Constant*> Operands;
459 Operands.reserve(CE->getNumOperands());
461 Operands.push_back(cast<Constant>(CE->getOperand(i)));
462 return ExprMapKeyType(CE->getOpcode(), Operands,