Lines Matching defs:opPos
118 OperationPosition *opPos = cast<OperationPosition>(pos);
121 if (!opPos->isRoot())
153 builder.getAttribute(opPos, cast<StringAttr>(attrName).getValue()));
165 if (opPos->isRoot() || opPos->isOperandDefiningOp())
167 builder.getAllOperands(opPos));
181 ? builder.getOperandGroup(opPos, operandIt.index(), isVariadic)
182 : builder.getOperand(opPos, operandIt.index());
189 builder.getType(builder.getAllResults(opPos)));
555 OperationPosition *opPos = builder.getPassthroughOp(foreachPos);
561 operandPos = builder.getAllOperands(opPos);
566 operandPos = builder.getOperandGroup(opPos, opIndex.index, variadic);
569 operandPos = builder.getOperand(opPos, *opIndex.index);
577 bool inserted = valueToPosition.try_emplace(value, opPos).second;
582 getTreePredicates(predList, value, builder, valueToPosition, opPos,
586 pos = opPos;
590 auto *opPos = dyn_cast<OperationPosition>(pos);
591 assert(opPos && "operations and results must be interleaved");
592 pos = builder.getResult(opPos, *opIndex.index);
599 auto *opPos = dyn_cast<OperationPosition>(pos);
600 assert(opPos && "operations and results must be interleaved");
603 pos = builder.getResultGroup(opPos, opIndex.index, isVariadic);
605 pos = builder.getAllResults(opPos);