Lines Matching refs:Op
100 static MDNodeOperand *getOperandPtr(MDNode *N, unsigned Op) {
102 assert(Op <= N->getNumOperands() && "Invalid operand number");
103 return reinterpret_cast<MDNodeOperand*>(N + 1) + Op;
107 MDNodeOperand *Op = getOperandPtr(this, i);
108 replaceOperand(Op, Val);
120 for (MDNodeOperand *Op = getOperandPtr(this, 0), *E = Op+NumOperands;
121 Op != E; ++Op, ++i) {
122 new (Op) MDNodeOperand(Vals[i]);
126 Op->setAsFirstOperand(1);
142 for (MDNodeOperand *Op = getOperandPtr(this, 0), *E = Op+NumOperands;
143 Op != E; ++Op)
144 Op->~MDNodeOperand();
326 void MDNode::replaceOperand(MDNodeOperand *Op, Value *To) {
327 Value *From = *Op;
351 Op->set(To);