Lines Matching defs:operands

122   // Grab the lattice elements of the operands.
233 SuccessorOperands operands =
236 if (Value operand = operands[idx]) {
259 // Get the incoming successor operands.
260 std::optional<OperandRange> operands;
264 operands = branch.getEntrySuccessorOperands(successor);
265 // Otherwise, try to deduce the operands from a region return-like op.
268 operands = regionTerminator.getSuccessorOperands(successor);
271 if (!operands) {
277 assert(inputs.size() == operands->size() &&
278 "expected the same number of successor inputs as operands");
302 for (auto it : llvm::zip(*operands, lattices.drop_front(firstIndex)))
396 static MutableArrayRef<OpOperand> operandsToOpOperands(OperandRange &operands) {
397 return MutableArrayRef<OpOperand>(operands.getBase(), operands.size());
412 // Block arguments of region branch operations flow back into the operands
420 // Block arguments of successor blocks flow back into our operands.
422 // We remember all operands not forwarded to any block in a BitVector.
431 MutableArrayRef<OpOperand> operands = op->getOpOperands().slice(
433 for (OpOperand &operand : operands) {
454 // operands of the call op that are forwarded to these arguments.
458 // Not all operands of a call op forward to arguments. Such operands are
464 // By default, it just does `visitCallOperand` for all operands.
476 // back to operands whenever possible.
485 // Handle the operands of the call op that aren't forwarded to any
498 // the "successor operands" of this terminator.
502 // successor's input. There are two types of successor operands: the operands
503 // of this op itself and the operands of the terminators of the regions of
513 // Going backwards, the operands of the return are derived from the
545 SmallVector<Attribute> operands(op->getNumOperands(), nullptr);
546 branch.getEntrySuccessorRegions(operands, successors);
548 // All operands not forwarded to any successor. This set can be non-contiguous
553 OperandRange operands = branch.getEntrySuccessorOperands(successor);
554 MutableArrayRef<OpOperand> opoperands = operandsToOpOperands(operands);
562 // All operands not forwarded to regions are typically parameters of the
582 // All operands not forwarded to any successor. This set can be
588 OperandRange operands = terminator.getSuccessorOperands(successor);
589 MutableArrayRef<OpOperand> opOperands = operandsToOpOperands(operands);
596 // Visit operands of the branch op not forwarded to the next region.