Lines Matching defs:arguments
16 // (A) Removes function arguments that are not live,
19 // (C) Removes unneccesary operands, results, region arguments, and region
75 // Set of structures below to be filled with operations and arguments to erase.
242 /// (1) Adding its non-live arguments to a list for future removal.
246 /// (4) Enqueueing the non-live arguments and return values for removal.
256 // Get the list of unnecessary (non-live) arguments in `nonLiveArgs`.
257 SmallVector<Value> arguments(funcOp.getArguments());
258 BitVector nonLiveArgs = markLives(arguments, nonLiveSet, la);
262 for (auto [index, arg] : llvm::enumerate(arguments))
274 // arguments in the func op.
347 /// results or arguments).
355 /// (a) Collecting the uses of its unnecessary arguments (arguments forwarded
358 /// (b) Collecting these unnecessary arguments.
361 /// or arguments).
365 /// - To arguments and results (successor inputs).
375 // Mark live arguments in the regions of `regionBranchOp` in `liveArgs`.
378 SmallVector<Value> arguments(region.front().getArguments());
379 BitVector regionLiveArgs = markLives(arguments, nonLiveSet, la);
555 // Recompute the results and arguments that need to be kept.
580 // Stores the mapping from regions of `regionBranchOp` to their arguments that
593 // Similarly, the live arguments of the regions in `regionBranchOp` definitely
604 // Mark the values (results, arguments, operands, and terminator operands)
642 /// as well as their corresponding arguments.